Exams > Microsoft > MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer
MB-500: Microsoft Dynamics 365: Finance and Operations Apps Developer
Page 3 out of 18 pages Questions 21-30 out of 175 questions
Question#21

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 have an enumeration named truckStatus that has the following statuses:
✑ Empty
✑ Loaded
✑ Completed
You have the following code:

You need to extend this enumeration and add the following statuses to the enumeration: Quarantine, InTransit. You must then modify code that validates the switch statement.
Solution: Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the integer value of the enumeration.

Does the solution meet the goal?

  • A. Yes
  • B. No
Discover Answer Hide Answer

Answer: B

Question#22

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 have an enumeration named truckStatus that has the following statuses:
✑ Empty
✑ Loaded
✑ Completed
You have the following code:

You need to extend this enumeration and add the following statuses to the enumeration: Quarantine, InTransit. You must then modify code that validates the switch statement.
Solution: Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the enumeration value.

Does the solution meet the goal?

  • A. Yes
  • B. No
Discover Answer Hide Answer

Answer: A

Question#23

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 are adding a new field to the SalesTable form.
You must use an extension to add a status field onto the form.
You need to create the extension in the Application Object Tree (AOT) and add the extension to the demoExtensions model.
Solution: Add a new form object to the project and name the form SalesTable.Extension.
Does the solution meet the goal?

  • A. Yes
  • B. No
Discover Answer Hide Answer

Answer: B
Instead navigate to the user interface forms section for the SalesTable form and create an extension.
Note: In Dynamics 365 Finance and Operations, the new fields will need to be added via a table extension. Create the extensions on the SalesTable.
Reference:
https://stoneridgesoftware.com/how-to-extend-sales-order-update-functionality-to-custom-fields-in-d365-finance-and-operations/

Question#24

DRAG DROP -
You are a Dynamics 365 Finance developer for a company that sells pre-owned vehicles. When the company acquires a new vehicle, vehicle identification (VIN) numbers are added to the VIN field in the CustTable.
You need to create an event handler to validate that new VIN values are at least 10 characters long. Validation must occur when records are saved.
Which three 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.
Select and Place:

Discover Answer Hide Answer

Answer:
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/customization-overlayering-extensions

Question#25

HOTSPOT -
A company is implementing Dynamics 365 Finance. Vendors receive a risk rating that is determined by their on-time delivery performance as well as their credit rating.
You need to implement the following risk rating functionality:
✑ The risk rating must accompany the credit rating when the credit rating is used.
✑ The risk rating must be able to be used in other areas of the solution to determine processing outcomes.
✑ The risk rating must consist of the following values:
1 = Good
2 = Medium
3 = Risky
The risk rating must be displayed in the Miscellaneous Details tab below the Credit Rating and Credit Limit fields in the Vendor form.

What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Discover Answer Hide Answer

Answer:
Box 1: Create a new enum base data type.
An enum is a list of literals.

Box 2: Create a table extension -
After base enums and EDTs are created, they are usually added to a table to enable data capture.

Box 3: Use a field group -
Field and Field Groups is the most common data entry subpattern and uses a dynamic number of columns to present multiple fields or groups of fields.
The group controls within this pattern can be used either to group fields under a label or to bind to a table field group.
Reference:
https://docs.microsoft.com/en-us/learn/modules/build-edt-enums-finance-operations/ https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/user-interface/fields-field-groups-subpattern

Question#26

A company has an extension that makes changes to a base form.
You need to identify all extension changes made to the base form.
What are two possible ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. In the search bar on the form extension element, enter the text c:.
  • B. In the search bar on the base form, enter the text e:.
  • C. Right-click the base form and select view references.
  • D. In the search bar on the form extension element, enter the text e:.
  • E. In the search bar on the base form, enter the text c:.
Discover Answer Hide Answer

Answer: CD
C: Customization and Extension -

D: Example: Navigate to FMRental.Extension in the Tree Designer
1. In the Visual Studio, in Solution Explorer, in the FleetManagement Discounts project, expand User Interface > Form Extensions.

The FMRental.Extension element is an extension element that extends the functionality of the FMRental form by adding two new data sources and a new tab control.
2. In Solution Explorer, double-click FMRental.Extension to open the designer.

3. In the designer's search box, type 'e:' as shown in the image below. This filters the current designer to only show nodes that belong to the current extension.

Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/customize-model-elements-extensions

Question#27

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?

  • A. Yes
  • B. No
Discover Answer Hide Answer

Answer: B

Question#28

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?

  • A. Create an extension for AccountBase and decrease the field size.
  • B. Create a derived EDT for AccountBase and increase the field size.
  • C. Create an extension for AccountId and increase the field size.
  • D. Create an extension for AccountBase and modify the Form Help property.
Discover Answer Hide Answer

Answer: D

Question#29

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

  • A. Mark the class as final.
  • B. Add the class buffer as the first parameter.
  • C. Add the suffix .extension to the file name.
  • D. Add the suffix _myextension to the file name.
Discover Answer Hide Answer

Answer: A
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

Question#30

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?

  • A. Yes
  • B. No
Discover Answer Hide Answer

Answer: A
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

chevron rightPrevious Nextchevron right