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
HareHare 

Update checkbox on parent when any of it's child records are updated deleted

Please find below link me also ave sae requirment but addtionally delete also please help on is
http://salesforce.stackexchange.com/questions/40701/update-checkbox-on-parent-when-any-of-its-child-records-are-updated
 
sandeep sankhlasandeep sankhla
Hi, 

You can simply get the ids while deleting..same code will work for you..you need to just add before delete event in trigger..then before delete your trigger will fire and you will get the parent id from child records which you will collect in a list or set..

Then you can query those records and update the checkbox..

Please check and let me know if you need any help..

Thanks,
Sandeep