Loading...

Deactivate Child Records using plug-in

Deactivate Child Records using plug-in

The requirement is to deactivate child records using 1:N association via a plugin in Dynamics CRM. The plugin will trigger upon updating the parent entity, and will check the state code value to determine if it is set to active or inactive. In case it is inactive, the plugin will also deactivate the child records associated with it.

This is a useful feature when we want to have child records aligned with parent entity actions. With the help of this feature, we can create a more streamlined and efficient system.

For a more detailed explanation and steps on how to achieve this requirement, please check out the original post at https://himbap.com/blog/?p=4395.

Published on:

Learn more
HIMBAP | Dynamics 365 Experts
HIMBAP | Dynamics 365 Experts

We are committed to deliver successful Microsoft Dynamics 365 CE solutions. We provide gamut of Microsoft Dynamics 365 CE and Power Platform services.

Share post:

Related posts

Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy