HOTSPOT
-
You are using the Metadata search tool in Visual Studio.
You need to select the appropriate query string for various scenarios.
Which query string should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Explanation: Metadata Search uses the singular object type (table/form). For method filtering, search by method name containing 'insert'. For form names, searching with 'type:form ccount' matches forms whose names include 'ccount'.
Question 134
A company uses Dynamics 365 Finance.
You implement an extension of a method named calc in ClassA. The calc method:
• Accepts an integer as an input parameter.
• Returns an integer as an output parameter.
You must implement an extension to:
• Extend the calc method.
• Prevent the standard code from running if the value of the input parameter is greater than 10.
You need to implement the correct solution.
Which code segment should you use?
A.
B.
C.
D.
Show Answer
Correct Answer: A
Explanation: In Dynamics 365 Finance method wrapping (Chain of Command), the wrapper method must call `next` exactly once and not conditionally. To prevent the base implementation from running, the wrapper can throw an exception before reaching the `next` call when the input is greater than 10. Because the exception terminates execution, the standard code is not executed. Otherwise, execution reaches the unconditional `next calc(...)` call and returns its result.
Sources:
https://www.marks4sure.com/mb-500-microsoft-dynamics-365-finance-and-operations-apps-developer-questions.html
Question 135
A company uses Dynamics 365 Supply Chain Management.
You need to list all classes in the Application Suite model that contain a cross-company query.
Which query string should you use?
A. type:class, method name=run code:"crosscompany" model:"Application Suite"
B. type:class, table code:"crosscompany" model:"Application Suite"
C. type:class code:"crosscompany” model:"Application Suite"
D. type:class, method name=insert code:"crosscompany" model:"Application Suite"
Show Answer
Correct Answer: C
Explanation: To list all classes in the Application Suite model that contain a cross-company query, the metadata search should search all class code for the X++ keyword "crosscompany" within the specified model. Restricting the search to a specific method name (run or insert) or using a table filter would miss valid occurrences. The broad class code search is therefore the correct query.
Question 136
A company uses Dynamics 365 Finance.
You implement an abstract class named Car.
The Car class has the following:
• A real member called weight that is used to store the weight of the car.
• An abstract getWeight method that returns the value of the weight member.
The Car class code is:
You must create a child class named BigCar.
You need to implement the Car class by using the BigCar child class.
Which code segment should you use?
A. class BigCar extends Car { void new(real _weight) { weight = _weight; } public real getweight() { return weight; }}
B. class BigCar implements Car { void new(real _weight) { weight = _weight; } public real getweight() { return weight; }}
C. class BigCar extends car { public real getWeight() { return weight; }}
D. class BigCar : car { void new(real _weight) { weight = _weight; } public real getweight() { return weight; }}
Show Answer
Correct Answer: A
Explanation: The child class must extend the abstract class (not implement it), provide an implementation of the abstract getWeight method, and initialize the inherited weight member. Option A extends Car, assigns the inherited weight field in the constructor, and implements the getter. Option B incorrectly uses implements, C does not initialize the weight field, and D uses invalid inheritance syntax for X++.
Question 137
You create an extension for the InventTable table.
Which two field properties can you modify in the extension?
Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. Allow Edit
B. Extended Data Type
C. Visible
D. Label
Show Answer
Correct Answer: B, D
Explanation: In a table field extension in Dynamics 365 Finance and Operations, the supported modifications for existing fields include properties such as Label, Help text, Country/Region Codes, and Extended Data Type (with the replacement EDT derived from the original). Properties like Allow Edit and Visible are not among the documented field properties intended to be modified through table field extensions for this exam objective.
Question 138
DRAG DROP -
A company uses Dynamics 365 finance and operations apps. The company plans to integrate third-party products with Dynamics 365 Finance.
You need to select the appropriate data integration option for each scenario.
Which data integration option should you select? To answer, drag the appropriate data integration options to the correct scenarios. Each data integration option 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.
Select and Place:
Show Answer
Correct Answer: OData
Custom service
Batch data API
Explanation: OData exposes public data entities for near real-time integration. Custom services support SOAP-based integrations. Batch data API is intended for scheduled/bulk imports such as end-of-day vendor invoices.
Question 139
HOTSPOT
-
A company uses Dynamics 365 finance and operations apps.
The company wants to use reporting data stores for Dynamics 365 Finance.
You need to select the appropriate reporting data store for each requirement.
Which reporting data store should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Show Answer
Correct Answer: Export data into a new data warehouse. → Bring your own database (BYOD)
Author Power BI reports by using DirectQuery. → Entity store
Explanation: BYOD exports Dynamics 365 data to an external SQL database for data warehousing. Entity store is optimized for analytical reporting and supports Power BI DirectQuery.
Question 140
HOTSPOT
-
You are designing a new layout for the Vendor Payment Advice report. You add fields to the table that the report uses.
The design must include the new fields.
You need to ensure the standard Payment Advice report always uses the new design.
Which class should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Show Answer
Correct Answer: Populate data from new fields added to the report data source: Report data provider
Ensure the standard Payment Advice report always uses the new design: Report controller
Explanation: The Report Data Provider (RDP) populates the dataset with additional fields. The Report Controller (SrsReportRunController) can force the report to use a specific report design so the standard report always runs with the customized design.
Question 141
HOTSPOT
-
You have a Dynamics 365 Finance environment.
You have the following code: (Line numbers are included for reference only.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Show Answer
Correct Answer: Yes
No
Yes
No
Explanation: CoC extension methods can access public/protected members and wrap instance/static wrappable methods. The next call must be unconditional, so it cannot be placed inside conditional logic. Extension classes cannot be instantiated directly.
Question 142
DRAG DROP
-
A company uses Dynamics 365 Finance.
You must use QueryBuilder classes to implement a query that loops through all customers for whom the customer group equals EXT. You need to implement the query. You declare and initialize a query object.
You need to run the query.
In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
Show Answer
Correct Answer: 2
1
3
5
4
Explanation: Create the data source, add a range on the desired field, set the range value, instantiate QueryRun from the query, then iterate with next().
$19
Get all 295 questions with detailed answers and explanations
Instant download HTML + PDF delivered the moment payment clears.
Secure Stripe checkout we never see or store your card details.
7-day refund if files are defective see our refund policy.