Microsoft MB-820 Practice Test - Questions Answers, Page 9
List of questions
Question 81

You ate 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?
shareLayout = false; Filters = where (Balance = filter (> 500), ''Currency Code' = filter ('ICY*));
SharedLayout - true; Filters - where (Balance filter (> 506), ''Currency Code' - filter ('LCY')>;
SharedLayout - false; Filters - where ('Balance (ICY)' - filter (> 500));
Sharediayout = true; Filters - where ('Balance (ICY)' - filter (> 500));
Explanation:
SharedLayout = true allows for the layout to be shared across views, and it is often used when defining a custom layout that should follow specific filtering conditions.
The Filters property specifies the exact filter criteria for the view, in this case, filtering on Balance > 500 and the Currency Code = LCY (local currency).
A uses incorrect filter syntax and shareLayout = false, which doesn't allow the layout to be shared, so it's not ideal for this use case.
C and D both have issues with the filter syntax and do not use proper Currency Code filtering or share layout settings.
For more details, check Creating Views in Business Central.
Question 82

A company uses Business Central.
You plan to help users through the installation process by using Assisted Setup.
You need to create a wizard page.
Which two actions should you perform? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Set the PageType property to NavigatePage.
For each step needed in the guide, add a group0 control to the root-level of the layout > area(Content) control
Set the PageType property to Worksheet
For each step needed in the guide, add a repeater!) control to the root-level of the layout > area(Content) control.
Explanation:
A: In Business Central, wizard pages are created using the NavigatePage type because it allows step-by-step navigation, which is perfect for wizard-like user experiences.
B: The group control organizes the content for each step in the guide, and it's essential to add these controls to the layout's Content area for each step of the wizard.
C: Worksheet is used for pages designed to handle larger datasets, not for wizard or step-by-step flows.
D: Repeater controls are used for displaying multiple records, not for guiding users through steps, so it's incorrect for this scenario.
For more information, you can refer to Assisted Setup in Business Central.
Question 83

HOTSPOT
A company uses a Vendor-List report from the Base Application.
The company has new requirements that cannot be met by extending the Vendor - List report.
You create a new report named My Customized Vendor - List.
You need to replace the Vendor - List report with My Customized Vendor - List.
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.
Question 84

You plan to call a web service by using the data type HttpClient from a Business Central AL extension
You must provide the following implementation for the web service call:
* The web service must authenticate the client with a certificate.
* The certificate must include a password.
* The password must be hidden when you debug the code
You need to include the certificate in the web service call. Which instruction should you use?
Question 85

A company has a test application.
A user observes the following error messages when running the test:
* 'Unhandled Ul: Message'
* 'Unhandled Ul: Confirm'
You need to resolve the errors. Which action should you take?
Question 86

You ate creating a test codeumt for a company that uses Business Central. The company requites the following list of choices while posting a sales order:
* Ship
* Invoice
* Ship & Invoice
You must create a test codeunit that automatically selects one of these options. You need to create the test codeunit Which handler should you use?
Question 87

You have a query object named Items Query. You write code using an Items Query query variable. You need to export the Items Query query data to a file. Which SaveAs function should you use?
Question 88

A company has extended Business Central.
You plan to submit the extension to AppSource.
You need to ensure that an application meets the technical requirements before submitting it for validation.
Which three actions should you perform? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Question 89

A company uses Business Central.
The company plans to use the AL object model in Business Central to extend the Base Application.
You need to extend the objects.
Which two objects can you extend? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Question 90

HOTSPOT
You create a procedure to check if a purchase order has lines.
The procedure returns false for purchase order PO-00001 even though it has purchase lines.
You need to fix the code to get the correct result.
For each of the following statements, select Yes if the statement is true Otherwise, select No.
NOTE- Each correct selection is worth one point.
Question