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
mgodseymgodsey 

Validation rules on master record being checked when saving detail record

I have a custom object called " Deal Desk Form"that is a detail to the Opportunity object. We've just started noticing that when we go to create a new Deal Desk Form, it runs all of the validation rules on the Opportunity before saving. This is not behavior that occurs in any of our sandboxes, except for one which we refreshed and activated today. Is this new behavior that Salesforce deployed recently? Is it expected? We can't figure out why it's happening.

Thanks for any insight!!

Best Answer chosen by Admin (Salesforce Developers) 
_Prasu__Prasu_

Validation rules and workflows are fired when rollup fields are recalculated or updated. And that may casuing validation rule on your master records. For more information check link: https://na5.salesforce.com/help/doc/en/fields_about_roll_up_summary_fields.htm

 

You can try out "Best Practices" section for avoiding this.