You need to sign in to do that
Don't have an account?
m22baker
Accessing master record field on a detail trigger without SOQL query
I'm attempting to write a trigger for a detail object that will execute based on a custom field on the master object. Is there a way to obtain the value of this field without using an SOQL query? More specifically, I'm writing a trigger for EmailMessage and want to check a custom field for Case.
Thanks.
You'll have to gather together the values of the ParentId field, query those records, then access your custom object.
All Answers
You'll have to gather together the values of the ParentId field, query those records, then access your custom object.
This is what I thought, but just wanted to double-check with the SF experts.
Thanks again