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
More About This Author
Array
Dyn365CE2023.01.26Configuration Migration Tool Filter Updates and the Power Apps Portal
Dyn365CE2023.01.25Marketing Form and required (mandatory) fields in Lead and Contact – Dynamics 365 Marketing
Dyn365CE2023.01.25Sample formula for Associating N:N records and Creating 1:N records in Canvas App (PowerApps / Dataverse)
Dyn365CE2023.01.24How duplicate phone numbers for customers (contact/account) are handled in Voice Channel (Dynamics 365 Omnichannel for Customer Service)