Free MB-500 Exam Braindumps (page: 23)

Page 23 of 66
View Related Case Study

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.

You must extend the class SalesLineType and add a new method that returns the day of week for the system’s current date as an integer value.

You need to create a class that extends SalesLineType and adds the new method.
Solution: You create the following code:


Does the solution meet the goal?

  1. Yes
  2. No

Answer(s): B



View Related Case Study

You are a Dynamics 365 Finance developer. You have the following Extended Data Types (EDTs):



You plan to modify properties of the EDTs by using an extension.
You need to determine which operations can be performed.
Which operation is possible?

  1. Create an extension for AccountBase and decrease the field size.
  2. Create a derived EDT for AccountBase and increase the field size.
  3. Create an extension for AccountId and increase the field size.
  4. Create an extension for AccountBase and modify the Form Help property.

Answer(s): D



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. Add the suffix _myextension to the file name.

Answer(s): A

Explanation:

Extension classes are final classes that are adorned with the ExtensionOf attribute and that also have a name that has the _Extension suffix.
Because the classes are instantiated by the runtime system, it's not meaningful to derive from the extension class. Therefore, the extension class must be marked as final.


Reference:

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



View Related Case Study

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. Create a new enumeration to add the MUV element.
Does the solution meet the goal?

  1. Yes
  2. No

Answer(s): A

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.
Note:
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 extension.


Reference:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/add-enum-value



Page 23 of 66



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

the coder1 commented on December 11, 2024
It helped alot
UNITED KINGDOM
upvote

Ek commented on June 29, 2024
It helped alot
INDIA
upvote

Tom commented on March 18, 2022
i purchased this exam dumps from another website with way more questions but they were all invalid and outdate. this exam dumps was right to the point and all from recent exam. it was a hard pass.
UNITED KINGDOM
upvote

Tom commented on March 18, 2022
I purchased this exam dumps from another website with way more questions but they were all invalid and outdate. This exam dumps was right to the point and all from recent exam. It was a hard pass.
UNITED KINGDOM
upvote

Eddie commented on September 20, 2021
These notes are pretty informative along with the questions. I helped a lot.
UNITED STATES
upvote