How to do it...

To write a solution to read the Service Bus, follow these steps:

  1. First, create an enum named ConPIInboundActionType. This will form the type of action. Label this Inbound action.
  2. Add an element named ActivateBillOfMaterials.
  3. Create a string Extended Data Type (EDT) named ConPIInboundActionId and extend Num and with a label.
  4. Create a table named ConPIInboundActionTable.
  5. Add the following fields:
Name EDT/Enum
ActionId ConPIInboundActionId
Name Name
ActionType ConPIInboundActionType
ServiceBusQueueName BusinessEventsServiceBusQueueEndpointQueueName
ConnectionString SysConnectionString
  1. Add a field group for Overview (ActionId, Name, or ActionType).
  2. Add a field group for ConnectionDetails (ServiceBusQueueName ...

Get Extending Microsoft Dynamics 365 Finance and Supply Chain Management Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.