Prevent Record(Account) Deactivation If Active associated records Exist in D365 | Plugin Development – YouTube

Manish chauhanYouTube9 months ago190 Views



Ithis video, I demonstrate how to create a Dynamics 365 plugin that prevents an account from being deactivated if it has active contacts associated with it. We’ll cover:
✅ Registering the plugin in Dynamics 365
✅ Writing C# code to check for active contacts
✅ Handling exceptions and debugging errors
✅ Best practices for Dynamics 365 plugin development
✅  Code link- https://github.com/SrShaan/Plugin-codes/blob/main/Preventaccountdeactivation
📌 If you’re a CRM developer, this tutorial will help you enforce business rules effectively!
 
🔔 Subscribe for more Dynamics 365 tutorials!
 
 
Timestamp:
00:00-00:15 Introduction
00:15-00:50 Use case demo
00:50-01:51 Business case requirement
01:51-06:32 Plugin code writing
06:32-08:10 Plugin registration steps
08:10-08:36 Code testing
08:36-09:38 Code updating and update registration
09:38-10:16 Code Automaton demo

Code: https://github.com/SrShaan/Plugin-codes

#dynamics365 #autonumbering #javascript #powerapps #crm #d365crm #uniqueid #formsoftware #powerautomate #microsoftflow #automation #dataverse #businessprocess #nocode #timeline #sendemail #createemailrecord #dynamics365crm #crm #javascript #howto #formvalidation #powerplatformwork #d365 #dynamics365ce #dataverse #javascript #powerapps #techtutorial #crmdevelopment #Xrm.WebApi #microsoft #microsoftsoftware #microsoftdynamics #microsoftdynamics365 #microsoftdynamicscrm #dataverse #powerautomate #powerappa #erpsoftware #erp #erpsolution #visualstudio #development #d365crm #powerautomateflow #javascript #businesssolutions

source

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
January 2026
MTWTFSS
    1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
« Dec   Feb »
Follow
Search
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...

Discover more from 365 Community Online

Subscribe now to keep reading and get access to the full archive.

Continue reading