+ Start a Discussion

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???
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.
Thanks, i do have rollup summary field there.