[Q64-Q84] Get Prepared for Your MB-820 Exam With Actual Microsoft Study Guide!

Share

Get Prepared for Your MB-820 Exam With Actual Microsoft Study Guide!

Pass Your Next MB-820 Certification Exam Easily & Hassle Free

NEW QUESTION # 64
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 # 65
A developer creates a profile for part-time shop supervisors and adds customizations.
You plan to add new requirements to the profile.
You need to analyze the code to understand the profile and make sure there are no errors.

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:
The Part Time Shop Supervisor profile will be applied only to users with "Register Time" = true on User Setup: No Variables, procedures, and triggers cannot be added on page customization objects: Yes Line 10 should use extends instead of customizes: No In line 18, "Unit Cost" will be moved after "Costing Method": Yes The Part Time Shop Supervisor profile will be applied only to users with "Register Time" = true on User Setup.
* No
* The code doesn't contain any reference to the User Setup table or the Register Time field, so this is not correct. Profiles are not applied conditionally based on fields like this.
Variables, procedures, and triggers cannot be added on page customization objects.
* Yes
* Page customization objects are meant for UI modifications, such as moving or hiding fields. You cannot add variables, procedures, or triggers in a page customization object.
Line 10 should use extends instead of customizes.
* No
* In AL, when customizing a page within a profile, you use customizes rather than extends. Extends is used when modifying base application objects, but customizes is used to customize pages within a profile.
In line 18, "Unit Cost" will be moved after "Costing Method".
* Yes
* The code in line 18 is correct. The moveafter directive will move the "Unit Cost" field after the " Costing Method" field on the page layout.


NEW QUESTION # 66
A company uses four objects in development in Business Central.
The company plans to make changes to the objects.
You need to identify the application layer for each object in Visual Studio Code.
Which objects ate available in each application layer? To answer, move the appropriate application layer to the correct objects You may use each application layer 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:
Language table # System layer
Activities Cue table # Base layer
Extension Management codeunit # System layer
Business Unit Card page # Base layer
Application Layers in Business Central:
In Business Central, there are different layers such as Base and System, which represent different levels of the application architecture. Here's a breakdown of where each object is likely to belong based on typical Business Central architecture:
* Language Table:This table typically belongs to the System layer, as language and localization features are often part of the foundational aspects of the system.
* Activities Cue Table:This would likely be found in the Base layer because it involves business logic that supports user interface elements (like activity cues) specific to the Business Central application.
* Extension Management Codeunit:The Extension Management Codeunit likely belongs to the System layer, as it deals with handling extensions, which is closely related to the core system functionality for managing and deploying changes.
* Business Unit Card Page:This object would typically be part of the Base layer, as it is a business- specific object that handles the user interface for business unit data, part of the core Business Central application.


NEW QUESTION # 67
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:


NEW QUESTION # 68
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 # 69
You plan to run a debug for a client.
You extend the Standard Sales - Invoice report to add a new requirement.
You create a Report Extension 'Ext Standard Sales - Invoice' with ID = 50100 and add the following lines of code. (Line numbers are included for reference only.)

The client informs you that the value of the New Total VATBaseLCY column is incorrect.
You need to run a debug to identify the cause.
Which four 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:
Here's the process to follow in the correct sequence:
* In Visual Studio Code, locate the Ext Standard Sales - Invoice report extension from your application.
* The first step is to locate the specific extension you're working with so you can modify or inspect its code.
* Search where the NewTotalVATBaseLCY variable is being calculated and set a breakpoint on the line.
* To debug the issue, you need to place a breakpoint on the line where the NewTotalVATBaseLCY is calculated.
* Start debugging.
* Once the breakpoint is set, you begin the debugging process to examine the values and code execution.
* Use the step-over functionality.
* After starting the debugging, you will use the step-over functionality to move through the code line by line and observe the values of the variables.


NEW QUESTION # 70
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 # 71
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:


NEW QUESTION # 72
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:
Codeunit::"Report Management", 'OnAfterSubstituteReport' If ReportId = Report::"Vendor - List" then NewReportId := Report::"My Customized Vendor - List"


NEW QUESTION # 73
You need to create the Install codeunit that is requited in the extension used for installing or updating the Housekeeping app.
Which data type or declaration 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 # 74
You need to create the Install codeunit that is requited in the extension used for installing or updating the Housekeeping app.
Which data type or declaration should you use? To answer, select the appropriate options in the answer area.
NOTE; Each correct selection is worth one point.

Answer:

Explanation:

Explanation:
For the Install codeunit required for the extension used for installing or updating the Housekeeping app, you should use the following data type and declaration:
* Data type for information: ModuleInfo
* Start of the declaration of the method or procedure to perform the tasks: local procedure In AL language, which is used for developing extensions in Business Central, an Install codeunit is a special type of codeunit that is used to handle installation or upgrade logic for an extension.
* ModuleInfo is a data type that contains information about the current extension, such as its version. It is typically used within the OnInstallAppPerCompany or OnUpgradePerCompany triggers of an Install codeunit to determine if the app is being installed for the first time or upgraded.
* A local procedure within an Install codeunit is a method that is only accessible within the codeunit itself. It is not visible to other objects or extensions. This is suitable for tasks that are internal to the installation process and should not be exposed globally.
These selections align with the requirements of handling installation and update procedures in a controlled and encapsulated manner within Business Central extensions.


NEW QUESTION # 75
A company has a page named New Job Status connected to a source table named Job. The page has an action named Item Ledger Entries. The company requires the following changes to the page:
* Filter the page to display only jobs with open or quote status.
* Add the following comment for internal use: This page does not include completed jobs.
* Item Ledger Entries action must open the selected job on the page and display it in the Ul for users to modify.
You need to select the property selections to use for each requirement.
Which property selections should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Explanation:


NEW QUESTION # 76
You are exporting data from Business Central.
You must export the data in a non-fixed length and width in CSV format.
You need to generate an XMLport to export the data in the required format.
Which Format property value should you use?

  • A. XML
  • B. VariableText
  • C. FixedText

Answer: B

Explanation:
When exporting data from Business Central and the requirement is for the data to be in a non- fixed length and width CSV format, the Format property of the XMLport should be set to VariableText (B). The VariableText format is designed for handling data exports where the fields are separated by a delimiter, such as a comma or tab, which is typical of CSV (Comma- Separated Values) files. This format allows for the flexibility needed when dealing with varying field lengths, as it does not enforce a fixed width for each field, making it ideal for CSV data exports. Setting the Format property to FixedText (C) would enforce a fixed width for each field, which is not suitable for CSV files, while the XML format (A) is used for exporting data in an XML structure, which is different from the CSV format requirements.


NEW QUESTION # 77
A developer creates a profile for part-time shop supervisors and adds customizations.
You plan to add new requirements to the profile.
You need to analyze the code to understand the profile and make sure there are no errors.

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:
The Part Time Shop Supervisor profile will be applied only to users with "Register Time" = true on User Setup: No Variables, procedures, and triggers cannot be added on page customization objects: Yes Line 10 should use extends instead of customizes: No In line 18, "Unit Cost" will be moved after "Costing Method": Yes The Part Time Shop Supervisor profile will be applied only to users with "Register Time" = true on User Setup.
* No
* The code doesn't contain any reference to the User Setup table or the Register Time field, so this is not correct. Profiles are not applied conditionally based on fields like this.
Variables, procedures, and triggers cannot be added on page customization objects.
* Yes
* Page customization objects are meant for UI modifications, such as moving or hiding fields. You cannot add variables, procedures, or triggers in a page customization object.
Line 10 should use extends instead of customizes.
* No
* In AL, when customizing a page within a profile, you use customizes rather than extends. Extends is used when modifying base application objects, but customizes is used to customize pages within a profile.
In line 18, "Unit Cost" will be moved after "Costing Method".
* Yes
* The code in line 18 is correct. The moveafter directive will move the "Unit Cost" field after the " Costing Method" field on the page layout.


NEW QUESTION # 78
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.
Hotspot Question
You need to write the code to call the subcontractor's REST API.
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 # 79
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:

Explanation:
Add Clear(PurchaseLine); as a line before line 01 of the code: No
Add PurchaseLine.SetFilter("Line No."; '>0') as a line after line 06: Yes Change the filter on line 06 from a "No." field to a "Document No." field: No Remove "not" in line 07: No Add Clear(PurchaseLine); as a line before line 01 of the code.
* No
* You do not need to clear the PurchaseLine record before running the query, because the SetRange filters will take care of setting the correct context.
Add PurchaseLine.SetFilter("Line No."; '>0') as a line after line 06.
* Yes
* Adding a SetFilter on the "Line No." field ensures that you're checking for actual purchase lines greater than 0, which are valid lines. This would fix the issue where the check might return false even when lines exist.
Change the filter on line 06 from a "No." field to a "Document No." field.
* No
* The filter on the No. field is correct, as it's filtering based on the purchase order number. Changing this to Document No. is unnecessary.
Remove "not" in line 07.
* No
* The not in line 07 is necessary because IsEmpty() returns true when no lines are found. To correctly return a boolean indicating whether the purchase order has lines, you need to negate the result of IsEmpty().


NEW QUESTION # 80
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.

Answer:

Explanation:

Explanation:
Statements:
* Replace line 16 with ResponseText := ResponseMessage
* answer: NoThe correct way to handle the response is to use ReadAs or similar methods to read the content from the response, not just assign the ResponseMessage directly to ResponseText.
Hence, this statement is incorrect.
* In line 13, change the 'text/plain' value to 'application/json'
* answer: YesSince the procedure is expected to send a POST request with JSON content, changing the content type to 'application/json' is correct. This ensures that the server understands the content is in JSON format.
* Replace line 14 with Client.DefaultRequestHeaders.Add('Authorization', 'Bearer ' + Token);
* answer: NoIn AL, the authorization headers are managed through HttpHeaders, and the Client.
DefaultRequestHeaders method is not available in AL. Therefore, this statement is incorrect.
* In line 10, replace WriteFrom with ReadAs
* answer: NoWriteFrom is the correct method for sending the request content, as it writes data from the RequestText variable to the HttpContent. ReadAs is used for reading the response, not for writing the request content.


NEW QUESTION # 81
You plan to create a table to hold client data.
You have the following data integrity requirements:
* Lookups into other records must be established.
* Validate if a record exists in a destination record.
You need to select the table field property to use for each requirement.
Which table field property should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Answer:

Explanation:

Explanation:
For the data integrity requirements, the table field properties to use are:
* To establish lookups into other records, use the TableRelation property.
* To validate if a record exists in a destination record, use the ValidateTableRelation property.
In Business Central, when creating tables to hold data, maintaining data integrity is crucial:
* TableRelation Property:This property is used to create a relationship between the field in one table and a field in another table, which is typically used for lookups. When you set the TableRelation property on a field, it allows users to select from a list of values that exist in the related table.
* ValidateTableRelation Property:This property is used to ensure that the value entered in a field matches one of the values in a related table. If a user tries to enter a value that doesn't exist in the related table, an error will occur.


NEW QUESTION # 82
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 # 83
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:

Explanation:


NEW QUESTION # 84
......

Ace MB-820 Certification with 124 Actual Questions: https://pass4lead.premiumvcedump.com/Microsoft/valid-MB-820-premium-vce-exam-dumps.html