You need to sign in to do that
Don't have an account?
suresh143
Pls Give that code
Set the Stage = “New Opportunity” , Probablity = “10%” 3. Do NOT put values in OEM or Total fields.
test script:
Please enter "OEM" field!
2. Please enter "Total Value" field!
Suresh,
Can you be more descriptive? What are you trying to do?
-Glyn
OK - I think you want a trigger that enforces a validation rule: If the opportunity stage is "New Opportunity" and the probability is "10%", then make sure the Total Value and OEM fields have values, otherwise, display error messages. This code does that:
Please let me know if I misunderstood your problem.
If this helps, please mark it as a solution, and give kudos (click on the star) if you think I deserve them. Thanks!
-Glyn Anderson
Certified Salesforce Developer | Certified Salesforce Administrator
You should post this as a new question.