Dynamics 365 – Running JavaScript on Activate and Deactivate
In Dynamics 365, some entities contain the ability to activate and deactivate records. For example, with Accounts: Clicking Deactivate will raise an alert that will prompt the user to Confirm Deactivation: Which then changes the status of the item to Inactive: We can add JavaScript code to the OnSave event of this entity that will tell us when a record status has changed to activated or deactivated. For example: Edit … Continue reading Dynamics 365 – Running JavaScript on Activate and Deactivate