MB-500 : Microsoft Dynamics 365 Finance and Operations Apps Developer : Part 03
-
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 Sales Table 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 demo Extensions model.
Solution: Navigate to the user interface forms node for the Sales Table form and modify the form.
Does the solution meet the goal?
- Yes
- No
Explanation:
Instead navigate to the user interface forms section for the Sales Table 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 Sales Table.
-
HOTSPOT
You are a Dynamics 365 Finance developer.
You need to add a new status named InTransit to the SalesTable.SalesStatus field and use the status in code.
What should you do? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Explanation:Box 1: Create an extension of Sales Status
To modify properties on an existing field in a table, you must first create an extension for the table.Box 2: Sales Status::InTransit
Incorrect Answers:
Overlay: Overlaying code, the now-outdated way to implement customer-specific functionality under Dynamics AX, involved customizing programming within Microsoft’s code and recompiling the application. -
You add a field to the SalesTable table by using an extension.
You need to ensure that the new field is available for use in forms, reports, and code.
What are three possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
- Right-click the table and select Synchronize.
- Navigate to the Dynamics 365 menu and select Synchronize database.
- Right-click the solution and select Synchronize with database.
- Set the project property for Synchronize database on build to true and build the solution.
- Right-click the project and select Synchronize with database.
-
DRAG DROP
An organization uses Visual Studio to develop customizations for Dynamics 365 Supply chain Management.
You need to create an extension for the CustTable form and add the extension to the Visual Studio project.
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.
Explanation:Step 1: In Solution Explorer, drag the CustTable form into the project.
Step 2: In The Application Object Tree (AOT), right-click the CustTable form.
Step 3: Select Create extension.Note: To create an extension (in general terms), follow these steps:
1. In the Application Explorer window, expand the AOT node.
2. Expand the node for the element that you want to extend. For example, in Classic view, extend the Data Models node, and then extend the Tables node to view all available tables.
3. Right-click the element that you want to extend.
4. Select Create extension to add an extension to your current project. Select Create extension in new project if you want to add the extension to a new project. The element will be added to a project in the Solution Explorer window, and it will open in the element designer. -
HOTSPOT
A user reports that a form takes a long time to load. You suspect that the issue relates to a display method.
You need to resolve the issue.
Which actions should you perform? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Explanation:Box 1: Yes
The caching will avoid executing the display method unnecessarily.
To improve the performance of a display method, you can cache the method.Box 2: No
Box 3: No
Box 4: No
-
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 Sales Table 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 demo Extensions model.
Solution: Navigate to the user interface forms section for the Sales Table form and create an extension.
Does the solution meet the goal?
- Yes
- No
Explanation:You can customize model elements by creating extensions.
In Dynamics 365 Finance and Operations, the new fields will need to be added via a table extension. Create the extensions on the Sales Table. -
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 Sales Table 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 demo Extensions model.
Solution: Navigate to the user interface forms section for the Sales Table form and create a customization.
Does the solution meet the goal?
- Yes
- No
Explanation:Instead navigate to the user interface forms section for the Sales Table 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 Sales Table.
-
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets 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 developing a form for Dynamics 365 Finance.
You need to add a button that allows users to run a report.
Solution: Create a command button and link the button to the report by using the button’s object property.
Does the solution meet the goal?
- Yes
- No
Explanation:
You would need to use the on-click property of the command button. -
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 Sales Line Type 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 Sales Line Type and adds the new method.
Solution: You create the following code:
Does the solution meet the goal?
- Yes
- No
-
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 Sales Line Type 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 Sales Line Type and adds the new method.
Solution: You create the following code:
Does the solution meet the goal?
- Yes
- No
-
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 Sales Line Type 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 Sales Line Type and adds the new method.
Solution: You create the following code:
Does the solution meet the goal?
- Yes
- No
-
You have a table in which multiple properties must be changed. Multiple table properties are locked down at the base table and must not be overwritten.
You need to modify the table properties by extending the table.
Which table property can you populate in a table extension by using the property sheet?
- Primary index
- Created by
- Configuration key
- Table group
Explanation:You can now modify the following properties through the property sheet:
– Created By
– Created Date Time
– Modified By
– Modified Date Time
– Country Region CodesNote: There are multiple versions of this question with different correct answers and various combinations of incorrect answers.
Other incorrect answers you may see in the exam include:– Save data per company
– Clustered index
– Cache lookup -
You have an enumeration named truck Status that has the following statuses:
– Empty
– Loaded
– CompletedYou have the following code:
You need to add the following statuses to the enumeration: Quarantine, InTransit
What should you do?
- Add a post handler to the method that checks the enumeration and logic for your new enumeration values using the enumeration value.
- Add a post handler to the method that checks the enumeration and logic for your new enumeration values using a range comparison for your new values.
- Add a new case statement in the model of the existing code.
- 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.
-
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 Sales Table 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 demo Extensions model.
Solution: Navigate to the Visual Studio user interface forms extensions section for the Sales Table form and create an extension.
Does the solution meet the goal?
- Yes
- No
-
You are a Dynamics 365 Finance developer.
You need to create an extension class.
Which action should you perform?
- Decorate the class with the Extension Of attribute.
- Add the class buffer as the first parameter.
- Mark the class as public.
- Mark the class as private.
Explanation:
Extension classes are final classes that are adorned with the Extension Of attribute and that also have a name that has the _Extension suffix. -
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 truck Status that has the following statuses:
– Empty
– Loaded
– CompletedYou 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 a range comparison for your new values.
Does the solution meet the goal?
- Yes
- No
-
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 truck Status that has the following statuses:
– Empty
– Loaded
– CompletedYou 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?
- Yes
- No
-
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 truck Status that has the following statuses:
– Empty
– Loaded
– CompletedYou 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?
- Yes
- No
-
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 Sales Table 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 demo Extensions model.
Solution: Add a new form object to the project and name the form Sales Table.Extension.
Does the solution meet the goal?
- Yes
- No
Explanation:Instead navigate to the user interface forms section for the Sales Table 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 Sales Table.
-
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.