Q:
You are working on a project that involves the use of Microsoft Dynamics 365 finance and operations apps. You have created a new class that extends the InventTable.
You need to add methods to the augmented class.
What should you do next?
-
A
Implement the methods directly in the base class.
-
B
Add methods to the base class and use your new method from an event handler.
-
C
Create a new class called InventTable_Handler and create the methods in it.
-
D
Add methods to the augmented class and use your new method from an event handler.
D
Answer:
D
Explanation:
Adding methods to the augmented class and using your new method from an event handler is the correct approach. Adding methods to the base class and using your new method from an event handler is incorrect because the new method should be added to the augmented class. Implementing the methods directly in the base class is not recommended because it can lead to code clutter. Using a third-party tool is not recommended because it may not be compatible with Microsoft Dynamics 365.
Add a table extension to a project - Training | Microsoft Learn
Related Topic:
Share Above MCQ