You need to sign in to do that
Don't have an account?
ArunForce
Writing validation rules on custom object by refering custom setting field values
Hi ,
I want to write the validation rules on cstom object.I am atoring some configuration values in customsettings. NowIwanttowritetherulesayingthat 'customobject__c.period__c=$Setup.customsettings__c.period__c'. But it is giving the syntax error. Can we refer the custom setings values inside the validation rules?If not what are the alternatives we have.
Can someone please help me to solve this issue.
thanks,
Arun.
Hi Arun,
Yes you can reference Custom Settings inside validation rules.
Some usage examples are given in the below links:
http://boards.developerforce.com/t5/Formulas-Validation-Rules/Custom-Settings-for-validation-rules/td-p/321879
https://success.salesforce.com/answers?id=90630000000gtEkAAI