nerdexam
Microsoft

MB-500 · Question #155

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might…

The correct answer is B. No. To add new values to an enum, you should extend the enum. Any enum that is marked as Extensible (IsExtensible = true) can be extended. There are two ways to extend an enum: Create a project that has a model reference where you want the new enum extension. Right- click the enum…

Design and develop AOT elements

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. A company uses Dynamics 365 finance and operations apps. You have a custom enumeration named CarType. The enumeration has the following elements: Sedan, SUV. You must extend CarType and add a new element named MUV to CarType. You need to develop a solution that meets the requirements. Solution: Set the is Extensible property to true for the CarType enumeration. Add the MUV element to the CarType base enumeration. Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(25 responses)
  • A
    12% (3)
  • B
    88% (22)

Explanation

To add new values to an enum, you should extend the enum. Any enum that is marked as Extensible (IsExtensible = true) can be extended. There are two ways to extend an enum: * Create a project that has a model reference where you want the new enum extension. Right- click the enum to extend, and then select Create extension. * Right-click the enum to extend, and then select Create extension in new project. You're prompted to select the model that the extension enum should be created in. The enum extension is created in the selected model. You can add new enum values to this https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/add-enum-

Topics

#custom enumeration#AOT elements#enum extensibility#D365 Finance

Community Discussion

No community discussion yet for this question.

Full MB-500 Practice