Exam Name: | Microsoft Dynamics 365: Finance and Operations Apps Developer | ||
Exam Code: | MB-500 Dumps | ||
Vendor: | Microsoft | Certification: | Microsoft Other Certification |
Questions: | 304 Q&A's | Shared By: | leona |
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: Create a new method on the MySaleslnvoiceDP_Extension class named populatelnvoiceHeaderfooterCustom which uses the CustlnvotceJout table as a parameter Declare the SalesTable and SaleslnvoiceHeaderFooterTmp tables on the new method on line 07. Populate the new fields by using the _custlnvoiceJour parameter to reference SalesTable Call the new method on the populateSaleslnvoiceHeadeiFooterTmp method on line 08.
Does the solution meet the goal?
You are using the SysTest framework to test code in Visual Studio.
You need to create a unit test class.
Which three attributes can you use to create the class? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
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?