Single Choice Moderate

Q

The development team is working on a Microsoft Dynamics 365 finance and operations apps implementation. They need to implement a custom business logic that will be triggered whenever a sales order is updated.

You need to ensure that the custom business logic can be executed without modifying the base SalesTable class.

What should you do?

ID: #22609 Exam MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer 124 views
Question Info
#22609Q ID
ModerateDifficulty
Exam MB-500: Microsoft Dynamics 365: Finance and Operations Apps DeveloperTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Use a display method on the SalesTable form to invoke the custom business logic when the form is refreshed. ✔ ✖
  • B Directly modify the update method of the SalesTable class to include the custom business logic. ✔ ✖
  • C Create a new class that inherits from the SalesTable class and override the update method. ✔ ✖
  • D Create a class extension for the SalesTable class and add a post-event handler for the update method. ✔ ✖
Correct Answer

Explanation

The correct answer is to create a class extension and add an event handler, which allows custom code to be executed without altering the original class, adhering to best practices for extensibility. Modifying the base class directly is not recommended as it can lead to issues during updates and maintenance. Creating a new class that inherits from the SalesTable class is unnecessary for this scenario and could complicate the system. Using a display method on the form is not appropriate for executing business logic tied to data updates.

Manage metadata by using the Application Explorer - Training | Microsoft Learn

Today: 0 answered · 0 correct
Save progress
Free account

Want to remember what you got wrong?

Create a free account in seconds to track your score, revisit mistakes and continue X++ Programming Language where you left off.

  • Save your progress & streak
  • Topic-wise quizzes & scores
  • Bookmark tricky questions
  • Printable MCQ sets
Practice smarterFree account · save progress
Sign up free

Share This Question

Challenge a friend or share with your study group.

Related MCQ Questions