You are a Dynamics 365 Finance developer. You create an integer variable named totalSales. You need to display the value from totalSales in an info statement. Which three code segments can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
Correct Answer: A,C,D
A: int2Str converts an integer to the equivalent string. C: any2Str converts an anytype value to a str value. The anytype data type is a placeholder for any data type. D: Example: void MyMethod() { for (int i = 0; i < 10; i++) { info(strfmt("i is %1", i)); } } Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-variables-data-types https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-data-primitive#anytype Implement Reporting Testlet 1 Case study This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question. Background Wide World Importers sell office supplies, furniture, and fittings to their customers across the United States. The company has the following locations: * a retail store in Seattle * a warehouse in Seattle * a customer support and call center in Atlanta * a team of field workers that provide furniture installation services at customer sites. Wide World Importers plans to implement Dynamics 365 Finance and Microsoft Azure cloud platform features. Current environment Customers may place orders by email, phone, or by using the company's website. The company authorizes and processes credit card transactions by using a web-based application. Customer, inventory, supplier, and other master and transactional data is stored in a legacy database. The company collects feedback from customers by phone or a form on the company's website and maintains the data in a Microsoft Excel workbook. Wide World Importers runs on-premises applications to manage payroll and workers compensation. The company has a set of Microsoft Power BI dashboards that present data from a reporting database. The company creates a Lifecycle Services (LCS) implementation project and completes Dynamics 365 Finance onboarding. The company maintains production, quality assurance (QA), development, user acceptance testing (UAT), and build environments. Requirements General * You must configure a cloud-based Dynamics 365 Finance development environment and enable code extension that support updates. * You must configure version control and a Build environment. * You must migrate all legacy data to the new system. * You must implement best practices for X++ coding, the data model, caching, and security. * All new code must be unit tested in a development environment and then validated by the QA team before code is added to source control. Business processes * You must configure vendor trade agreements. * Products must be shipped directly from suppliers to customers depending on customer location to save indirect costs. * You must collect customer feedback on products shipped directly from vendors. * You must deploy code to a UAT environment for testing before deploying code to production. * You must validate all entries for the purchase order creation form. * You must develop a web portal that allows customers to browse products, place orders, and check order status. Product data for the web portal must be integrated as periodic batches. Business systems * You must install and configure a third-party solution for credit card processing within Dynamics 365 Finance. The third-party company will provide a deployable package. * The workers compensation application must be able to call an API to update worker compensation details in Dynamics 365 Finance. * You must develop a process to import payroll journals into the system. * You must configure the warehouse mobile device portal for warehouse operations. * You must install a third-party solution to support web portal integration. The solution is supplied as a source code model file. Vendor exclusion list You must develop a new solution to maintain a Vendor exclusion list for each customer and item combination. The solution must meet the following requirements: * Isolate all new vendor exclusion codes as a new assembly by creating a table named VendExclusions. * Create an index for the table named PrimaryIdx that uses the following fields: CustAccount, ItemId, VendAccount. * Ensure that users can open the Vendor Exclusion list report from the customer master form. The list must display the customer account, Item ID, and Vendor account fields. * Implement the Excel integration for the Vendor Exclusion List form. * Provide functionality to periodically export the Vendor exclusion list to prepare reports by using standard reporting capabilities of Dynamics 365 Unified Operations. * Develop necessary security permissions to view and maintain the new Vendor exclusion list functionality and reporting. Users with maintain rights will be able create, update, and delete the exclusion list. Permissions must be assigned to security roles to match company security model. * Maintain referential integrity with other tables. * Users must be presented with a warning message before a direct delivery purchase order is created for a vendor in exclusion list. * Sales managers must be alerted when a new exclusion record is added to the system. Security * You must implement the record level audit feature to identify the users who created the record. * Grant specific users rights to maintain the vendor exclusion list by using Excel. * You must implement validation to check whether a proposed direct delivery purchase order vendor is on the exclusion list for the customer and product combination. Issues * User1 is not able to access many features in the system. You must provide User1 administrator rights. * A sales manager suspects a data-related issue in the vendor exclusion list. User1 must identify the user who created the referenced exclusion records. * Developer2 joins the company and does not have access to a development environment or source control. * User2 reports performance issues when they generate direct delivery purchase orders after current updates are applied. * User2 reports that they cannot access new functionality and reports. Implement Reporting Testlet 2 Case study This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided. To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study. At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section. To start the case study To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question. Background Overview First Up Consultants provides Commercial Cleaning services to its clients. The company purchases all its cleaning supplies from Best For You Organics Company. First Up Consultants is using a cloud-based Dynamics 365 Finance instance. The system has a foundation table named CashDisc that contains one cash discount record for each cash discount type. Best For You Organics Company invoices First Up Consultants and allows cash discounts based on how fast an invoice is paid. First Up Consultants is entitled to a two percent discount from Best for You Organics for any invoice that is paid within 10 days and has a minimum invoice amount of $2,500. Business requirements All new and extended objects must be located in an existing model named FinanceExt. The creation of new models is not permitted. Best For You Organics Company requires that First Up Consultants apply specific minimum invoice amounts to each cash discount record. A cash discount may only be applied when the minimum invoice amount requirement has been met. The new field must be added to the CashDisc form grid with the allowable visible number of characters set to 10. First Up Consultants must retrieve the required Cash Discount methods and corresponding minimum invoice amounts directly from Best For You Organics Company's enterprise resource planning (ERP) system. The Chief Financial Officer (CFO) requires the following reports: * A report that shows all outstanding invoices, their cash discount types including the new minimum threshold applicable, and the amount of the discount. The report must only be accessed by users who are members of the Accounts Payable Manager role. * You must create a Microsoft Excel workbook that lists unpaid invoices to Best For You Organics Company that have a due date earlier than 5/1/2019 and an Invoice Amount between $20,000 and $100,000. Cash discounts for unpaid invoices must be updated with the new minimum invoice amounts. Financial requirements Vendor Invoices Past Due form You must be able to filter the grid on the Vendor Invoices Past Due form. By default, you must filter the form based on the Due Date, Invoice Amount, and Vendor columns. Users must be able to apply reusable user- specific filters to a page using multiple fields. CashDisc form You must extend the CashDisc form to add a new field named MinimumInvoiceAmount to the form. You must add a new Extended Data Type to the extension model for the new field. The new field must be added above the discount method field. The field must display 10 characters. The accounts payable manager and the accounts payable clerk have Delete access to the form. You must alter permissions to limit accounts payable clerks to have only View access to the form. Cash Discount Records report You must create a report that shows a list of CashDisc records. You must include the MinimumInvoiceAmount field and filtered data by using the CashDisc.DiscMethod field. Applicable security objects must be created in the existing "FinanceExt" model and configured so the report is accessible by those users to the accounts payable role. Batch jobs You must create a batch job that runs on the last day of each month to update the current unpaid invoices with changes in the minimum invoice amount. The job must meet the following requirements: * Accept the following parameters: Vendor, DueDate. * Be callable by an Action menu item. * Allow users to specify vendors to include in the job. * Use SysOperation Framework for all batch jobs. You must create a batch job to identify modified CashDisc.MinimumInvoiceAmount values and apply these to open Purchase Lines. Implement Reporting Question Set 3
Question 12
You are a Dynamics 365 Finance developer. You need to create an extension class. Which action should you perform?
The system includes the following code: (Line numbers are included for reference only.) You need to apply changes to address User2's issues. For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
Correct Answer:
Question 14
You are the Dynamics 365 Finance Developer. You have the following class definition: You need to create an extension class and wrap the method by using Chain of Command (CoC), if the value of the Qty variable is less than 5, the code must cause an exception. How should you complete the code segment? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.
Correct Answer:
Explanation Box 1: final class WebShopOrderVal_Extension Box 2: public static void checkQtyValue(int Qty) Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/method-wrapping-coc https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/extensibility/naming-guidelines-extensions
Question 15
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.
Correct Answer:
Explanation 1. In AOT, right-click CustTable form 2. Select Create Extension 3. Rename the new CustTable extension Reference: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-extension-example