Free MB-820 Exam Braindumps (page: 7)

Page 7 of 15

DRAG DROP (Drag and Drop is not supported)
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.

  1. See Explanation section for answer.

Answer(s): A

Explanation:

To assign the indirect permissions for the Boxes table to the codeunit, use the following code blocks in sequence:


Assigning permissions:
In Business Central, to assign permissions within a codeunit, you need to specify the table that the permissions apply to, followed by the type of permission. The sequence starts by indicating that we are defining table data permissions (TableData). Then, we specify the table in question ("Boxes" =). After that, we state that we are setting permissions (Permissions). Finally, we assign the RIM permissions, which stands for Read, Insert, and Modify permissions. The Indirect permission allows the codeunit to read, insert, and modify records in the Boxes table indirectly, meaning these operations can be performed by the codeunit when it is called by a user who has direct permissions for these operations.



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?

  1. Set the Transact! on Type property to Update.
  2. Declare a Savevalues' variable and assign it to true on the OnOpenPage () trigger.
  3. Set the Use Request Page property to true.
  4. Set the SaveValues property to true.

Answer(s): 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?

  1. SubType
  2. Access
  3. Description

Answer(s): 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 (Drag and Drop is not supported)
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.

  1. See Explanation section for answer.

Answer(s): A

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.



Page 7 of 15



Post your Comments and Discuss Microsoft MB-820 exam with other Community members:

TwZ commented on June 18, 2024
Question 25: correct answer: Permissions = tabledata "Boxes" = rm; https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-permissions-property
PORTUGAL
upvote

lporro commented on June 05, 2024
Question 10: if you look there it says 90 days https://learn.microsoft.com/en-us/training/modules/easy-application-upgrade/consider-update-lifecycle
Anonymous
upvote