Request: Could you add support when deactivating/activating?


Could you please extend this to include deactivation (and activation) of child records? In our system only some users can delete records, but the majority can only deactivate them.

Thank you!

file attachments


preitmeyer wrote Feb 27, 2014 at 10:24 PM

Use the attached DLL to update your code, this will allow the functionality you've requested

preitmeyer wrote Feb 27, 2014 at 10:26 PM

In the event you don't know how to update the DLL, download the CRM 2011 SDK, extract it and use the Plugin Registration Tool to connect to your CRM Implementation. Load the current plugins, and click "Update" at the top of the Generic CRM Rollup plugin. Choose the new DLL I posted above, select Sandbox mode and press Update. This will now only count records that have a statecode = 0 (meaning active) and will fire on DeActivate and Activate by default.