Extending Microsoft Dynamics 365 Finance and Supply Chain Management Cookbook - Second Edition
by Simon Buxton
How it works...
This recipe is relatively straightforward. It simply states that the business event is to be sent to the Azure Service Bus queue. At this point, the event is active, and every time we approve a Bill of materials, the event will be processed.
When looking at the event in the business events workspace, you may notice that the right pane contains the details of data contract we created, and from this we can also click Download Schema. This doesn't, at this point, download a schema. It downloads an instance of the serialized data contract with default values. In our case, it is not useful as the Bill of materials lines section is a null object; again, it is not a schema but a sample JSON file with no values.
The last recipe can ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access