function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hhasslerhhassler 

Need help with writing syntax for opportunity validation rules

Hello! I have been through the validation rules training on Salesforce, and contacted Salesforce Customer Support for help with my syntax on two opportunity validation rules. They directed me here for help.  Here are the two rules I want to develop -- will you please help an provide me with the correct syntax for each?  Thanks! Heidi

 

1)      IF Program Type = TalentVine THEN MRR Yr1 = 5,000   (Note about rule: 5,000 should be the default value and not a locked in value. Users should be able to change)

 

2)      IF Stage = 2: Solution Identified OR 3: Proposal OR 4: Purchase OR Closed Won THEN Implementation Revenue PLUS MRR Yr1 (Note: logic should allow for field entered to either just be implemenation revenue, just MRR Yr1, or both have values.   The logic should all 3 of these options, and end goal it that the sum of the two must be > then 0)

imuino2imuino2

Check this page

http://wiki.developerforce.com/index.php/Documentation

go to Code and Formula Samples chekc for the validation rules pdf.

 

I hope you find something useful there.

Thanks.

Ignacio.