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
MC-DragnierMC-Dragnier 

Account Validation Triggering on Opportunity

I have a validation rule on the account level to validate that the billing state is two characters long (enforcing the state abbreviation model) that is also triggering on the opportunity level. So our people don`t have to navigate away from all the data they entered into the op to fix the address, is there a way for me to allow those address fields to be updated on the account page or ensure that the rule won`t trigger from the opportunity too?

Thanks!
Starz26Starz26

Since the opportunity is updating the account either due to trigger or relationship then not really.

 

The whole point of validation rules is to ensure data integrity.

 

When I have this occur, I tell the reps to right click on the account tab, select open in new tab. Then find the account and correct the issue.. close the tab. then save the opportunity.

 

that way the data they entered is preserved and they can save it.