You need to sign in to do that
Don't have an account?
ai501.3910110299805757E12
How to update child record by updating parent record
How to update child record by updating parent record
eg:- If i update phone in contacts then it must update it in account .
How can i do it??
eg:- If i update phone in contacts then it must update it in account .
How can i do it??
Ref : http://developer.force.com/cookbook/recipe/mass-updating-contacts-when-an-account-changes
Mark it as solution if it really helps u.
Regards,
Subramani
Trinay technology Solutions
If you specificly want to update all childs , by updating parent record then write a trigger on parent and the trigger criteria should be after/before update.
To update the parent object based on an event in child object you need to use relationship queries. Please find the below example that would help you in accomplishing your requirement http://salesforce.stackexchange.com/questions/23338/trigger-to-update-parent-object-value-with-child-value