Get 100% Authentic Microsoft MB-820 Dumps with Correct Answers
New Training Course MB-820 Tutorial Preparation Guide
NEW QUESTION # 63
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 # 64
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 # 65
You are treating an app tor Business Central.
You plan to specify the following parameters and properties of the server and app.
* Startup object type and object ID
* Runtime
* Dependencies
You need to configure the JSON file for the specified parameters and properties Which JSON files should you configure? To answer, move the appropriate files to the correct object purposes You may use each file 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:
NEW QUESTION # 66
Drag and Drop Question
You create the following Vendor table and Item table in Business Central.
Vendor:
Item:
You require the following data set to assign vendors to items.
You need to create a query to assign the vendors.
Which three code blocks should you use to develop the solution? To answer, move the appropriate code blocks from the list of code blocks to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Answer:
Explanation:
Explanation:
To create a query that assigns vendors to items in Business Central, use the following code blocks in sequence:
dataitem(Vendor; Vendor)
dataitem(Item; Item)
DataItemLink = "Vendor No." = Item.Vendor_No;
Creating a query:
In Business Central, a query object is used to combine data from multiple tables. You start by specifying each table as a data item. In this case, you would start with the Vendor table and then the Item table. After specifying the data items, you need to link them together. The DataItemLink property is used to establish a relationship between two data items based on a common field.
Here, you are linking the Vendor and Item tables on the "Vendor No." field, which is present in both tables. This link ensures that the query will return a dataset that includes related records from both tables based on the vendor number. The order of the code blocks ensures the logical flow and relationships between tables as required for the query.
NEW QUESTION # 67
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:
LogMessage('PT001', 'Business Process is failed.', Verbosity::Critical, DataClassification::SystemMetadata, TelemetryScope::ExtensionPublisher, CustDimension);
NEW QUESTION # 68
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: B
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.
* 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 # 69
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 # 70
A company plans to meet new regulatory requirements.
The regulator has issued new tax tiers.
You need to update the base application table by using a table extension.
Which table field property can you change?
- A. DecimalPlaces
- B. CalcFormula
- C. AutoFormatType
- D. BlankZero
Answer: A
NEW QUESTION # 71
A company plans to meet new regulatory requirements.
The regulator has issued new tax tiers.
You need to update the base application table by using a table extension.
Which table field property can you change?
- A. BlankZero
- B. CalcFormula
- C. DecimalPlaces
- D. AutoFormatType
Answer: A
Explanation:
When updating the base application table using a table extension in Microsoft Dynamics 365 Business Central, certain properties of table fields can be modified to meet new requirements, such as regulatory changes. The DecimalPlaces property (B) is one such property that can be adjusted in a table extension. This property determines the number of decimal places that are displayed and stored for decimal fields in the table. Adjusting the DecimalPlaces property can be particularly useful when dealing with financial data and tax calculations that require precision to meet new tax tiers set by a regulator. It's important to note that not all properties can be modified in a table extension; for example, the CalcFormula property (A) cannot be changed as it affects how the field's value is calculated, which could have significant implications on the base application's logic.
NEW QUESTION # 72
The serial numbers of the non-conformities and the period in which they can be created must be in a configuration table and its corresponding page to allow them to be modified for the users.
You need to create the configuration table and page for the non-conformity functionality.
Which table configurations 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 # 73
You have a custom app.
A warning for the rule code named AAOXYZ appears in multiple app objects.
You need to change the severity of the rule from Warning to Info for only the current app.
Which three actions should you perform? Each correct answer presents part of the solution. Choose three.
NOTE: Each correct selection is worth one point.
- A. Open the Visual Studio Code user settings.json file.
- B. Add the following ruleset object to the ruleset.json file:

- C. Add the "al.ruleSetPath" property with a path to the ruleset.json file.
- D. Open the Visual Studio Code project settings.json file.
- E. Add the following ruleset object to the ruleset.json file:

- F. Change the "al.enableCodeAnalysis" property value to "false".
Answer: A,C
NEW QUESTION # 74
You create a table with fields.
You observe errors in the code
You need to resolve the 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:
NEW QUESTION # 75
Hotspot Question
You develop a test application.
You must meet the following requirements:
- Roll back changes to a test method after run time.
- Run an approve action on a test page named TestPageA.
You need to implement the given requirements on the test codeunit.
Which actions should you perform? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Answer:
Explanation:
NEW QUESTION # 76
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 # 77
Hotspot Question
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 # 78
You create a Business Central report.
You need to insert values on the Request page to be saved for the next time the report is run.
What should you do?
- A. Declare a Savevalues' variable and assign it to true on the OnOpenPage () trigger.
- B. Set the Use Request Page property to true.
- C. Set the SaveValues property to true.
- D. Set the Transact! on Type property to Update.
Answer: C
Explanation:
To ensure that the values inserted on the Request page of a Business Central report are saved for the next time the report is run, the SaveValues property (D) should be set to true. This property is available on the Request page of the report and, when set to true, allows the system to remember the values entered by the user, so they do not have to re-enter them each time they run the report. This feature enhances user experience by reducing repetitive data entry and ensuring consistency in report parameters across multiple executions. The other options mentioned, such as setting the Transaction Type property to Update (A) or declaring a Savevalues variable in the OnOpenPage trigger (B), are not directly related to saving user input on a report's Request page.
NEW QUESTION # 79
You have a custom app.
A warning for the rule code named AAOXYZ appears in multiple app objects.
You need to change the severity of the rule from Warning to Info for only the current app.
Which three actions should you perform? Each correct answer presents part of the solution. Choose three.
NOTE: Each correct selection is worth one point.
- A. Open the Visual Studio Code user settings.json file.
- B. Add the "al.ruleSetPath" property with a path to the ruleset.json file.
- C. Open the Visual Studio Code project settings.json file.
- D. Add the following ruleset object to the ruleset.json file:

- E. Add the following ruleset object to the ruleset.json file:

- F. Change the "al.enableCodeAnalysis" property value to "false".
Answer: A,B
NEW QUESTION # 80
You develop a test application.
You must meet the following requirements:
* Roll back changes to a test method after run time.
* Run an approve action on a test page named TestPageA.
You need to implement the given requirements on the test codeunit
Which actions should you perform? To answer, select the appropriate options in the answer area NOTE: Each correct selection is worth one point.
Answer:
Explanation:
Explanation:
To roll back changes to a test method after run time, you should:
* Set the TransactionModel attribute to AutoRollback.
To run an approve action on a test page named TestPageA, you should:
* Configure TestPageA.Approve.Invoke().
In Business Central's testing framework, the TransactionModel attribute can be set to AutoRollback. This ensures that any changes made during the test are rolled back after the test is complete, leaving the database in its original state.
For running an action on a test page, you would use the 'Invoke' method on the action you wish to perform. In this case, to run an approve action on TestPageA, you would use TestPageA.Approve.Invoke() within your test codeunit. This simulates the user action of approving something on the page.
These actions ensure that the testing environment is properly set up to test specific functionalities without persisting test data and to invoke actions as part of the test scenarios.
NEW QUESTION # 81
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 # 82
......
Microsoft MB-820 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
Dumps of MB-820 Cover all the requirements of the Real Exam: https://www.prep4pass.com/MB-820_exam-braindumps.html
Correct Practice Tests of MB-820 Dumps with Practice Exam: https://drive.google.com/open?id=1aCBzj5HxkRKc3vo7kWF7n9abdfs_uifn
