You need to sign in to do that
Don't have an account?
SFDC n12
Validation rule help needed
Hi,
I need help to write a validation rule for the following requirement
1) I am having a custom lookup field called as DOSApprover_c in my custom object called as "AccountExceptions__c"
2) There is another custom lookup field with account called as "Account__c" in the same custom object
when i select the account and if the account record type is "Group account" only then the field DOSApprover__c should be set mandatory
Help me how to achieve this req validation rule
Thanks in Advance
I need help to write a validation rule for the following requirement
1) I am having a custom lookup field called as DOSApprover_c in my custom object called as "AccountExceptions__c"
2) There is another custom lookup field with account called as "Account__c" in the same custom object
when i select the account and if the account record type is "Group account" only then the field DOSApprover__c should be set mandatory
Help me how to achieve this req validation rule
Thanks in Advance
Mark as best answer if it solves your question
All Answers
Mark as best answer if it solves your question
AND(Account__r.RecordType.Name ='Group Account', ISNULL(DOSUser__c),true,false)
AND(Account__r.RecordType.Name ='Group Account', NOT(ISNULL(DOSUser__c)))
I have to add NOT before DOSUser__c
it worked
Thanks dude