Tag Archives: plug-in sample code

Deactivate Child Records using plug-in

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 »