[Jun 07, 2026] MB-820 Exam Dumps 100% Same Q&A In Your Real Exam
MB-820 Test Engine Dumps Training With 124 Questions
NEW QUESTION # 67
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. Option C
- B. Option A
- C. Option B
- D. Option D
- E. Option E
Answer: B,C
NEW QUESTION # 68
You need to parse the API JSON response and retrieve each order no. in the response body.
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 # 69
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: C
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 # 70
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:
Explanation:
NEW QUESTION # 71
A company plans to customize its per tenant extension reports. The company has the following requirements for the customization:
* Child data items must not be displayed 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.
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.
Answer:
Explanation:
Explanation:
For the given requirements, you should configure the following actions:
* For child data items not to be displayed on the request page for some master-detail reports, set the DataItemLinkReference property to the parent data item.
* To decrease the amount of time to select key filter fields, specify the RequestFilterHeading property.
In Dynamics 365 Business Central, when customizing report request pages, certain properties can be set to control the behavior and display of the report options:
* Hiding Child Data Items:The DataItemLinkReference property is used to link a child data item to a parent data item in the data model of a report. Setting this property correctly will ensure that the child data items are related to the correct parent data item and will be displayed or hidden accordingly on the request page. If the goal is to prevent child data items from being displayed, you need to make sure they are correctly linked and configured to not appear.
* Optimizing Filter Field Selection:The RequestFilterHeading property is used to group filter fields on the request page. By specifying this property, you can create a more organized and user-friendly interface, which can significantly speed up the process of selecting filters. This property allows you to categorize filters into headings, making it quicker and easier for users to find and set the necessary filters for the report.
By adjusting these properties on the report request page as part of the per tenant extension customization, you will address the company's requirements to optimize the user experience when running reports.
NEW QUESTION # 72
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: A
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 # 73
You need to parse the API JSON response and retrieve each order no. in the response body.
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:
Code Segment Analysis:
* The AL code is trying to read JSON data from a response and process it to extract subcontracting order numbers. It uses JsonToken, JsonObject, and JsonArray to work with the JSON data.
* JToken.ReadFrom(Data): This line reads the incoming JSON data and converts it into a token. It processes the full JSON body so you can start working with it.
* JToken.SelectToken("results"): This line selects the part of the JSON containing the results array.
The key "results" is where the JSON response data is expected to be found.
* JsonArray: Once the results are extracted, they are stored as an array, and each element in the array (which is expected to contain subcontracting order numbers) is processed.
* SubcontractingOrderNo: The extracted order_no from the JSON is stored in this variable.
Breakdown of Steps:
* JToken.ReadFrom(Data): This step reads the entire JSON response.
* JToken.SelectToken("results"): This step selects the results array from the JSON response.
* JArray.AsArray(): This step converts the selected results token into a JSON array that can be iterated over.
* GetValueAsText(JToken, 'order_no'): This step retrieves the order_no from each element in the array.
Correct Code Completion:
* JToken.ReadFrom(Data): This is the correct method to read the incoming JSON response, as it will convert the string into a JsonToken that can be further processed.
* JToken.SelectToken("results"): This is the correct method to extract the results array from the token.
This method looks for the key "results" in the JSON and retrieves the relevant array.
Final Code Segment:
al
Copy code
procedure ReadJsonData(Data: text)
var
JToken: JsonToken;
JObject: JsonObject;
JArray: JsonArray;
SubcontractingOrderNo: Code[20];
begin
if Data = '' then
exit;
JToken := JToken.ReadFrom(Data); // Step 1: Read the JSON response data.
JToken := JToken.SelectToken('results'); // Step 2: Select the "results" array.
JArray := JToken.AsArray(); // Convert the token into a JSON array.
foreach JToken in JArray do begin
SubcontractingOrderNo := GetValueAsText(JToken, 'order_no'); // Retrieve the order number.
end;
end;
* JToken.ReadFrom(Data): This reads the raw JSON data string and converts it into a JSON token that can be processed.
* JToken.SelectToken("results"): This extracts the results array from the JSON data.
* JArray.AsArray(): Converts the token into an array so we can iterate over it.
* GetValueAsText(JToken, 'order_no'): Extracts the order_no value from each item in the array.
NEW QUESTION # 74
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 # 75
You plan to write unit test functions to test newly developed functionality in an app.
You must create a test codeunit to write the functions.
You need to select the property to use for the test codeunit.
Which property should you use to ensure that the requirements are fulfilled?
- A. Access
- B. SubType
- C. Description
Answer: B
Explanation:
When creating a test codeunit in Microsoft Dynamics 365 Business Central to write unit test functions, the SubType property (A) of the codeunit should be set to Test. This property is crucial for defining the codeunit's purpose and behavior within the application. By setting the SubType property to Test, you are indicating that the codeunit contains test functions intended to validate the functionality of other parts of the application, such as customizations or new developments. This distinction ensures that the testing framework within Business Central recognizes the codeunit as a container for test functions, allowing it to execute these functions in a testing context, which can include setting up test data, running the tests, and cleaning up after the tests have completed.
NEW QUESTION # 76
A company plans to customize its per tenant extension reports. The company has the following requirements for the customization:
* Child data items must not be displayed 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.
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.
Answer:
Explanation:
Explanation:
1. Child data items... must not be displayed:
* Selection: Set the DataItemTableView sorting property.
* Reasoning: In Business Central reports, a FastTab (filter tab) is automatically generated for every data item on the request page. To hide a specific data item's tab, you must ensure two things: no RequestFilterFields are defined for it, and you must set the DataItemTableView property (specifically the sorting key). Simply linking the data item (via DataItemLinkReference) does not automatically hide the tab; it just defines the data relationship.
2. Decrease the amount of time to select filter fields:
* Selection: Specify the RequestFilterFields property.
* Reasoning: The RequestFilterFields property allows you to pre-define which fields appear on the request page immediately when the report opens. This eliminates the need for users to manually click
"Add Filter" and search for the field, thus decreasing selection time.
NEW QUESTION # 77
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. Add the Locked = true parameter to the Caption.
- B. Delete the Caption property.
- C. Copy the same caption for each language in the translation file.
- D. Set the GenerateLockedTranslations feature in the appjson file.
- E. Use the CaptionML property and copy the same caption for each language used.
Answer: A
Explanation:
To prevent a caption from being translated in an extension for Microsoft Dynamics 365 Business Central, you should add the Locked = true parameter to the Caption (C). This parameter explicitly marks the caption as locked for translation, ensuring that it remains unchanged across different language versions of the extension. This approach is useful for specific terms, brand names, or other elements within the application that should remain consistent regardless of the user's language settings. Unlike the other options, which involve manual manipulation of the translation file or properties, setting Locked = true directly in the AL code provides a clear, maintainable, and error-proof method to exclude specific captions from the translation process.
NEW QUESTION # 78
You are creating a new Business Central report.
You plan to use triggers and functions to dynamically create a dataset and control the report behavior.
You must provide the following implementation.
* Run when the report is loaded.
* Run when the data item is iterated for the last time.
* Skip the rest of the report.
You need to select the triggers and functions for the report.
Which triggers and functions should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION # 79
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 # 80
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.
F
Answer:
Explanation:
Explanation:
var
TempBlob: Codeunit "Temp Blob";
IncidentOutStream: OutStream;
IncidentInStream: InStream;
ImageFilter, FileName: Text;
begin
// Initialize the TempBlob and streams
TempBlob.CreateOutStream(IncidentOutStream);
Rec.Image.ExportStream(IncidentOutStream); // 'Rec' refers to the current Room Incident record TempBlob.CreateInStream(IncidentInStream);
// Set the filters and filename for the image
ImageFilter := 'Image Files (*.bmp,*.jpg,*.jpeg,*.gif)|*.bmp;*.jpg;*.jpeg;*.gif'; FileName := 'Customer Picture';
// Prompt the user to download the image
if not DownloadFromStream(IncidentInStream, '', 'Download Incident Picture', '', ImageFilter, FileName) then Error('Unable to download the image.'); end;
NEW QUESTION # 81
You need to create the Fabrikam Vendor API for the accounting 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 # 82
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.
Answer:
Explanation:
NEW QUESTION # 83
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: A
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 # 84
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:
Explanation:

Based on the PowerShell script snippet you've provided and the scenario described, you need to configure Docker sandbox environments for a company with specific requirements for Test Toolkit installations.
For SandboxA, since it is configured without the Test Toolkit installed, you would typically use the PowerShell cmdlet Install-TestToolkitToBcContainer to install the Test Toolkit into the Business Central Docker container.
For SandboxB, which must be configured from scratch with the Test Toolkit installed during configuration, you would include the Test Toolkit as part of the New-BcContainer script block that creates the container.
The relevant cmdlets and parameters for SandboxB would include:
* -includeTestToolkit: This parameter ensures that the Test Toolkit is included during the creation of the new container.
Given the limited context from the image, here's how you should complete the cmdlets for SandboxB:
* Add -includeTestToolkit in the New-BcContainer script to ensure the Test Toolkit is installed when creating SandboxB.
* Since you are setting up SandboxB from scratch, you don't need to run Install- TestToolkitToBcContainer separately as the toolkit will be included at the time of container creation with the -includeTestToolkit parameter.
For the New-BcContainer cmdlet, you would fill in the placeholders with the appropriate values for artifactUrl, imageName, and licenseFile if they are required for your specific setup.
NEW QUESTION # 85
......
MB-820 Practice Test Pdf Exam Material: https://certblaster.lead2passed.com/Microsoft/MB-820-practice-exam-dumps.html