ExamGecko
Home Home / Microsoft / MB-820

Microsoft MB-820 Practice Test - Questions Answers, Page 3

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

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.


Question 21
Correct answer: Question 21

DRAG DROP

A company has the following custom permission set:

You need to make the permission set visible on the Permission Sets page.

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.

NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.



Question 22
Correct answer: Question 22

Explanation:

Change the Assignable property value to true.

Add the ObsoleteState = No property.

Publish the app with the permission set to an environment.


DRAG DROP

You create a codeunit that works with a table named Boxes. You plan to filter the records and then modify them.

You get an error that you do not have permission to work with the Boxes table.

You need to assign the Indirect permissions for the Boxes table to the codeunit.

Which four code blocks should you use in sequence to assign the correct permission? To answer, move the appropriate code blocks from the list of code blocks to the answer area and arrange them in the correct order.

Question 23
Correct answer: Question 23

Explanation:

TableData

"Boxes" =

Permissions

RIM


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.

Set the Transact! on Type property to Update.

A.

Set the Transact! on Type property to Update.

Answers
B.

Declare a Savevalues' variable and assign it to true on the OnOpenPage () trigger.

B.

Declare a Savevalues' variable and assign it to true on the OnOpenPage () trigger.

Answers
C.

Set the Use Request Page property to true.

C.

Set the Use Request Page property to true.

Answers
D.

Set the SaveValues property to true.

D.

Set the SaveValues property to true.

Answers
Suggested answer: D

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.

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.

SubType

A.

SubType

Answers
B.

Access

B.

Access

Answers
C.

Description

C.

Description

Answers
Suggested answer: A

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.

DRAG DROP

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.

Question 26
Correct answer: Question 26

Explanation:

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.


DRAG DROP

You create the following Vendor table and Item table in Business Central.

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.



Question 27
Correct answer: Question 27

Explanation:

dataitem(Vendor; Vendor)

dataitem(Item; Item)

DataItemLink = "Vendor No." = Item.Vendor_No;


DRAG DROP

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.


Question 28
Correct answer: Question 28

HOTSPOT

You have a per tenant extension that contains the following code.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.


Question 29
Correct answer: Question 29

HOTSPOT

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.


Question 30
Correct answer: Question 30
Total 98 questions
Go to page: of 10