You need to sign in to do that
Don't have an account?
motu
Rule to Ensure One Contact required for an Account Record?
Is there any way that I can set up an Account validation rule to ensure that one Contact record is created for an Account if Type equals Prospect or Customer? I actually wanted to create an Opportunity validation rule to ensure that there is one contact for the related Account of the Opportunity. I could not see a way.
Thank you. I downloaded this app, made the mods and it worked like a charm. Only problem is that I need to use this only for one record type. I tried to add the record type to the formula using IF but I am doing something wrong. Any idea what? Here is what I have:
CASE( StageName , "Stage to be Required 1", 1, "Budgetary Quote Presented", 1, "Application Submitted", 1, "Application Completed", 1, "Quote/Prodef Completed", 1, "Samples Approved/Accepted", 1, "Finalizing Product Specifications", 1, "Negotiation/Review", 1, "Open", 1, "Won Order, PO Pending", 1, "Closed Lost", 1, "Closed Won", 1, "Project on Hold", 1, "Project Identified and Qualified", 1, 0)
IF($RecordType.Id "01250000000DcDc",1,0)
Think it should be:
IF($RecordType.Id = "01250000000DcDc",1,0)
or
IF(RecordTypeId = "01250000000DcDc",1,0)
No go:
CASE( StageName , "Stage to be Required 1", 1, "Budgetary Quote Presented", 1, "Application Submitted", 1, "Application Completed", 1, "Quote/Prodef Completed", 1, "Samples Approved/Accepted", 1, "Customer Visit to FOBA", 1, "Finalizing Product Specifications", 1, "Negotiation/Review", 1, "Won Order, PO Pending", 1, "Closed Lost", 1, "Closed Won", 1, "Project on Hold", 1, "Project Identified and Qualified", 1, 0) IF($RecordType.Id = "01250000000DcDc",1,0)
Try this:
CASE( StageName , "Stage to be Required 1", 1, "Budgetary Quote Presented", 1, "Application Submitted", 1, "Application Completed", 1, "Quote/Prodef Completed", 1, "Samples Approved/Accepted", 1, "Customer Visit to FOBA", 1, "Finalizing Product Specifications", 1, "Negotiation/Review", 1, "Won Order, PO Pending", 1, "Closed Lost", 1, "Closed Won", 1, "Project on Hold", 1, "Project Identified and Qualified", 1, 0) && RecordTypeId = "01250000000DcDc"
I tried but go this message (Note that without the record type section, the formula works):
Error: Incorrect parameter for function and(). Expected Boolean, received Number