MB-820 Dumps

MB-820 Free Practice Test

Microsoft MB-820: Microsoft Dynamics 365 Business Central Developer

QUESTION 1

HOTSPOT - (Topic 1)
You need to create the codeunit to read the POS terminal APIs.
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.
MB-820 dumps exhibit
Solution:
codeunit 52102 "POS API Management"
{
Access = Public;
Permissions = TableData "POS Information" = rwdx;
trigger OnRun() begin readAPI();
end;
procedure readAPI() begin
// Your code here to read from the POS API end;
}

Does this meet the goal?

Correct Answer: A

QUESTION 2

HOTSPOT - (Topic 1)
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.
MB-820 dumps exhibitF
Solution:
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;

Does this meet the goal?

Correct Answer: A

QUESTION 3

- (Topic 4)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result these questions will not appear in the review screen.
A company plans to optimize its permission sets. The company has the following permission sets:
MB-820 dumps exhibit
You need to provide the following implementation for a third permission set:
• Create a new Permission Set C that is a composite of Permission Set A and Permission Set B.
• Assign Permission Set C to a user.
You need to ensure that the user has only read access to the Job table. Solution: Set the Excluded Permission Sets property to Permission Set B. Does the solution meet the goal?

Correct Answer: B

QUESTION 4

- (Topic 4)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result these questions will not appear in the review screen.
A company plans to optimize its permission sets. The company has the following permission sets:
You need to provide the following implementation for a third permission set:
MB-820 dumps exhibit
• Create a new Permission Set C that is a composite of Permission Set A and Permission Set B.
• Assign Permission Set C to a user.
You need to ensure that the user has only read access to the Job table.
Solution: Set the IncludedPermissionSets property to Permission Set A and the Excluded PermissionSets property to Permission SetB.
Does the solution meet the goal?

Correct Answer: B

QUESTION 5

DRAG DROP - (Topic 2)
You need to implement the Issue Management module and expose the Postlssue method.
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.
NOTE: Note than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
MB-820 dumps exhibit
Solution:
Here is the most logical sequence of actions for implementing the Issue Management module in Business Central and exposing the PostIssue method: Correct Order:
✑ Create a codeunit named "Issue Management Impl." and set the value of Access property to Internal.
✑ Create a local procedure named PostIssueImpl in the "Issue Management Impl." codeunit.
✑ Create a codeunit named "Issue Management" and set the value of Access property to Public.
✑ Create a PostIssue procedure in the "Issue Management" codeunit, and in it call the PostIssueImpl method.

Does this meet the goal?

Correct Answer: A