[2026] MB-820 PDF Questions - Perfect Prospect To Go With Actual4Exams Practice Exam
Microsoft MB-820 Pdf Questions - Outstanding Practice To your Exam
Microsoft MB-820 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
NEW QUESTION # 43
A company is implementing Business Central.
The company has the following requirements for a report:
* The report must be loaded for users in a specific location only.
* Data entered in the request page must be validated before any further processing.
* A filter must be defined for users based on the Department field defined in user setup.
You need to implement the given requirements.
Which triggers should you use? To answer, move the appropriate triggers to the correct requirements. You may use each trigger 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.
Answer:
Explanation:
Explanation:
* Load the report for users in a specific location: OnInitReport
* Validate data before processing: OnPreReport
* Define filter based on Department field: OnPreDataItem
The requirements for the report are:
* The report must be loaded for users in a specific location only.
* Data entered in the request page must be validated before any further processing.
* A filter must be defined for users based on the Department field defined in user setup.
Trigger Matching:
* The report must be loaded for users in a specific location only.The correct trigger for loading the report is OnInitReport.
* This trigger runs when the report is initialized, and you can use it to define user-specific loading conditions, like location-based filtering.
* Data entered in the request page must be validated before any further processing.The correct trigger for validation before processing is OnPreReport.
* This trigger occurs before the report is run and can be used for data validation before further processing begins.
* A filter must be defined for users based on the Department field defined in user setup.The correct trigger to define filters is OnPreDataItem.
* This trigger occurs before data item processing begins and is used to apply filters such as those based on the Department field in the user setup.
NEW QUESTION # 44
You need to create the API page according to the requirements.
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.
Answer:
Explanation:
NEW QUESTION # 45
You need to download a stored picture from the Room Incident page.
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.
Answer:
Explanation:
NEW QUESTION # 46
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result these questions will not appear in the review screen.
A company plans to optimize its permission sets.
The company has the following permission sets:
You need to provide the following implementation for a third permission set:
* Create a new Permission Set C that is a composite of Permission Set A and Permission Set B.
* Assign Permission Set C to a user.
You need to ensure that the user has only read access to the Job table.
Solution: Set the Included Permission Sets property to Permission Set B and the Excluded PermissionSets property to Permission Set A.
Does the solution meet the goal?
- A. No
- B. Yes
Answer: A
NEW QUESTION # 47
A company uses Business Central Users in DepartmentA are assigned a base application permission set.
The company observes that Departments can display a critical page that should be unavailable to the department.
You need to resolve the system control issue.
What should you do?
- A. Create a different role center page that excludes the critical page and assigns it to the users.
- B. Extend the base application permission set and configure the ExcludedPermissionSets property
- C. Create a permission set object that excludes the critical table and assigns it to the users.
- D. Extend the base application permission set and configure the Included PermissionSets property.
- E. Create an entitlement object that excludes the base application permission set.
Answer: C
Explanation:
* Permission sets control access to objects (such as pages, tables, reports) in Business Central. By creating a new permission set that specifically excludes the critical table (or page) and assigning this permission set to the users in Department A, you can prevent them from accessing the page.
* Option A (creating a different role center page) is incorrect because role centers control the user interface, but do not directly restrict access to specific pages or tables.
* Option B and Option C (extending the base application permission set) are not the best options because extending permission sets typically involves adding permissions, not removing access. The question requires restricting access to a critical page, so simply including or excluding permission sets won't solve the issue at the table or page level.
* Option D (creating an entitlement object) is not relevant here, as entitlements are used in more complex licensing scenarios or environments.
Summary:
Creating a permission set object that specifically excludes access to the critical table or page and assigning it to the users will solve the problem effectively.
NEW QUESTION # 48
A company has an on-premises Business Central instance named TEST The instance uses Windows authorization and a developer services port of 7149 Visual Studio Code is installed on the same server.
You create a new AL project but cannot download the symbols.
The launch json file contains the following code:
You need to download the symbols.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A. Add the port: 7149 parameter.
- B. Check which server the instance is installed on and replace http//localhost with the correct IP address.
- C. Change the server Instance parameter to TEST
- D. Change the authentication parameter to UserPassword.
- E. Change the name parameter to TEST.
Answer: A,C
Explanation:
You are working on an on-premises Business Central instance and unable to download symbols for a new AL project. The current configuration in launch.json does not allow you to download symbols, and you need to make corrections.
Key Points in the Scenario:
* Instance name is TEST.
* Developer services port is 7149.
* Windows authentication is being used.
Correct Answers:
* A. Change the server Instance parameter to TEST.
* The serverInstance parameter must match the name of the Business Central instance, which is TEST in this scenario. You need to modify this to reflect the correct instance name.
* B. Add the port: 7149 parameter.
* Since the developer services are using port 7149, you need to specify this in the launch.json file by adding the port parameter with the value 7149.
Incorrect Options:
* C. Change the name parameter to TEST: The name parameter is just a label and does not affect downloading symbols, so changing this won't help.
* D. Change the authentication parameter to UserPassword: The authentication method is already set to Windows, which is valid for this scenario. Changing it to UserPassword is unnecessary unless specified by the system.
* E. Check which server the instance is installed on and replace http://localhost with the correct IP address: Since the server is on the same machine as Visual Studio Code (as specified), localhost is correct.
NEW QUESTION # 49
A company is implementing Business Central.
The company has the following requirements for a report:
* The report must be loaded for users in a specific location only.
* Data entered in the request page must be validated before any further processing.
* A filter must be defined for users based on the Department field defined in user setup.
You need to implement the given requirements.
Which triggers should you use? To answer, move the appropriate triggers to the correct requirements. You may use each trigger 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.
Answer:
Explanation:
Explanation:
* Load the report for users in a specific location: OnInitReport
* Validate data before processing: OnPreReport
* Define filter based on Department field: OnPreDataItem
The requirements for the report are:
* The report must be loaded for users in a specific location only.
* Data entered in the request page must be validated before any further processing.
* A filter must be defined for users based on the Department field defined in user setup.
Trigger Matching:
* The report must be loaded for users in a specific location only.The correct trigger for loading the report is OnInitReport.
* This trigger runs when the report is initialized, and you can use it to define user-specific loading conditions, like location-based filtering.
* Data entered in the request page must be validated before any further processing.The correct trigger for validation before processing is OnPreReport.
* This trigger occurs before the report is run and can be used for data validation before further processing begins.
* A filter must be defined for users based on the Department field defined in user setup.The correct trigger to define filters is OnPreDataItem.
* This trigger occurs before data item processing begins and is used to apply filters such as those based on the Department field in the user setup.
NEW QUESTION # 50
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.
Answer:
Explanation:
Explanation:
* The telemetry trace sends custom signals to an Application Insights resource specified in the extension's app.json file and on the tenant. = YES
* Dictionary keys for the extension name and version must be specified to identify the extension during analysis. = YES
* The telemetry trace sends events to Application Insights resources set up on the tenant. = YES Telemetry in Business Central allows developers to collect custom telemetry for extensions using Application Insights. The telemetry trace is used to send custom signals to an Application Insights resource. This resource is typically specified in the app.json file of the extension and must be configured on the tenant where the extension is installed.
The use of dictionary keys for the extension name and version is a best practice to identify the extension during analysis in Application Insights. These keys can be added to the telemetry trace to ensure that when the data is collected, it's clear which extension the data is associated with.
Finally, it is correct that the telemetry trace sends events to Application Insights resources that are set up on the tenant, enabling the collection and analysis of telemetry at the tenant level.
NEW QUESTION # 51
Drag and Drop Question
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.
Answer:
Explanation:
NEW QUESTION # 52
You have the following XML file sample for the Items list:
You plan to create the next XML file by using an XMLport object.
You need to complete the code segment to export the file in the required format How should you complete the code segment? To answer, select the appropriate options in the answer area.
Answer:
Explanation:
Explanation:
NEW QUESTION # 53
You need to provide the endpoint to the PMS provider for the RoomsAPI page.
How should you complete the API page endpoint? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point
Answer:
Explanation:
NEW QUESTION # 54
Case Study 1 - Contoso, Ltd
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 determine if you have unwanted incoming web service calls in your tenant during the last seven days.
Which two KQL queries should you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
- A.

- B.

- C.

- D.

- E.

Answer: D,E
Explanation:
The task is to identify unwanted incoming web service calls during the last seven days. To do this, we need to look at KQL (Kusto Query Language) queries that would filter out web service calls based on the timestamp (to ensure the calls are within the last seven days) and by certain characteristics that would indicate they are unwanted, such as the wrong type of protocol (SOAP in this case, as Contoso Ltd. plans to dismiss using it).
NEW QUESTION # 55
You need to write an Upgrade codeunit and use the DataTransfer object to handle the data upgrade.
Which solution should you use for each requirement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation:
Upgrade codeunit trigger: OnValidateUpgradePerDatabase
* Since the question specifies that you are handling data upgrades, and you need to use validation before upgrading at the database level, the correct choice is OnValidateUpgradePerDatabase. This method ensures that the upgrade process is validated before applying to the entire database, making it more efficient when data affects multiple companies or structures.
DataTransfer method to use: CopyRows
* CopyRows is the appropriate method when you are handling large data transfers between tables, especially in an upgrade scenario where you are migrating or transferring data from one table to another. It copies entire rows of data and is optimal for bulk data operations during upgrades.
NEW QUESTION # 56
A company has an on-premises Business Central instance named TEST The instance uses Windows authorization and a developer services port of 7149 Visual Studio Code is installed on the same server.
You create a new AL project but cannot download the symbols.
The launch json file contains the following code:
You need to download the symbols.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
- A. Add the port: 7149 parameter.
- B. Check which server the instance is installed on and replace http//localhost with the correct IP address.
- C. Change the server Instance parameter to TEST
- D. Change the authentication parameter to UserPassword.
- E. Change the name parameter to TEST.
Answer: A,C
Explanation:
You are working on an on-premises Business Central instance and unable to download symbols for a new AL project. The current configuration in launch.json does not allow you to download symbols, and you need to make corrections.
Key Points in the Scenario:
* Instance name is TEST.
* Developer services port is 7149.
* Windows authentication is being used.
Correct Answers:
* A. Change the server Instance parameter to TEST.
* The serverInstance parameter must match the name of the Business Central instance, which is TEST in this scenario. You need to modify this to reflect the correct instance name.
* B. Add the port: 7149 parameter.
* Since the developer services are using port 7149, you need to specify this in the launch.json file by adding the port parameter with the value 7149.
Incorrect Options:
* C. Change the name parameter to TEST: The name parameter is just a label and does not affect downloading symbols, so changing this won't help.
* D. Change the authentication parameter to UserPassword: The authentication method is already set to Windows, which is valid for this scenario. Changing it to UserPassword is unnecessary unless specified by the system.
* E. Check which server the instance is installed on and replace http://localhost with the correct IP address: Since the server is on the same machine as Visual Studio Code (as specified), localhost is correct.
NEW QUESTION # 57
You need to assist the development department with setting up Visual Studio Code to design the purchase department extension, meeting the quality department requirements.
How should you complete the app.json file? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION # 58
You need to create the code related to the Subcontract Documents table to meet the requirement for the quality 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.
Answer:
Explanation:
Explanation:
NEW QUESTION # 59
You need to configure the Subcontract Docs extension to translate the fields.
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.
Answer:
Explanation:
NEW QUESTION # 60
You are developing an XMLport to export data from the parent Item table and a related child "Item Unit of Measure' table. The XMLport configuration must provide the following:
* Link the child table to its parent.
* Display a confirmation message after the XMLport runs.
You need to generate the XMLport.
What should you do? To answer, move the appropriate triggers to the correct requirements. You may use each trigger 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.
Answer:
Explanation:
Explanation:
To meet the XMLport configuration requirements:
* Link the child table to its parent: Use the OnAfterGetRecord trigger.
* Display a confirmation message after the XMLport runs: Use the OnPostXMLPort trigger.
In Business Central, when you are developing an XMLport for data export, triggers are used to perform actions at different stages of the XMLport's operation:
* OnAfterGetRecord Trigger:This trigger fires after a record is retrieved from the database but before it is processed for output in the XMLport. It is the ideal place to link child table records to their parent because you have access to the current record that can be used to set filters or modify data in the child table before it is written to the XML file.
* OnPostXMLPort Trigger:This trigger fires after the XMLport has finished processing all records. It is the correct place to display a confirmation message because it ensures that the message will appear after the entire XMLport operation is complete. Here, you can use application-specific functions to show the message, such as MESSAGE function in AL code.
By placing the appropriate triggers in these positions, you can ensure that the XMLport will link the child records to their parent records during the data export process and will notify the user with a confirmation message once the operation is successfully completed.
NEW QUESTION # 61
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?
- A. SharedLayout - false; Filters - where ("Balance (ICY)" - filter (> 500));
- B. Sharediayout = true; Filters - where ("Balance (ICY)" - filter (> 500));
- C. SharedLayout - true; Filters - where (Balance ■ filter (> 506), "Currency Code" - filter ('LCY')>;
- D. shareLayout = false; Filters = where (Balance = filter (> 500), "Currency Code" = filter ("ICY*));
Answer: C
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.
NEW QUESTION # 62
Drag and Drop Question
A company owns and operates hotels, restaurants, and stores.
When the staff orders materials from the purchasing department, the requests are not directed to the correct approvers.
The staff requires a new field named Approver from which they can select the appropriate approver. The field must include the following options:
- Hotel manager
- Restaurant manager
- Store manager
- Purchasing manager
You need to create the Approver field in the Item table by using an AL extension.
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.
Answer:
Explanation:
NEW QUESTION # 63
A company plans to integrate tests with its build pipelines.
The company has two Docket sandbox environments: SandboxA and SandboxB.
You observe the following:
* SandboxA is configured without the Test Toolkit installed.
* SandboxB must be configured from scratch. The Test Toolkit must be installed in SandboxB during configuration.
You need to configure the sandbox environments.
How should you complete the cmdlets? To answer, select the appropriate options in the answer area.
Answer:
Explanation:
NEW QUESTION # 64
A company plans to change a field on the Resource Card page in a Base Application.
You need to hide the field "Unit Price" from the Resource Card page.
Which code snippet should you use?
- A.

- B.

- C.

- D.

Answer: C
Explanation:
To hide the field "Unit Price" from the Resource Card page in Microsoft Dynamics 365 Business Central, you need to modify the visibility property of the field using the modify keyword, which allows you to change the properties of an existing field on a page.
Explanation:
modify("Unit Price") is the correct way to target an existing field on a page (like the Resource Card page).
The line Visible = false; makes the field invisible on the page.
Here's a breakdown of why each option is right or wrong:
Option A:
Uses addlast("Unit Price"), which is incorrect because you are not adding a new field; you're modifying an existing one. Also, Visible = false is correct for hiding a field, but the wrong method (addlast) is used.
Option B:
Uses modify("Unit Price") with Enabled = false;. This would disable the field (make it non-editable), not hide it. The field would still be visible, so this does not meet the requirement.
Option C:
Uses addlast("Unit Price"), which is incorrect, and Enabled = false;, which would disable the field, not hide it.
Option D:
modify("Unit Price") { Visible = false; } is the correct syntax for hiding the field on the page.
Correct Code Snippet:
modify("Unit Price")
{
Visible = false;
}
This hides the "Unit Price" field from the Resource Card page.
NEW QUESTION # 65
You need to develop the report Subcontract Documents Excel List that is required by the control department.
You have the following code:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION # 66
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.
Answer:
Explanation:
Explanation:
he code in the image shows an event subscription to substitute reports in Business Central.
Code Explanation:
* EventSubscriber subscribes to an event in Business Central that allows you to replace or substitute the report at runtime.
* The event here is associated with Report Distribution Management.
* The local procedure OnSubstituteReport checks if the report being requested is Vendor - List. If it is, it replaces it with My Customized Vendor - List.
Completion:
* EventSubscriber ObjectType: The correct object type in this case is Report Distribution Management.
* Event Name: The appropriate event to substitute a report is OnAfterSubstituteReport.
NEW QUESTION # 67
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?
- A. SessionSettings Handle'
- B. Recall Notification Hand let
- C. SendNotificationHandler
- D. StrMenuHandler
Answer: D
Explanation:
StrMenuHandler is used to simulate the selection of an option from a string-based menu, such as the "Ship," "Invoice," or "Ship & Invoice" options when posting a sales order. This handler allows you to programmatically select an option during automated testing.
Other handlers, such as SessionSettingsHandler or SendNotificationHandler, do not simulate the selection of menu choices, which is specifically required in this scenario.
For more details on StrMenuHandler and how it simulates user interaction with menu choices, refer to the Test Handlers in Business Central.
NEW QUESTION # 68
......
Online Questions - Outstanding Practice To your MB-820 Exam: https://preptorrent.actual4exams.com/MB-820-real-braindumps.html