Practice Free MB-500 Exam Online Questions
DRAG DROP
You use Dynamics 365 Finance.
You must loop through the customers table and display in the Ul the customer account numbers that meet the following requirements:
• Include the first 100 customers.
• The account numbers must be greater than 1.000.
• Order the results from larger to smaller by the customer account number.
You need to write the SQL statement by using SQL in X++.
Which four statements should you include in sequence;1 To answer, move the appropriate statements from the list of statements to the answer area and arrange them in the correct order.


DRAG DROP
A company uses Dynamics 365 Finance.
You create two methods in a class:
• MethodA is called only from the class. MethodA is not called from other locations in the code. Within MethodA, you must access class variables.
• MethodB is called from other places in the app. MethodB does not need to instantiate the class or access the class variables.
You need to implement the methods.
Which method types should you use? To answer, drag the appropriate method types to the correct methods. Each method type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.


You are a Dynamics 365 Finance developer.
You must extend the validate method of the SalesLine table by using Chain of Command. The value of a variable named SalesPrice must be greater than or equal to zero when adding new lines.
You need to create an extension class.
Which two code segments can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
A)

B)

C)

D)

- A . Option A
- B . Option B
- C . Option C
- D . Option D
CD
Explanation:
Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/validations-defaults-unmapped-fields
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc
You are a Dynamics 365 Finance developer.
You must extend the validate method of the SalesLine table by using Chain of Command. The value of a variable named SalesPrice must be greater than or equal to zero when adding new lines.
You need to create an extension class.
Which two code segments can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
A)

B)

C)

D)

- A . Option A
- B . Option B
- C . Option C
- D . Option D
CD
Explanation:
Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/validations-defaults-unmapped-fields
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc
You are a Dynamics 365 Finance developer. You need to create an extension class.
Which action should you perform?
- A . Add the class buffer as the first parameter.
- B . Mark the class as final.
- C . Mark the class as public.
- D . Mark the class as protected.
B
Explanation:
Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc
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 SalesStatus
To modify properties on an existing field in a table, you must first create an extension for the table.
Box 2: SalesStatus::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.
Reference:
https://docs.microsoft.com/sv-se/dynamics365/fin-ops-core/dev-itpro/extensibility/modify-existing-field
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/extensible-enums
A company is using a Dynamics 365 finance and operations app.
The accounting department requests two custom fields named CusStatus and CusDiscount for the header of the sales invoice SSRS report. The custom fields are in the SatesTable table.
You create a duplicate of the report design and add the two new fields to a temporary table by using the following extension:

You need to populate the new fields by using Chain of Command (CoQ
Solution: Declare the SalesTable table on line 06 and insert a new line after line 06 to declare the SaleslnvoiceHeaderFooterTmp table ^Populate the new fields by using the custlnvoiceJour parameter with a reference to SalesTable
Does the solution meet the goal?
- A . Yes
- B . No
A company uses Dynamics 365 Finance.
Two processes attempt to update the same customer record at the same time. One of the updates fails.
You need to resolve the issue by overriding the table concurrency model.
Which Select statement should you use?
- A . select firstonly optimisticLock custTable where custTable.AccountNum — "©eoeei’j
- B . select flrstonly forupdate CustTable where CustTable.AccountNum ‘000001*;
- C . select firstonly pessimisticlock custTable where CustTable. AccountNum — ‘000001*;
- D . select firstonly firstFest custTable where custTable.AccountNum — ‘000001’;
HOTSPOT
You are a Dynamics 365 Finance and Operations developer.
You have the following code: (Line numbers are included for reference only.)

You need to evaluate the code.
What is the correct output for the method? To answer, select the appropriate option in the answer area. NOTE: Each correct selection is worth one point.

Explanation:
Box 1: One, Two, Four, Fire
The statements in the finally clause are executed when control leaves the try block, either normally or through an exception.
Box 2: One, Three, Four, Five
Box 3: One, Three
Return ends the call.
Box 4: One, Three, One, Two, Four, Five
Retry restarts the try statement.
Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-exceptions
DRAG DROP
A company plans to implement Dynamics 365 Finance.
The company is unsure whether to use a cloud implementation or an on-premises implementation.
You need to determine the features that you can use for each implementation.
Which feature can you use? To answer, drag the appropriate features to the correct implementation types. Each feature may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.


