[Feb-2026] Download Real Microsoft MB-820 Exam Dumps Test Engine Exam Questions
New MB-820 exam dumps Use Updated Microsoft Exam
NEW QUESTION # 61
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:
Explanation:
To create the Approver field in the Item table using an AL extension, perform the following actions in sequence:
* Create an enum object named Approver and include all options.
* Create a table extension object for an Item table with an Approver field of enum type named Approver in the fields section.
* Create a page extension object that extends the Item Card object. Add the field to the fields section.
Build and extend tables:To add a new field to an existing table in Business Central using AL extension, you need to define an enumeration (enum) with the possible values for the new field. Then, you create a table extension object where you add the new field and specify its type as the enum you created. This adds the field to the Item table. Finally, you modify the user interface to display the new field by creating a page extension for the Item Card page and adding the new field to it.
NEW QUESTION # 62
You are developing an app.
You plan to publish the app to Microsoft AppSource.
You need to assign an object range for the app.
Which object range should you use?
- A. custom object within the range 50000 to 99999
- B. an object range within the range of 7000000 to 74999999 that is requested from Microsoft
- C. custom object within the range 50000 to 59999
- D. divided by countries and use specific a country within the range 100000 to 999999
- E. free object within the standard range 1 to 49999
Answer: B
Explanation:
When developing an app for Microsoft AppSource, it is essential to use an object range that is specifically designated by Microsoft to avoid conflicts with other apps and the base application.
The correct object range to use is:
An object range within the range of 70000000 to 74999999 that is requested from Microsoft (D):
This range is reserved for AppSource apps. Developers need to request this range from Microsoft to ensure that the objects used in their extension do not conflict with those used by other extensions or by the base application. Using this reserved range helps maintain the integrity and compatibility of extensions published on AppSource.
It's important to note that the other ranges mentioned (A, B, C, and E) are not suitable for apps intended for AppSource. Ranges 50000 to 59999 and 50000 to 99999 are typically reserved for per- tenant customizations or partner solutions, not for distribution on AppSource. The standard range 1 to 49999 is reserved for the base application objects, and using an object range divided by countries (C) is not a standard practice for AppSource apps.
NEW QUESTION # 63
You are writing a procedure to block all inventory items with numbers that do not start with the letter S.
You need to complete the procedure.
How should you complete the code expressions? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION # 64
A company uses Business Central. The company has branches in different cities.
A worker reports that each time they generate a daily summary report they get an error message that they do not have permissions.
You need to resolve the issue.
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 # 65
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:
Explanation:
NEW QUESTION # 66
You create an 'AddltemsToJson" procedure and publish it.
The procedure fails to run.
You need to fix the errors in the code.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Answer:
Explanation:
Explanation:
* In line 13, replace the Add method with Insert. = NO
* In line 15, replace the WriteTo method with ReadFrom. = NO
* Change the ItemObject variable type from JsonObject to JsonToken. = NO
* Move line 08 in the beginning of REPEAT .. UNTIL. = YES
The provided code is intended to serialize a list of items from the Item table into a JSON array format. Here is a breakdown of the code and the necessary corrections:
* In line 13, "ItemsArray.Add(ItemObject)": This line is correctly using the Add method to add the ItemObject to the ItemsArray. The Add method is the correct method to use for adding items to a JsonArray. Therefore, there is no need to replace Add with Insert.
* In line 15, "ItemsArray.WriteTo(RequestText)": The WriteTo method is used correctly to serialize the ItemsArray into a JSON formatted string and store it in the RequestText variable. The ReadFrom method is used for the opposite operation, i.e., to deserialize a JSON formatted string into a JsonArray, which is not the goal in this context. Hence, no change is needed here.
* Change the ItemObject variable type from JsonObject to JsonToken: The ItemObject variable is intended to hold JSON objects representing individual items, making JsonObject the appropriate type.
JsonToken is not a type used in this context within AL for Business Central, and thus the variable type should remain as JsonObject.
* Move line 08, "Clear(ItemObject)": This line should be moved inside the repeat loop to ensure that the ItemObject is cleared for each item in the loop. Placing it before the repeat would only clear it once before the loop starts, which could lead to incorrect serialization as the previous item's properties would not be cleared from the ItemObject.
The logic for serializing records into JSON is a common operation when interfacing with APIs or web services in Business Central, and the pattern shown in the code is typical for such operations.
NEW QUESTION # 67
A company uses Business Central.
The company has sales orders that have a different location in the header than in the customer's card. You plan to add a check on sales order posting.
The check must meet the following requirements.
* Sales Order must have the same Location Code as the Location Code set up on the customer's card.
* Must not be run in preview mode.
* Must be run even if the user is only shipping items and not invoicing.
You create an event subscription for codeunit 80 "Sales-Post" You need to identify which event to subscribe to Which event should you identify?
- A.

- B.

- C.

- D.

Answer: D
Explanation:
* This event occurs before posting a sales document.
* PreviewMode is available in the parameters, which allows checking whether the process is being run in preview mode.
* This event is typically used for sales order posting and can be used for both shipping and invoicing.
This event matches the requirements because:
* You can check if PreviewMode is false.
* It can run for both shipping and invoicing.
NEW QUESTION # 68
You are developing a codeunit for a company that uses Business Central.
The code unit must be run only during installation of an extension package.
You need to create the codeunit.
How should you complete the code' To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation:
Subtype: Install
Trigger: OnInstallAppPerCompany
You are developing a codeunit that should only run during the installation of an extension package.
Options:
* Subtype: The correct subtype is Install, as it indicates that the codeunit runs only when the extension is being installed.
* Trigger: The correct trigger for running during installation is OnInstallAppPerCompany, which handles code execution when the app is installed for a specific company.
NEW QUESTION # 69
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 IncludedPermissionSets property to Permission Set A and the ExcludedPermissionSets property to Permission Set B.
Does the solution meet the goal?
- A. No
- B. Yes
Answer: B
NEW QUESTION # 70
You need to create the codeunit to read the POS terminal APIs.
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:
codeunit 52102 "POS API Management"
{
Access = Public;
Permissions = TableData "POS Information" = rwdx;
trigger OnRun()
begin
readAPI();
end;
procedure readAPI()
begin
// Your code here to read from the POS API
end;
}
NEW QUESTION # 71
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. Fill the FileName property with the Items.csv value.
- B. Change the FormatEvaluate property to Legacy.
- C. Change the Format property to VariableText.
- D. Change the XmlVeisionNo property to 1.1.
- E. Change the Direction property to Both
Answer: C
Explanation:
XMLport OverviewIn Microsoft Dynamics 365 Business Central, XMLports are used for importing and exporting data in XML, CSV, or other text formats. By default, XMLports are designed to work with XML data, but they can also handle delimited text formats like CSV (Comma-Separated Values).
Requirement ClarificationThe requirement is to change the export format from XML to CSV. CSV is a text- based format, not an XML format. To accommodate this, you need to change how the XMLport handles data during export.
Properties of XMLport
* The Format property in XMLports controls whether the output format is XML or a text-based format such as CSV.
* The VariableText option of the Format property specifies that the data should be exported in a variable text format, like CSV.
* The XMLports default to an XML format, but by setting the Format property to VariableText, you can change the export to CSV format or another text-delimited format.
Explanation of Correct Answer (E)To switch from XML to CSV export:
* You need to change the Format property of the XMLport to VariableText.
* The VariableText option allows for the export of data in a non-XML format, which is precisely what CSV represents (a comma-delimited text file).
Why Other Options Are Incorrect
* Option A (Change the Direction property to Both):The Direction property controls whether the XMLport is used for Import, Export, or Both (import and export), but it does not affect the file format (XML vs. CSV). Hence, this is irrelevant to the file format change.
* Option B (Change the FormatEvaluate property to Legacy):The FormatEvaluate property is not related to changing the export format. It deals with the evaluation of the data format during the processing but doesn't change the format type (XML or CSV).
* Option C (Change the XmlVeisionNo property to 1.1):The XmlVersionNo property defines the XML version used for the export (such as 1.0 or 1.1). This only applies to XML exports and does not change the format to CSV.
* Option D (Fill the FileName property with Items.csv):While this option would specify the name of the file being exported (i.e., "Items.csv"), it doesn't control the format of the export itself. The actual format change is controlled by the Format property.
Developer Reference from Microsoft DocumentationAccording to the official Microsoft documentation for XMLports in Business Central, the Format property is critical for determining how data is structured for export. To change the file format from XML to CSV, developers need to set the Format property to VariableText. This allows for export in a text-delimited format, which is ideal for CSV.
* XMLport Properties - Format Property
* How to: Export Data in Text Format Using XMLports
NEW QUESTION # 72
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. Recall Notification Hand let
- B. StrMenuHandler
- C. SessionSettings Handle'
- D. SendNotificationHandler
Answer: B
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 # 73
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.
Answer:
Explanation:
NEW QUESTION # 74
You need to modify the API Customer list code to obtain the required 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.
Answer:
Explanation:
Explanation:
NEW QUESTION # 75
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
Answer: B
Explanation:
* Table Structure in Business Central: When creating entities such as "non-conformity" entities in Business Central, you use document tables to represent entities that have a header and line structure. In this case, the non-conformity entity has:
* A header with common information (Non-conformity Number, Date, Vendor No., etc.).
* One or more lines representing the detailed information for each non-conforming item.
* Document Table Usage:
* Document Table: A document table is the correct table type for scenarios where you have a header (with general information like vendor details) and lines (with detailed, item-specific information).
* Document tables are typically used for entities such as Sales Orders, Purchase Orders, or any other transactional data where you have both header and line information.
* Supplemental Table (Option C):
* Supplemental tables are usually used to add supplementary information to existing data in Business Central. In this case, we need to store detailed line information, which is a core part of the entity rather than supplementary data, so a supplemental table would not be appropriate here.
* Document History Table (Option A):
* Document history tables are used to track changes and historical data for entities but are not suitable for the main introduction of the entity and its lines. This option is also not appropriate.
Reference Documentation:
* Introduction to Business Central Tables
* Document Tables in Business Central
NEW QUESTION # 76
You need to log an error in telemetry when the business process defined in the custom application developed for Contoso, Ltd fails.
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:
Verbosity::Critical: This ensures that the telemetry logs the failure as a critical event.
DataClassification::CustomerContent: This helps classify the error as related to customer data.
TelemetryScope::All: This ensures that the error is visible across all relevant telemetry scopes, making it easier to monitor the issue in real-time.
NEW QUESTION # 77
You create a query that contains a procedure to display the top customers.
The procedure breaks at runtime.
You need to fix the 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:
Explanation:
* Enclose line 08 into BEGIN .. END = NO
* Add TopCustomerOverview.Open(); before = YES
* TopCustomerOverview.SetFilter(Sales_LCY, '>10000'); in line 06.
* Add TopCustomerOverview.Open(); after TopCustomerOverview.SetFilter(Sales_LCY, '>10000'); in line 06. = YES
* Replace SetFilter in line 06 with SetRange. = NO
The code provided has a runtime error because the query TopCustomerOverview must be opened before it can be read from. Therefore, TopCustomerOverview.Open(); should be added before trying to read from the query, which is not present in the code.
Enclosing line 08 into a BEGIN .. END block is unnecessary because it is a single statement, and AL does not require a BEGIN .. END block for single statements within trigger or procedure bodies.
TopCustomerOverview.SetFilter(Sales_LCY, '>10000'); is a correct method to set a filter for the query, and using SetRange instead is not necessary unless the requirement is specifically to set a range of values, which is not indicated in the procedure's description.
In summary, for the procedure to run correctly, the query must be opened after setting the filter and before attempting to read from it. The SetFilter method is correct for the intended operation, and there's no requirement to use SetRange or to enclose the Message call in a BEGIN .. END block.
Topic 1, Contoso, Ltd. 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.
Contoso, Ltd. uses Business Central online as the main ERP for financial. 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.
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.
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 nan Postlude.
* Code modifications will be required over time.
* The Issue Management process must be split into two extensions:
o ISSUE BASE: main extension
o 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 Issue Total.
* 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:
field (2; Description; Text[SG])
{
DataClassificstion * CustoaerContent;
>
* The Issue table defined in ISSUE BASE extension contains a Clone procedure defined as follows:
procedure Corte () begin end;
* In the ISSUE EXT extension, you create a table extension object of the Issue table.
* The table extension object of the Issue table must access the Issue Total: 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:
(Service Enabled]
procedure Copy (vary action Context: WebServiceActionContext)
begin
end;
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.
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.
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.
NEW QUESTION # 78
You are writing a procedure to block all inventory items with numbers that do not start with the letter S.
You need to complete the procedure.
How should you complete the code expressions? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation:
procedure BlockNonSItems()
var
Item: Record Item;
begin
// Reset the Item record to clear any previous filters.
Item.Reset();
// Set the filter to exclude items that start with 'S'.
Item.SetFilter("No.", '<>%1*', 'S');
// Find each item that matches the filter.
if Item.FindSet() then
repeat
// Set the Blocked field to true to block the item.
Item.Blocked := true;
// Save the changes to the Item record.
Item.Modify();
until Item.Next() = 0; // Continue until no more items are found.
end;
NEW QUESTION # 79
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 # 80
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:
Topic 4, Mix Questions
Mix Questions
MB-820 Mix Questions IN THIS CASE STUDY
NEW QUESTION # 81
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:
NEW QUESTION # 82
You develop a table named Contoso Setup and a page.
You plan to use No. Series to automatically assign a unique number to data entries. You set up No. Series on the Vendor Nos. field of the Contoso Setup table.
You need to apply the No. Series Design Pattern to the trigger Onlnsert().
Which four code segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.
Answer:
Explanation:
Explanation:
To properly apply the No. Series Design Pattern in the OnInsert() trigger, the correct sequence of actions should be as follows:
* ContosoSetup.Get();
* First, retrieve the Contoso Setup record using the Get method. This ensures that the necessary setup information is available, including the No. Series.
* if "No." = '' then begin
* Next, check if the No. field is empty. If it is, a new number from the No. Series should be assigned.
* NoSeriesManagement.InitSeries(ContosoSetup."Vendor Nos.", "No. Series", 0D, "No.", "No.
Series");
* Call the InitSeries function to assign a new number from the No. Series. This initializes the No.
Series for the Vendor Nos. field.
* ContosoSetup.TestField("Vendor Nos.");
* Lastly, ensure that the Vendor Nos. field is populated and valid by calling TestField.
Correct Order for Code Segments:
* ContosoSetup.Get();
* if "No." = '' then begin
* NoSeriesManagement.InitSeries(ContosoSetup."Vendor Nos.", "No. Series", 0D, "No.", "No.
Series");
* ContosoSetup.TestField("Vendor Nos.");
NEW QUESTION # 83
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 # 84
......
Pass Your MB-820 Dumps as PDF Updated on 2026 With 120 Questions: https://dumpsvce.exam4free.com/MB-820-valid-dumps.html
