Trigger to update count of child records with custom field of parent object | count of child records on parent for lookup relationship uses of apex trigger in Salesforce

Trigger to update parent object value -- w3web.net

Hey guys, today in this post we are going to learn about how to update count of child records with custom field value into parent object using trigger map list in Salesforce. Real time scenarios:- Write a trigger on parent object where create a custom field as Employee (Number type). If user insert the parent … Read more →

Trigger to update parent records field when child record is updated | update parent field from child using apex trigger

w3web.net -- update parent field from child object

Hey guys, today in this post we are going to learn about How to update the parent record field based on child record trigger in Salesforce custom object Real time scenarios:- Write a trigger on custom object where update parent records field whenever child record is inserted or updated. Create two custom object, both are … Read more →