Deactivate Child Records using plug-in
Mahender
November 30, 2022 No Comments on Deactivate Child Records using plug-in
![](https://himbap.com/blog/wp-content/uploads/2022/11/code-1839406_640-176x176.jpg)
Requirement Deactivate child records using 1:N association using plugin. Details Sometimes we want to deactivate/activate records based on the Parent record deactivation/activation. We cam achieve this requirement writing plugin on the update of the parent entity where we can check statecode value wheather it’s 0 or 1 (Most of the activities have two states 0- Active, 1- Inactive) but we… Read more »