MB-820: Microsoft Dynamics 365 Business Central Developer Part 4
Question #: 51
Topic #: 1
HOTSPOT –
A company is setting up a custom telemetry trace signal to send traces on failed customer statement emails.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Suggestion Answer:
Question #: 52
Topic #: 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 –
Contoso, Ltd. is a sales company in the manufacturing industry. It has subsidiaries in multiple countries/regions, each with its own localization. The subsidiaries must be data-independent from each other. Contoso. Ltd. uses an external business partner to manage the subcontracting of some manufacturing items. Contoso, Ltd. has different sectors with data security between sectors required.
Current environment –
Contoso, Ltd. uses Business Central online as the main ERP for financials, sales, purchase, warehouse, and manufacturing processes. It has employees that use the Business Central web application and external applications. The company has a custom external mobile app under development.
The IT department and its partners installed custom extensions to satisfy the company’s requirements where the functionality is not available natively.
Contoso, Ltd. interacts with external services provided by customers and partners. Different applications interact with SOAP and OData endpoints exposed from Business Central.
An external business partner of Contoso, Ltd. exposed a REST API for receiving details about new subcontracting orders and for sending the planned release date of each subcontracting order received.
Contoso, Ltd. has not activated the monitoring of the tenant and has no internal telemetry for its apps.
Custom reporting must be created to meet the requirements of the different departments.
Tenant management –
Contoso, Ltd. has the following tenant management considerations:
IT department –
The IT department requires the ability to monitor the tenant to prevent performance problems and detect possible anomalies.
The IT department plans to use Azure Application Insights and Log Analytics to inspect the ingested telemetry signals.
All tenant upgrades are automatically handled by Microsoft. The IT department does not check for update availability or for tenant-related notifications.
The IT department has not configured the receipt of tenant-related notifications from the Business Central admin center.
External business partner –
The external business partner must add custom telemetry to an application created for Contoso, Ltd. to monitor a business process.
Custom telemetry signals for the application must be visible only on the partner’s telemetry.
SOAP –
Contoso, Ltd. plans to dismiss using the SOAP protocol for integrations.
Contoso, Ltd. must be able to detect if external applications are using its Business Central SOAP endpoints.
Issue –
The Business Central tenant is upgraded by Microsoft to a new major version during the night.
Users report that one of the Contoso, Ltd. extensions disappeared from the tenant. The IT department confirms that the extension is still published.
Custom mobile application requirements
Contoso, Ltd. plans to create a custom mobile application that has the following requirements:
The app must be used by employees to check item details from the ERP in real time and to report issues that occur during the manufacturing process.
An AL extension must be created for handling archived issues.
Business Central development guidelines must be followed when implementing modules.
A module must be implemented for the reporting and tracking of issues information. You plan to call this module Issue Management. The module must expose a method named PostIssue.
Code modifications will be required over time.
The Issue Management process must be split into two extensions:
ISSUE BASE: main extension –
ISSUE EXT: second extension with dependency from ISSUE BASE
In the version 1.0.0.0 of the ISSUE BASE extension, you plan to create an Issue table that contains a global Decimal variable named IssueTotal.
In the version 1.0.0.0 of the ISSUE BASE extension, you plan to define a table named Issue Category with a Description field defined as follows:
The Issue table defined in ISSUE BASE extension contains a Clone procedure defined as follows:
In the ISSUE EXT extension, you create a tableextension object of the Issue table.
The tableextension object of the Issue table must access the IssueTotal: Decimal variable.
After weeks of usage, you discover that you must remove the Description field and the Clone procedure because they are no longer required.
In a new version of the ISSUE BASE extension, you create a new Issue Type table. You must move data row by row from a previously obsolete Issue Category table to the new Issue Type table. Because a large amount of data must be moved, you must write an Upgrade codeunit by using the DataTransfer object.
The IT department creates a custom API for exposing the custom Issue table. The API provides an action for copying an issue to a new table. The action is defined as follows:
Contoso, Ltd. must create an API in Business Central to expose item details to the mobile application.
The API must have the lowest possible impact on the production environment when used during working hours.
The API must only support Get operations.
Debugging problems –
A user of the ISSUE BASE extension in Business Central reports a problem.
To debug the problem, snapshot debugging with the following configuration was activated:
You discover that the debugging is not triggering.
Integration with business partner for subcontracting
Contoso, Ltd. must connect Business Central to the external API provided by the business partner. This will be used for the partner to send the details of new subcontracting orders to fulfill the sales demand, and for receiving the planned release date of each order sent. The integration requirements are as follows:
The business partner will provide a REST API secured with basic authentication. Credentials to access the API will be shared with Contoso, Ltd.
The API for sending subcontracting orders must be called by sending an authenticated POST request to the given endpoint.
The API for retrieving the order no. and planned release date of each subcontracting order responds with the following JSON:
Each order no. must be retrieved.
You need to call the Issue API action from the mobile application.
Which action should you use?
A. POST /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/Microsoft.NAV.copy
B. PATCH /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/Microsoft.NAV.Copy
C. POST /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/Copy
D. POST /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/copy
E. POST /issues(88122e0e-5796-ec11-bb87-000d3a392eb5)/Microsoft.NAV.Copy
Selected Answer: A
Question #: 53
Topic #: 1
DRAG DROP –
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 –
Contoso, Ltd. is a sales company in the manufacturing industry. It has subsidiaries in multiple countries/regions, each with its own localization. The subsidiaries must be data-independent from each other. Contoso. Ltd. uses an external business partner to manage the subcontracting of some manufacturing items. Contoso, Ltd. has different sectors with data security between sectors required.
Current environment –
Contoso, Ltd. uses Business Central online as the main ERP for financials, sales, purchase, warehouse, and manufacturing processes. It has employees that use the Business Central web application and external applications. The company has a custom external mobile app under development.
The IT department and its partners installed custom extensions to satisfy the company’s requirements where the functionality is not available natively.
Contoso, Ltd. interacts with external services provided by customers and partners. Different applications interact with SOAP and OData endpoints exposed from Business Central.
An external business partner of Contoso, Ltd. exposed a REST API for receiving details about new subcontracting orders and for sending the planned release date of each subcontracting order received.
Contoso, Ltd. has not activated the monitoring of the tenant and has no internal telemetry for its apps.
Custom reporting must be created to meet the requirements of the different departments.
Tenant management –
Contoso, Ltd. has the following tenant management considerations:
IT department –
The IT department requires the ability to monitor the tenant to prevent performance problems and detect possible anomalies.
The IT department plans to use Azure Application Insights and Log Analytics to inspect the ingested telemetry signals.
All tenant upgrades are automatically handled by Microsoft. The IT department does not check for update availability or for tenant-related notifications.
The IT department has not configured the receipt of tenant-related notifications from the Business Central admin center.
External business partner –
The external business partner must add custom telemetry to an application created for Contoso, Ltd. to monitor a business process.
Custom telemetry signals for the application must be visible only on the partner’s telemetry.
SOAP –
Contoso, Ltd. plans to dismiss using the SOAP protocol for integrations.
Contoso, Ltd. must be able to detect if external applications are using its Business Central SOAP endpoints.
Issue –
The Business Central tenant is upgraded by Microsoft to a new major version during the night.
Users report that one of the Contoso, Ltd. extensions disappeared from the tenant. The IT department confirms that the extension is still published.
Custom mobile application requirements
Contoso, Ltd. plans to create a custom mobile application that has the following requirements:
The app must be used by employees to check item details from the ERP in real time and to report issues that occur during the manufacturing process.
An AL extension must be created for handling archived issues.
Business Central development guidelines must be followed when implementing modules.
A module must be implemented for the reporting and tracking of issues information. You plan to call this module Issue Management. The module must expose a method named PostIssue.
Code modifications will be required over time.
The Issue Management process must be split into two extensions:
ISSUE BASE: main extension –
ISSUE EXT: second extension with dependency from ISSUE BASE
In the version 1.0.0.0 of the ISSUE BASE extension, you plan to create an Issue table that contains a global Decimal variable named IssueTotal.
In the version 1.0.0.0 of the ISSUE BASE extension, you plan to define a table named Issue Category with a Description field defined as follows:
The Issue table defined in ISSUE BASE extension contains a Clone procedure defined as follows:
In the ISSUE EXT extension, you create a tableextension object of the Issue table.
The tableextension object of the Issue table must access the IssueTotal: Decimal variable.
After weeks of usage, you discover that you must remove the Description field and the Clone procedure because they are no longer required.
In a new version of the ISSUE BASE extension, you create a new Issue Type table. You must move data row by row from a previously obsolete Issue Category table to the new Issue Type table. Because a large amount of data must be moved, you must write an Upgrade codeunit by using the DataTransfer object.
The IT department creates a custom API for exposing the custom Issue table. The API provides an action for copying an issue to a new table. The action is defined as follows:
Contoso, Ltd. must create an API in Business Central to expose item details to the mobile application.
The API must have the lowest possible impact on the production environment when used during working hours.
The API must only support Get operations.
Debugging problems –
A user of the ISSUE BASE extension in Business Central reports a problem.
To debug the problem, snapshot debugging with the following configuration was activated:
You discover that the debugging is not triggering.
Integration with business partner for subcontracting
Contoso, Ltd. must connect Business Central to the external API provided by the business partner. This will be used for the partner to send the details of new subcontracting orders to fulfill the sales demand, and for receiving the planned release date of each order sent. The integration requirements are as follows:
The business partner will provide a REST API secured with basic authentication. Credentials to access the API will be shared with Contoso, Ltd.
The API for sending subcontracting orders must be called by sending an authenticated POST request to the given endpoint.
The API for retrieving the order no. and planned release date of each subcontracting order responds with the following JSON:
Each order no. must be retrieved.
You need to configure telemetry for the SaaS tenant and test whether the ingested signals are displayed.
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.
Suggestion Answer:
Question #: 54
Topic #: 1
You are creating an entitlement object in Business Central to enable transactability for AppSource apps.
You must map the entitlement object to a plan in Partner Center.
You need to select the value of the Type property to use in the entitlement object.
Which value should you use?
A. PerUserServicePlan
B. Implicit
C. Unlicensed
D. Role
Selected Answer: A
Question #: 55
Topic #: 1
HOTSPOT
–
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.
Company Background
–
Alpine Ski House is a company that owns and operates hotels, restaurants, and stores.
Currently, the company uses the following software and interface:
• Property management software (PMS) to manage hotel rooms
• On-premises accounting software to generate sales invoices and create purchase orders
• An API that allows restaurants and stores to obtain necessary information
Restaurants and stores use standalone software for point of sale (POS) devices. Each day, the POS terminals generate a text file of sales data and save the files in a server folder. An account assistant must manually import the files to the current software tables to be processed by the system.
The general manager receives several reports monthly from department managers. The reports take too much time to prepare.
Planned improvements
–
The company is moving from a different system to Business Central online to manage the whole company.
The company plans to increase efficiency in every department by using APIs to obtain or share information between the different systems.
Each department involved in purchasing must be able to make purchase requests automatically and easily. The departments do not need access to the full ERP management system.
Technical specifications
–
Alpine Ski House requires the development of several extensions for the planned improvements. Business Central design patterns must be used to develop all extensions.
Alpine Ski House must develop the following pages:
• Pages that provide multiple configurations in a multistep dialog, like a wizard, to provide required information when the extensions are first installed
• Department-specific Role Center pages to show relevant information and pages with additional information
The IT department plans to use Power BI to analyze departmental information. The database must be configured to provide optimal performance.
Department-specific requirements. Housekeeping department
The housekeeping department requires the following to increase efficiency and help avoid data entry errors:
• A Housekeeping Role Center to minimize navigation to relevant areas in Business Central online and to show relevant information in it
• Pages to embed into a new Room page to show additional information about the Room entity
• A table named Room Incident for the housekeeping team to enter room issue information
• A Housekeeping canvas app that connects to an extension
The department requires the development of an extension with a new API page named RoomsAPI.
• The housekeeping team will use RoomsAPI to publish room details, update when work is complete, or provide repair notifications from the canvas app.
• This custom API page must expose a custom table named Rooms and have an ID 50000. The table must be able to update from the PMS. The PMS team must know the endpoint to connect to the custom API.
• A developer provides the following details for the API page:
• The extension must be published in Business Central online and include a list page named Room List that includes all hotel rooms.
• Installation or updates to this extension must meet the following requirements:
o Some web services must be published automatically.
o The version of the specified application’s metadata must be obtained in AL language.
o The code required to perform tasks cannot be accessible from other parts of the application.
The Room Incident table information must include the following fields:
• Incident entry: An incremental number
• Room No.: A room from the Room table
• Incident Date: The work date
o The table definition in the Room Incident table must autofill the Incident Date when the housekeeping team inserts a new record.
o The value for Incident Date must be the work date configured in the Business Central online client.
• Status: Includes the following options to identify the status of the incident:
o Open: When the Room Incident is created
o In Progress: When someone starts repair work
o Closed: When the incident is solved
• Incident Closing Date: Auto-updating field (when the status passes to Closed, the field will update with the work date)
• Incident Description: Text
• Image: Media data type
o The stored picture must be downloadable from a menu action.
o A Room Incident page must be developed to contain the download action.
Department-specific requirements. Restaurants and stores
To increase efficiency, the new system must manage the generated data from the restaurants and stores directly by using the API on the POS terminals.
• The company requires a codeunit called from a job queue to read the information from the POS terminal APIs.
• The POS terminal information must be stored in a table named POS Information, have an ID 50100, and be editable on a page.
• The account manager requires an option on the menu of the page to run the process manually.
To analyze the information received from the POS terminals, the company requires:
• A custom API named ticketAPI to export the information to Power BI
• Use of the Read Scale-Out feature to improve database performance
Department-specific requirements. Purchasing department and non-conformity handling
The purchasing department requires a new entity in Business Central online to log non-conformities of goods received from vendors. The entity must be set up as follows:
• The non-conformity entity must have two tables:
o a header with common information
o one or more lines with the detailed received items that are non-conforming
• The entity requires a page named Non-conformity and a subpage named Non-conformity Lines to store the information.
When a purchase order with incorrect quantity or quality issues is received, the entity must create a non-conformity document in the system. The following information must be included in the document:
• Non-conformity Number: must use the No. Series table from Business Central online to manage this field and use these features:
o Alphanumeric values
o Number format that includes “NC” and the year as part of the number; for example, NC24-001
• Non-conformity Date: stores only the creation date
• Vendor No.: stores the number of the vendor that sent the items; only vendors from the company must be included
• Owner: code of an employee defined in the company
• Receipt No.: must meet the following conditions:
o Be an existing receipt No.
o Be received from the vendor indicated in the Vendor No. field
• Comments: can include comments with rich text and pictures to illustrate quality problems
• Status: includes non-conformity statuses, such as:
o Open
o Notified
o Closed
• Lines must contain the following details:
o Item No.: item received (for existing inventory items only)
o Description: item description
o Quantity: non-conforming quantity
o Non-conformity Type:
– Quality
– Quantity
– Delivery date
The serial numbers of the non-conformities and the period in which they can be created must be in a configuration table and its corresponding page to allow them to be modified for the users.
You need to define the properties for the Receipt No. field in the Non-conformity table when storing the information to the purchasing department.
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.
Suggestion Answer:
Question #: 56
Topic #: 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.
Company Background –
Alpine Ski House is a company that owns and operates hotels, restaurants, and stores.
Currently, the company uses the following software and interface:
• Property management software (PMS) to manage hotel rooms
• On-premises accounting software to generate sales invoices and create purchase orders
• An API that allows restaurants and stores to obtain necessary information
Restaurants and stores use standalone software for point of sale (POS) devices. Each day, the POS terminals generate a text file of sales data and save the files in a server folder. An account assistant must manually import the files to the current software tables to be processed by the system.
The general manager receives several reports monthly from department managers. The reports take too much time to prepare.
Planned improvements –
The company is moving from a different system to Business Central online to manage the whole company.
The company plans to increase efficiency in every department by using APIs to obtain or share information between the different systems.
Each department involved in purchasing must be able to make purchase requests automatically and easily. The departments do not need access to the full ERP management system.
Technical specifications –
Alpine Ski House requires the development of several extensions for the planned improvements. Business Central design patterns must be used to develop all extensions.
Alpine Ski House must develop the following pages:
• Pages that provide multiple configurations in a multistep dialog, like a wizard, to provide required information when the extensions are first installed
• Department-specific Role Center pages to show relevant information and pages with additional information
The IT department plans to use Power BI to analyze departmental information. The database must be configured to provide optimal performance.
Department-specific requirements. Housekeeping department
The housekeeping department requires the following to increase efficiency and help avoid data entry errors:
• A Housekeeping Role Center to minimize navigation to relevant areas in Business Central online and to show relevant information in it
• Pages to embed into a new Room page to show additional information about the Room entity
• A table named Room Incident for the housekeeping team to enter room issue information
• A Housekeeping canvas app that connects to an extension
The department requires the development of an extension with a new API page named RoomsAPI.
• The housekeeping team will use RoomsAPI to publish room details, update when work is complete, or provide repair notifications from the canvas app.
• This custom API page must expose a custom table named Rooms and have an ID 50000. The table must be able to update from the PMS. The PMS team must know the endpoint to connect to the custom API.
• A developer provides the following details for the API page:
• The extension must be published in Business Central online and include a list page named Room List that includes all hotel rooms.
• Installation or updates to this extension must meet the following requirements: o Some web services must be published automatically. o The version of the specified application’s metadata must be obtained in AL language. o The code required to perform tasks cannot be accessible from other parts of the application.
The Room Incident table information must include the following fields:
• Incident entry: An incremental number
• Room No.: A room from the Room table
• Incident Date: The work date
o The table definition in the Room Incident table must autofill the Incident Date when the housekeeping team inserts a new record. o The value for Incident Date must be the work date configured in the Business Central online client.
• Status: Includes the following options to identify the status of the incident: o Open: When the Room Incident is created o In Progress: When someone starts repair work o Closed: When the incident is solved
• Incident Closing Date: Auto-updating field (when the status passes to Closed, the field will update with the work date)
• Incident Description: Text
• Image: Media data type
o The stored picture must be downloadable from a menu action. o A Room Incident page must be developed to contain the download action.
Department-specific requirements. Restaurants and stores
To increase efficiency, the new system must manage the generated data from the restaurants and stores directly by using the API on the POS terminals.
• The company requires a codeunit called from a job queue to read the information from the POS terminal APIs.
• The POS terminal information must be stored in a table named POS Information, have an ID 50100, and be editable on a page.
• The account manager requires an option on the menu of the page to run the process manually.
To analyze the information received from the POS terminals, the company requires:
• A custom API named ticketAPI to export the information to Power BI
• Use of the Read Scale-Out feature to improve database performance
Department-specific requirements. Purchasing department and non-conformity handling
The purchasing department requires a new entity in Business Central online to log non-conformities of goods received from vendors. The entity must be set up as follows:
• The non-conformity entity must have two tables:
o a header with common information
o one or more lines with the detailed received items that are non-conforming
• The entity requires a page named Non-conformity and a subpage named Non-conformity Lines to store the information.
When a purchase order with incorrect quantity or quality issues is received, the entity must create a non-conformity document in the system. The following information must be included in the document:
• Non-conformity Number: must use the No. Series table from Business Central online to manage this field and use these features: o Alphanumeric values o Number format that includes “NC” and the year as part of the number; for example, NC24-001
• Non-conformity Date: stores only the creation date
• Vendor No.: stores the number of the vendor that sent the items; only vendors from the company must be included
• Owner: code of an employee defined in the company
• Receipt No.: must meet the following conditions:
o Be an existing receipt No.
o Be received from the vendor indicated in the Vendor No. field
• Comments: can include comments with rich text and pictures to illustrate quality problems
• Status: includes non-conformity statuses, such as:
o Open
o Notified
o Closed
• Lines must contain the following details:
o Item No.: item received (for existing inventory items only) o Description: item description o Quantity: non-conforming quantity o Non-conformity Type:
– Quality
– Quantity
– Delivery date
The serial numbers of the non-conformities and the period in which they can be created must be in a configuration table and its corresponding page to allow them to be modified for the users.
You need to access the RoomsAPI API from the canvas app.
What should you do?
A. Use the default API configuration in Business Central.
B. Enable the APIs for the Business Central online environment.
C. Open the Web Services page and publish the RoomsAPI page as a web service.
D. Include in the extension a codeunit of type Install that publishes RoomsAPI.
Selected Answer: A
Question #: 57
Topic #: 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.
Company Background –
Alpine Ski House is a company that owns and operates hotels, restaurants, and stores.
Currently, the company uses the following software and interface:
• Property management software (PMS) to manage hotel rooms
• On-premises accounting software to generate sales invoices and create purchase orders
• An API that allows restaurants and stores to obtain necessary information
Restaurants and stores use standalone software for point of sale (POS) devices. Each day, the POS terminals generate a text file of sales data and save the files in a server folder. An account assistant must manually import the files to the current software tables to be processed by the system.
The general manager receives several reports monthly from department managers. The reports take too much time to prepare.
Planned improvements –
The company is moving from a different system to Business Central online to manage the whole company.
The company plans to increase efficiency in every department by using APIs to obtain or share information between the different systems.
Each department involved in purchasing must be able to make purchase requests automatically and easily. The departments do not need access to the full ERP management system.
Technical specifications –
Alpine Ski House requires the development of several extensions for the planned improvements. Business Central design patterns must be used to develop all extensions.
Alpine Ski House must develop the following pages:
• Pages that provide multiple configurations in a multistep dialog, like a wizard, to provide required information when the extensions are first installed
• Department-specific Role Center pages to show relevant information and pages with additional information
The IT department plans to use Power BI to analyze departmental information. The database must be configured to provide optimal performance.
Department-specific requirements. Housekeeping department
The housekeeping department requires the following to increase efficiency and help avoid data entry errors:
• A Housekeeping Role Center to minimize navigation to relevant areas in Business Central online and to show relevant information in it
• Pages to embed into a new Room page to show additional information about the Room entity
• A table named Room Incident for the housekeeping team to enter room issue information
• A Housekeeping canvas app that connects to an extension
The department requires the development of an extension with a new API page named RoomsAPI.
• The housekeeping team will use RoomsAPI to publish room details, update when work is complete, or provide repair notifications from the canvas app.
• This custom API page must expose a custom table named Rooms and have an ID 50000. The table must be able to update from the PMS. The PMS team must know the endpoint to connect to the custom API.
• A developer provides the following details for the API page:
• The extension must be published in Business Central online and include a list page named Room List that includes all hotel rooms.
• Installation or updates to this extension must meet the following requirements: o Some web services must be published automatically. o The version of the specified application’s metadata must be obtained in AL language. o The code required to perform tasks cannot be accessible from other parts of the application.
The Room Incident table information must include the following fields:
• Incident entry: An incremental number
• Room No.: A room from the Room table
• Incident Date: The work date
o The table definition in the Room Incident table must autofill the Incident Date when the housekeeping team inserts a new record. o The value for Incident Date must be the work date configured in the Business Central online client.
• Status: Includes the following options to identify the status of the incident: o Open: When the Room Incident is created o In Progress: When someone starts repair work o Closed: When the incident is solved
• Incident Closing Date: Auto-updating field (when the status passes to Closed, the field will update with the work date)
• Incident Description: Text
• Image: Media data type
o The stored picture must be downloadable from a menu action. o A Room Incident page must be developed to contain the download action.
Department-specific requirements. Restaurants and stores
To increase efficiency, the new system must manage the generated data from the restaurants and stores directly by using the API on the POS terminals.
• The company requires a codeunit called from a job queue to read the information from the POS terminal APIs.
• The POS terminal information must be stored in a table named POS Information, have an ID 50100, and be editable on a page.
• The account manager requires an option on the menu of the page to run the process manually.
To analyze the information received from the POS terminals, the company requires:
• A custom API named ticketAPI to export the information to Power BI
• Use of the Read Scale-Out feature to improve database performance
Department-specific requirements. Purchasing department and non-conformity handling
The purchasing department requires a new entity in Business Central online to log non-conformities of goods received from vendors. The entity must be set up as follows:
• The non-conformity entity must have two tables:
o a header with common information
o one or more lines with the detailed received items that are non-conforming
• The entity requires a page named Non-conformity and a subpage named Non-conformity Lines to store the information.
When a purchase order with incorrect quantity or quality issues is received, the entity must create a non-conformity document in the system. The following information must be included in the document:
• Non-conformity Number: must use the No. Series table from Business Central online to manage this field and use these features: o Alphanumeric values o Number format that includes “NC” and the year as part of the number; for example, NC24-001
• Non-conformity Date: stores only the creation date
• Vendor No.: stores the number of the vendor that sent the items; only vendors from the company must be included
• Owner: code of an employee defined in the company
• Receipt No.: must meet the following conditions:
o Be an existing receipt No.
o Be received from the vendor indicated in the Vendor No. field
• Comments: can include comments with rich text and pictures to illustrate quality problems
• Status: includes non-conformity statuses, such as:
o Open
o Notified
o Closed
• Lines must contain the following details:
o Item No.: item received (for existing inventory items only) o Description: item description o Quantity: non-conforming quantity o Non-conformity Type:
– Quality
– Quantity
– Delivery date
The serial numbers of the non-conformities and the period in which they can be created must be in a configuration table and its corresponding page to allow them to be modified for the users.
You need to improve performance when ticketAPI is used to analyze the POS data.
What should you do?
A. Set the ODataReadonlyGetEnabled parameter to True in the Business Central admin center.
B. Set the AccessByPermission property to Read on the ticketAPI API page.
C. Enable read scale-out on the Business Central database.
D. Set the DataAccessIntent property to ReadOnly on the ticketAPI API page
Selected Answer: D
Question #: 58
Topic #: 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.
Company Background –
Alpine Ski House is a company that owns and operates hotels, restaurants, and stores.
Currently, the company uses the following software and interface:
• Property management software (PMS) to manage hotel rooms
• On-premises accounting software to generate sales invoices and create purchase orders
• An API that allows restaurants and stores to obtain necessary information
Restaurants and stores use standalone software for point of sale (POS) devices. Each day, the POS terminals generate a text file of sales data and save the files in a server folder. An account assistant must manually import the files to the current software tables to be processed by the system.
The general manager receives several reports monthly from department managers. The reports take too much time to prepare.
Planned improvements –
The company is moving from a different system to Business Central online to manage the whole company.
The company plans to increase efficiency in every department by using APIs to obtain or share information between the different systems.
Each department involved in purchasing must be able to make purchase requests automatically and easily. The departments do not need access to the full ERP management system.
Technical specifications –
Alpine Ski House requires the development of several extensions for the planned improvements. Business Central design patterns must be used to develop all extensions.
Alpine Ski House must develop the following pages:
• Pages that provide multiple configurations in a multistep dialog, like a wizard, to provide required information when the extensions are first installed
• Department-specific Role Center pages to show relevant information and pages with additional information
The IT department plans to use Power BI to analyze departmental information. The database must be configured to provide optimal performance.
Department-specific requirements. Housekeeping department
The housekeeping department requires the following to increase efficiency and help avoid data entry errors:
• A Housekeeping Role Center to minimize navigation to relevant areas in Business Central online and to show relevant information in it
• Pages to embed into a new Room page to show additional information about the Room entity
• A table named Room Incident for the housekeeping team to enter room issue information
• A Housekeeping canvas app that connects to an extension
The department requires the development of an extension with a new API page named RoomsAPI.
• The housekeeping team will use RoomsAPI to publish room details, update when work is complete, or provide repair notifications from the canvas app.
• This custom API page must expose a custom table named Rooms and have an ID 50000. The table must be able to update from the PMS. The PMS team must know the endpoint to connect to the custom API.
• A developer provides the following details for the API page:
• The extension must be published in Business Central online and include a list page named Room List that includes all hotel rooms.
• Installation or updates to this extension must meet the following requirements: o Some web services must be published automatically. o The version of the specified application’s metadata must be obtained in AL language. o The code required to perform tasks cannot be accessible from other parts of the application.
The Room Incident table information must include the following fields:
• Incident entry: An incremental number
• Room No.: A room from the Room table
• Incident Date: The work date
o The table definition in the Room Incident table must autofill the Incident Date when the housekeeping team inserts a new record. o The value for Incident Date must be the work date configured in the Business Central online client.
• Status: Includes the following options to identify the status of the incident: o Open: When the Room Incident is created o In Progress: When someone starts repair work o Closed: When the incident is solved
• Incident Closing Date: Auto-updating field (when the status passes to Closed, the field will update with the work date)
• Incident Description: Text
• Image: Media data type
o The stored picture must be downloadable from a menu action. o A Room Incident page must be developed to contain the download action.
Department-specific requirements. Restaurants and stores
To increase efficiency, the new system must manage the generated data from the restaurants and stores directly by using the API on the POS terminals.
• The company requires a codeunit called from a job queue to read the information from the POS terminal APIs.
• The POS terminal information must be stored in a table named POS Information, have an ID 50100, and be editable on a page.
• The account manager requires an option on the menu of the page to run the process manually.
To analyze the information received from the POS terminals, the company requires:
• A custom API named ticketAPI to export the information to Power BI
• Use of the Read Scale-Out feature to improve database performance
Department-specific requirements. Purchasing department and non-conformity handling
The purchasing department requires a new entity in Business Central online to log non-conformities of goods received from vendors. The entity must be set up as follows:
• The non-conformity entity must have two tables:
o a header with common information
o one or more lines with the detailed received items that are non-conforming
• The entity requires a page named Non-conformity and a subpage named Non-conformity Lines to store the information.
When a purchase order with incorrect quantity or quality issues is received, the entity must create a non-conformity document in the system. The following information must be included in the document:
• Non-conformity Number: must use the No. Series table from Business Central online to manage this field and use these features: o Alphanumeric values o Number format that includes “NC” and the year as part of the number; for example, NC24-001
• Non-conformity Date: stores only the creation date
• Vendor No.: stores the number of the vendor that sent the items; only vendors from the company must be included
• Owner: code of an employee defined in the company
• Receipt No.: must meet the following conditions:
o Be an existing receipt No.
o Be received from the vendor indicated in the Vendor No. field
• Comments: can include comments with rich text and pictures to illustrate quality problems
• Status: includes non-conformity statuses, such as:
o Open
o Notified
o Closed
• Lines must contain the following details:
o Item No.: item received (for existing inventory items only) o Description: item description o Quantity: non-conforming quantity o Non-conformity Type:
– Quality
– Quantity
– Delivery date
The serial numbers of the non-conformities and the period in which they can be created must be in a configuration table and its corresponding page to allow them to be modified for the users.
You need to define the tables used for the non-conformity entity.
What should you use?
A. document history table to introduce the non-conformity entities
B. document table to introduce the non-conformity entities
C. supplemental table to introduce the non-conformity lines
Selected Answer: B
Question #: 59
Topic #: 1
You are creating a view for a Business Central app.
The view requires a custom layout that displays only customer records with a balance greater than 500 in local currency.
You need to configure the view to specify that it has a custom layout.
Which property combination should you use?
A. SharedLayout = false; Filters = where (Balance = filter (> 500), “Currency Code” = filter (‘LCY’));
B. SharedLayout = true; Filters = where (Balance = filter (> 500), “Currency Code” = filter (‘LCY’));
C. SharedLayout = false; Filters = where (“Balance (LCY)” = filter (> 500));
D. SharedLayout = true; Filters = where (“Balance (LCY)” = filter (> 500));
Selected Answer: C
Question #: 60
Topic #: 1
You have an XMLport that exports items from a database to an XML file.
You need to change the export format from XML to CSV.
What should you do?
A. Change the Direction property to Both.
B. Change the FormatEvaluate property to Legacy.
C. Change the XmlVersionNo property to 1.1.
D. Fill the FileName property with the Items.csv value.
E. Change the Format property to VariableText.
Selected Answer: E
Question #: 61
Topic #: 1
HOTSPOT
–
You create a “Contoso Post” procedure to send an http POST request in JSON format. You publish the procedure to your environment.
You write the following procedure code:
The procedure does not work as expected.
You need to find and fix all errors in HTTP class usage.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Suggestion Answer:
Question #: 62
Topic #: 1
You must simulate the user interaction of selecting a posting option. The options must include:
• Ship
• Invoice
• Ship & Invoice
You need to create a test codeunit to run the test.
What should you use?
A. Normal attribute
B. Handler method
C. Test attribute
Selected Answer: B
Question #: 63
Topic #: 1
HOTSPOT
–
A company plans to customize its per tenant extension reports.
The company has the following requirements for the customization:
• Child data items must not have the ability to be filtered on the request page for some master detail reports.
• Selecting key filter fields takes users too much time. The customization must decrease the amount of time to select the fields for all the users.
You need to optimize the report request page.
Which actions should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Suggestion Answer:
Question #: 64
Topic #: 1
HOTSPOT
–
A company uses Azure Application Insights for Business Central online in its production environment.
A user observes that some job queues go into the failed state and require manual intervention.
You need to analyze job queue lifecycle telemetry.
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.
Suggestion Answer: