is it possible to populate parent object field when child record is created without using triggers? I have email id field in account object and there are multiple email address which are stored in custom object and added as child to account object.Whenever someone change the type of email address from public to private i need to update parent object accordingly
2 Answers
Yes you can do this by using cross object field updates.
It depends on your exact use case how the details need to be filled. E.g. you could check for a 'type' change to private, in combination with a check on equality between the email address on custom object and account. If they are equal, set the Account level field to empty.
-
2It should also be noted that this will only work if the relationship between the two objects is a Master-Detail relationship. There are also additional caveats. Not all Standard Object -> Custom Object Master-Detail relationships, and very few Standard Object -> Standard Object Master-Detail relationships, support cross-object field updates. More exact details are provided in the link to the documentation given in the answer.– Derek FFeb 1, 2016 at 14:37