Business events can be a very useful tool for integrating D365 with many outside resources and systems. Microsoft dynamics 365 Finance and Supply Chain notifications can be sent to external systems via Business Events in almost real-time.
The external systems can subsequently take on additional business activities in reaction to the business events. A user’s business activities could be a workflow or non-workflow action. A workflow action would be the approval of a buy requisition, whereas a non-workflow activity would confirm a purchase order.
Some use cases for business events:
It improves communication between the back-office staff and the production team by delivering an event when a production order is created. Third-party applications will notify factory floor personnel, allowing them to speed up the production process.
This enables companies using external warehouses to submit the picking data to the system. A business event triggered by the confirmation or picking of a sales order can be analyzed and determined by external systems (third-party warehouses).
Managers may be informed of new financial reports. Faster interaction and follow-up are made feasible.
How do I enable business events in d365fo?
Go to System administration > Feature management. Select the Business events catalog security feature. Enable the feature. Go to the business events catalog via System administration > Set up > Business events > Business events catalog.
The business events catalog lists all of the system’s business event triggers. The grid contains the following fundamental pieces of data: Catalog, Business event ID, and Name. The field in the catalog serves as a source-location indicator for events.
How do I create a custom event in d365fo?
A unique business event needs three components.
- A contract class that specifies the message's specifics.
- A class for business events that converts data from the D365 object to the contract class.
- The command-chain procedure creates the business event during the relevant operation.
Steps to create custom business events in d365 F&O
Basically, the contract class defines all of the values in the business event message.
The business event class maps data from the D365 object to the business event contract class.
When the sales order packing slip is uploaded, we will refer to the business event. Once you carry out the procedure, The business event batch job will actually process the record through business events batch job d365.
Last but not least, navigate to System administration > Setup > Business events > Business events catalog.
Click Manage > Rebuild business event catalog on the form. By doing this, you’ll get the system to add your freshly generated custom business event to the grid displayed on this form.
As with any other business event, you can now choose, activate, and link the business event to an endpoint.
Bottom line
Some of this capability may necessitate special code, which is made possible by the fact that D365 allows for the development of custom events. After a bespoke Business event has been produced, you can find all the details in the Business events catalog.
For more assistance, DHRP has the finest D365 FO consultants to help you with it. We cover everything you need, from integrating the Power Bi and Microsoft Power Automate to getting you help with the dynamics 365 event grid.