Skip to Content

MB-500: What Is the Correct Approach for Extending the InventTable Class in Dynamics 365?

How to Add Methods to an Augmented Class in Dynamics 365 F&O?

Table of Contents

Question

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?

Select only one answer.

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.

Answer

D. Add methods to the augmented class and use your new method from an event handler.

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.

Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 exam and earn Microsoft Dynamics 365: Finance and Operations Apps Developer MB-500 certification.