Q
The development team is working on a Microsoft Dynamics 365 finance and operations apps implementation. They need to implement a feature that automatically adjusts inventory levels based on purchase orders by creating a journal.
You need to create a class that encapsulates the inventory adjustment logic with minimal performance impact.
What should you do? Each correct answer presents part of the solution. Choose two)
Question Info
Choose the Best Option
Click any option to instantly check if you're correct.
Explanation
Wrong: Create a batch job that periodically adjusts inventory levels based on purchase orders.
Wrong: Modify the base inventory class directly to include the new adjustment logic.
Wrong: Use an event handler on the purchase order form to adjust inventory when a new order is placed.
Creating a new class or extending an existing class are both appropriate ways to add functionality without impacting the performance of the system. Modifying the base class directly is not recommended as it can lead to issues during updates and maintenance. Creating a batch job would not be real-time and could lead to performance issues if not managed correctly. Using an event handler on the purchase order form does not encapsulate the logic in a class, which was the requirement.
Extension points for frameworks - Training | Microsoft Learn
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
Nice — 3 questions done!
Don't lose this streak. Sign up free to save your score and pick up exactly where you stopped.
Share This Question
Challenge a friend or share with your study group.