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
CTU007CTU007 

when i tried to close an opportunity, the account validation rule triggered???

Hi, I have a validation rule in account which requires that for a customer type account, a "codename" is requried.
 
When i tried to change the opportunity stage to "closed not required", it gives an error that "a codename is required"....
 
This seems to be odd... updating the opportunity will trigger the validation rule in account???
 
KristinFKristinF
Yes, updating the opportunity can result in the firing of account logic (i.e. validation rules).  This happens when your update to the opportunity also changes the account -- my guess is that you have a roll-up summary field on the Account (to Opp) that is being updated as a result of your update to the opportunity.
CTU007CTU007
Thanks, i do have rollup summary field there.