nerdexam
Microsoft

MB-500 · Question #383

MB-500 Question #383: Real Exam Question with Answer & Explanation

The correct answer is B. BusinessEventsContract C. BusinessEventsBase. To implement a business event for posted sales invoices in Dynamics 365 Supply Chain Management, you must create a BusinessEventsBase class to handle the event's logic and a BusinessEventsContract class to define the data payload. You also need to create a method within your busi

Question

You are creating custom functionality for Dynamics 365 Supply Chain Management. You must send a notification when sales invoices are posted in the system. You need to implement a business event. Which two classes should you implement? Each correct answer presents part of the solution. (Choose two.) NOTE: Each correct selection is worth one point.

Options

  • ABusinessEventsEndpoint
  • BBusinessEventsContract
  • CBusinessEventsBase
  • DBusinessEventsDataEvent

Explanation

To implement a business event for posted sales invoices in Dynamics 365 Supply Chain Management, you must create a BusinessEventsBase class to handle the event's logic and a BusinessEventsContract class to define the data payload. You also need to create a method within your business logic that publishes the event and use a BizEventSalesInvoicePosted or similar event ID for the business event catalog. [C] BusinessEventsBase class: This is the primary class for your custom business event. It extends the BusinessEventsBase class. This class is where you'll write the logic to: Construct the business event. Build the data that will be sent with the event (the payload). Send the business event to consumers. [B] BusinessEventsContract class: This class defines the structure of the data (the payload) that the event will carry. It extends the BusinessEventsContract class. At runtime, this class is populated with the actual data to be sent https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/business-events/business-

Community Discussion

No community discussion yet for this question.

Full MB-500 Practice