Certs Club
Home
Oracle Microsoft Cisco CompTIA Salesforce Amazon AACE International Acams Anthropic Apple View All Vendors →
Login Register

Microsoft MB-820 - Microsoft Dynamics 365 Business Central Developer Certification Exam

Download Exam View Entire Exam
Page: 1 / 1
Question #1 (Topic: demo questions)

HOTSPOT 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

A.
Data types or declarations for an Install codeunit
RequirementAvailable Options (Correct Answers in Bold)
Data type for information

* ModuleDependencyInfo


* ModuleInfo


* SessionInformation

Start of the declaration of the method or procedure to perform the tasks

* global procedure


* local procedure


* procedure

Correct Answer: A
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. 
Question #2 (Topic: demo questions)

You need to define the data types for the fields of the N on-conformity table. Which two data types should you use? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. 

A.
Integer for the N on-conformity Number field
B.
Date Time for the Non-Conformity Date field
C.
Char for the Non-Conformity Number field
D.
Date for the Non-Conformity Date field
E.
Code for the Non-Conformity Number field 
Correct Answer: C, E
Explanation:
In Business Central, fields in tables are assigned specific data types that determine the kind of data they can store. For the Non-conformity table mentioned in the case study, the following data types should be used: Date for the Non-Conformity Date field: This is because the Non-conformity Date field is required to store only the date when the non-conformity was recorded. The Date data type is appropriate for storing dates without times. Code for the Non-Conformity Number field: The Non-conformity Number field is described to use alphanumeric values with a format that includes "NC" and the year, like "NC24-001". In Business Central, the Code data type is used for fields that store alphanumeric keys. It is a text field with a limited length, which makes it suitable for number series that contain letters and numbers. Other options are not suitable: A. Integer for the Non-conformity Number field: This would not be appropriate because the Non- conformity Number includes alphanumeric characters and not just integers. B. DateTime for the Non-Conformity Date field: This is not correct because there is no requirement to store the time alongside the date. C. Char for the Non-Conformity Number field: Char data type is not typically used in Business Central for number series or identifiers. The Code data type is preferred for this purpose. 
Question #3 (Topic: demo questions)

HOTSPOT You need to define the properties of the comments field of the Non-conformity 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. 

A.
Code Drop-down Configuration
Drop-down Position / Property ElementAvailable Options
First Drop-down (Line right after ApplicationArea = All;)

* MultiLine = True;


* MultiLine = False;


* NotBlank = True;


* NotBlank = False;

Second Drop-down (Left side of the assignment operator =)

* DataType


* ExtendDataType


* ExtendedDatatype


* RichDataType

Third Drop-down (Right side of the assignment operator, ending with ;)

* LongContent


* None


* RichContent


* TextRichContent

Correct Answer: A
Explanation:
ExtendedDataType Property Configuration
Drop-down Position / Property ElementOptions (Correct Selected Value in Bold)
First Drop-down Line (Immediately after ApplicationArea = All;)

* MultiLine = True;


* MultiLine = False;


* NotBlank = True;


* NotBlank = False;

Second Drop-down Line (Left side of the assignment operator =)

* DataType


* ExtendDataType


* ExtendedDatatype


* RichDataType

Third Drop-down Line (Right side of the assignment operator, ending with ;)

* LongContent


* None


* RichContent


* TextRichContent

Question #4 (Topic: demo questions)

HOTSPOT 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. 

A.
. First Drop-down Option List
Located right below the header codeunit 52102 "POS API Management":
Access = Internal
Access = Public
Permissions = TableData "POS Information" = rdx
Permissions = TableData "POS Information" = RMDX
2. Second Drop-down Option List
Located below the OnRun() trigger to declare the function called inside it:
procedure readAPI()
procedure readAPI(PosNo: Integer)
var procedure readAPI()
Correct Answer: A
Explanation:
Codeunit Configuration & Selections
Drop-down Position / Code Block ElementOptions (Correct Selected Value in Bold)

First Drop-down Line


(Directly below the codeunit declaration block header)

* Access = Internal


* Access = Public


* Permissions = TableData "POS Information" = rdx


* Permissions = TableData "POS Information" = RMDX

Second Drop-down Line


(Directly above the method's begin statement to define the function)

* procedure readAPI()


* procedure readAPI(PosNo: Integer)


* var procedure readAPI()

Download Exam
Page: 1 / 1
Next Page