Warning: Undefined array key "Play" in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-content/themes/Nexus/epanel/custom_functions.php on line 1812

Warning: Trying to access array offset on value of type null in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-content/themes/Nexus/epanel/custom_functions.php on line 1812

Warning: Undefined array key "Play" in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-content/themes/Nexus/epanel/custom_functions.php on line 1826

Warning: Trying to access array offset on value of type null in /homepages/7/d756825262/htdocs/clickandbuilds/365Community/wp-content/themes/Nexus/epanel/custom_functions.php on line 1826
Plugin on Pre-Validation Stage in Dynamics 365 CE – Nishant Rana's Weblog - 365 Community

Plugin on Pre-Validation Stage in Dynamics 365 CE – Nishant Rana’s Weblog

Recently we had a requirement to delete the Account record without deleting the associated Contact records.

If we try deleting the account record we’d get the following message box

The relationship definition can’t be updated as well to achieve this

So, we wrote a plugin on the pre-validation stage of pre-delete event of Account, which will retrieve and loop through all the child contact records and set its parent customer field as null.

In case of pre-operation the child records…

Continue Reading Nishant Rana’s Article on their blog

Plugin on Pre-Validation Stage in Dynamics 365 CE – Nishant Rana’s Weblog

Blog Syndicated with Nishant Rana’s Permission

Author: Nishant Rana

Share This Post On