Free MB-500 Exam Braindumps
Microsoft Dynamics 365: Finance and Operations Apps Developer Questions 126–130 (page: 27)

Updated On: 10-Feb-2026
View Related Case Study

DRAG DROP (Drag and Drop is not supported)
A business needs a free-text field on the All customers form to enter notes about shipment requests. The field must allow users to enter a large number of characters.

You need to create a new extended data type (EDT) for the form.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Step 1: Create a new EDT type of string.
Extended data types are user-defined types that are based on the boolean, int, int64, real, str, and date primitive data types, and on the container composite type. An EDT is a primitive data type or container that has a supplementary name and additional properties. For example, you can create a new EDT that is named Name and base it on a string. You can then use the new EDT in variable and field declarations in the development environment.

Incorrect
* anytype
The anytype data type is a placeholder for any data type. You should use variables of this type only as arguments and return values.

To use anytype as a variable, you must first assign a value to it, otherwise, a run-time error occurs. After you've assigned a value to anytype, you can't convert it to another data type.

Step 2: Change the length property on the new EDT note.
An example of an EDT is Name. Should we change the StringSize property of this field, all fields based on this EDT will be adjusted; and if we reduce the size, it will truncate the values to the new size.

Step 3: Add the new field to the CustTable.
CustTable is in the Common Data Model.
Customers in Main(CustTable)
Latest version of the JSON entity definition is available on GitHub.

Step 4: Extend the All customers form and add the new EDT field.


Reference:

https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-data-edt
https://learn.microsoft.com/en-us/common-data-model/schema/core/operationscommon/tables/common/customer/main/custtable



View Related Case Study

You create a new interface class in Dynamics 365 Finance. The class has two methods.

You need to create a valid interface class.
Which two actions should you perform? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

  1. Declare the class and all its methods as public.
  2. Implement only some methods in the classes that implement the interface.
  3. Implement the class as abstract.
  4. Declare all methods in the classes that implement the interface.

Answer(s): A,D

Explanation:

A: An interface specifies a set of public instance methods. An interface defines and enforces similarities between unrelated classes without having to derive one class from the other.

All interfaces are public, even if you don't explicitly add the public keyword in front of the interface keyword in interface declaration. The methods on an interface are also public. Explicit inclusion of the keyword public is optional.

D: When you add the implements keyword on a class declaration, the class must declare and define the methods that are specified by the interface. A class declaration can implement multiple interfaces. List the interfaces after the single occurrence of the implements keyword, and separate the interface names by using commas.

All interface methods that a class implements must be explicitly declared as public. A class that implements an interface must also be declared as public. An interface can extend another interface by using the extends keyword, however, an interface can't extend more than one interface.

It is customary to preface the name of an interface with I.


Reference:

https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-interfaces



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You need to create a chain of command method for inserting the data on the table for the new fields.
How should you complete the code? To answer, select the appropriate configuration in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: [ExtensionOf(ClassStr(WHSTmpStatusChange))]
An extension class must belong to a package that references the model where the augmented class is defined.

Box 2: final
The keyword 'final' needs to be used in the class definition line.
Example:
[ExtensionOf(classStr(BusinessLogic1))]
final class BusinessLogic1_Extension

Box 3: next insert();
Wrapper methods must always call next
Wrapper methods in an extension class must always call next, so that the next method in the chain and, finally, the original implementation are always called. This restriction helps guarantee that every method in the chain contributes to the result.
Box 4: InventSum.InventBatchID = thisNewInventBatchID;
Use element.FormToExtendVariable to access form's variables and datasources


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc



View Related Case Study

DRAG DROP (Drag and Drop is not supported)
A company uses Dynamics 365 Finance.
You create a new extension for a standard table.
You need to add a new method in the extension.

Which five actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Step 1: Create a new project in Visual Studio.

Step 2: Add a new class to the Visual Studio project with the _Extension suffix.
You first create a new class in the extension model.
This class will augment the table, and enable access to the table's fields and methods in a manner that is easy to read and understand. It's important that you choose the correct name for your augmentation class.

Step 3: Set the class as final.

There are a few rules for augmentation classes:

They must be final.
They must be suffixed by _Extension.
They must be decorated with the [ExtensionOf()] attribute.

Step 4: Decorate the class with the [ExtensionOf(tableStr(TableName))] attribute.

Example:
[ExtensionOf(tableStr(InventTable))]
final class InventTableMy_Extension
{
public void myDefaultInventLocationId()
{
// This would have partner specific logic to initialize the new field.
this.MyInventLocationId = this.inventLocationId();
}
}

Step 5: Add a new method to the class and implement it.
You can now add new methods to the augmentation class. These methods will then appear in IntelliSense for variables of the InventTable type, just as if they were defined directly on the table. This behavior applies to both static methods and instance methods.


Reference:

https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/add-method-table



View Related Case Study

You are a Dynamics 365 Finance developer.
You need to create an extension class.
Which action should you perform?

  1. Mark the class as final.
  2. Add the class buffer as the first parameter.
  3. Add the suffix .extension to the file name.
  4. Mark the class as public.

Answer(s): A

Explanation:

You first create a new class in the extension model.
There are a few rules for augmentation classes:

They must be final (not public!).
They must be suffixed by _Extension (not in the file name!)
They must be decorated with the [ExtensionOf()] attribute.


Reference:

https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/add-method-table



Viewing page 27 of 54
Viewing questions 131 - 135 out of 399 questions


Post your Comments and Discuss Microsoft MB-500 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!