Microsoft

MB-820 Free Practice Questions — Page 6

Question 52

A company uses Business Central. The company plans to use a translation file in an extension. The extension has a caption that should not be translated. You need to prevent the caption from being translated. What should you do?

A. Use the CaptionML property and copy the same caption for each language used.
B. Set the GenerateLockedTranslations feature in the app.json file.
C. Add the Locked = true parameter to the Caption.
D. Delete the Caption property.
E. Copy the same caption for each language in the translation file.
Show Answer
Correct Answer: C
Explanation:
In Business Central AL, captions and labels support the Locked = true parameter. When Locked is set to true, the text is not included for translation, preventing it from being translated even when using XLIFF translation files. CaptionML is obsolete for AL extensions, GenerateLockedTranslations does not prevent translation of a specific caption, deleting the Caption property removes the caption, and duplicating the same text in translation files does not prevent translation.

Question 53

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.

Illustration for MB-820 question 53
Show Answer
Correct Answer: take project
Explanation:
Use `take 100` to retrieve an arbitrary sample of 100 trace records. After filtering by `eventId`, use `project` to select the timestamp and the required job queue lifecycle fields.

Question 54

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: Some web services must be published automatically. The version of the specified application's metadata must be obtained in AL language, 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 - The table definition in the Room Incident table must autofill the Incident Date when the housekeeping team inserts a new record, 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: Open: When the Room Incident is created In Progress: When someone starts repair work 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 - The stored picture must be downloadable from a menu action, 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: a header with common information 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: Alphanumeric values - 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: Be an existing receipt No. 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: Open - Notified - Closed - Lines must contain the following details: Item No.: item received (for existing inventory items only) Description: item description - Quantity: non-conforming quantity 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 select the appropriate page types to solve the reporting requirements. Which page types should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Illustration for MB-820 question 54 Illustration for MB-820 question 54
Show Answer
Correct Answer: HeadLinePart FactBox NavigatePage
Explanation:
Role Centers display insights with HeadLinePart. Additional information embedded on a card/list page is shown using a FactBox. Multi-step first-installation wizards are implemented with a NavigatePage (assisted setup).

Question 55

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
Show Answer
Correct Answer: D
Explanation:
To improve performance for an API page used for analytical, read-only access, configure the API page with DataAccessIntent = ReadOnly. This allows Business Central to route eligible read-only requests to a read-only replica when read scale-out is available. Simply enabling read scale-out at the database level is not sufficient by itself for the API page behavior, and the other options are unrelated.

Question 56

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.
Show Answer
Correct Answer: A
Explanation:
A custom page of PageType = API is exposed through the standard Business Central API endpoint when the extension is published. It does not need to be published from the Web Services page like SOAP/OData pages, and an Install codeunit is not required to publish the API page. Enabling APIs is not the required action for accessing a custom API in a Business Central online environment.

Question 57

DRAG DROP - A company is examining Connect apps and Add-on apps for use with Business Central. You need to describe the development language requirements for Connect apps and Add-on apps. How should you describe the app language requirements? To answer, move the appropriate app types to the correct descriptions. You may use each app type once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.

Illustration for MB-820 question 57
Show Answer
Correct Answer: Developed by using any coding language — Connect app Developed by using AL language in Visual Studio Code — Add-on app
Explanation:
Connect apps can be implemented using external technologies and integrate with Business Central, while Add-on apps are Business Central extensions developed in AL with Visual Studio Code.

Question 58

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.

Illustration for MB-820 question 58 Illustration for MB-820 question 58
Show Answer
Correct Answer: No Yes Yes No
Explanation:
Read the response from HttpResponseMessage.Content, use application/json for JSON payloads, set Authorization on the HttpClient default request headers rather than HttpContent headers, and WriteFrom is correct for writing the request body.

Question 59

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));
Show Answer
Correct Answer: C
Explanation:
A custom layout requires SharedLayout = false. To show only customers with a balance greater than 500 in local currency, the filter should be applied to the built-in "Balance (LCY)" field rather than combining Balance with a Currency Code filter. Therefore, use SharedLayout = false; Filters = where("Balance (LCY)" = filter(> 500)).

Question 60

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.

Illustration for MB-820 question 60
Show Answer
Correct Answer: Child data items: Set the DataItemTableView sorting property. Decrease time to select filter fields: Specify the RequestFilterFields property.
Explanation:
Setting a key in DataItemTableView removes the data item's FastTab from the request page, preventing filtering of child data items. RequestFilterFields exposes only the important filter fields, making them quicker for users to access.

Question 61

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.

Illustration for MB-820 question 61 Illustration for MB-820 question 61
Show Answer
Correct Answer: TableRelation "Buy-from Vendor No." field
Explanation:
Use the TableRelation property to restrict Receipt No. to purchase receipt headers, filtering records where the purchase receipt's Buy-from Vendor No. matches the current record's Vendor No. field via field("Vendor No.").

$19

Get all 101 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.