Demo Microsoft MB-820 Exam Questions

Demo practice questions for guest users.

Section: Practice Mode 4 Questions
Demo Practice
Question 1

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

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

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. 

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

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. 

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

Demo Practice Mode

You are viewing only the questions marked as Demo.

BACK TO EXAM