MB-820試験無料問題集「Microsoft Dynamics 365 Business Central Developer 認定」

You have a custom app.
A warning for the rule code named AA0XYZ appears in multiple app objects.
You need to change the severity of the rule from Warning to Info for only the current app.
Which three actions should you perform? Each correct answer presents part of the solution. (Choose three.) NOTE: Each correct selection is worth one point.

正解:B,E,F 解答を投票する
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.
正解:

Explanation:
* Codeunit "Discount Mgmt." compiles successfully. = NO
* VariantLine in line 17 must be changed to Line and the DiscountAmount removed for the codeunit to compile. = NO
* The DiscountIsValid method must be defined in the interface for the code to compile. = YES The codeunit "Discount Mgmt." will not compile successfully as is because the DiscountIsValid method is not defined in the "IDiscount Calculation" interface, yet it is being declared in the codeunit which implements this interface. AL requires that all procedures in the codeunit that implements an interface must be defined in the interface itself.
The VariantLine in line 17 does not need to be changed to Line, nor does the DiscountAmount need to be removed for the codeunit to compile. These are valid declarations in AL and they are correctly implemented in the codeunit. The Variant data type in AL is used to handle various data types and DiscountAmount is a valid return type for a procedure.
For the code to compile successfully, the DiscountIsValid method must be included in the interface because AL enforces that any codeunit implementing an interface must implement all the methods defined in that interface.
You need to use a query data type to retrieve requited data.
How should you complete the code' To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
正解:

Explanation:
You are retrieving data using a query data type. The following code snippet needs to be completed:
* If QueryA...: The correct option here is Open. This opens the query and prepares it for data retrieval.
* While QueryA...: The correct option here is Read. This reads through the query results one row at a time.
* If QueryA...: Open
* While QueryA...: Read
You need to determine If you have unwanted incoming web service calls in your tenant during the last seven days.
Which two KQL queries should you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

A company uses four objects in development in Business Central.
The company plans to make changes to the objects.
You need to identify the application layer for each object in Visual Studio Code.
Which objects ate available in each application layer? To answer, move the appropriate application layer to the correct objects You may use each application layer 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.
正解:

Explanation:
Language table # System layer
Activities Cue table # Base layer
Extension Management codeunit # System layer
Business Unit Card page # Base layer
Application Layers in Business Central:
In Business Central, there are different layers such as Base and System, which represent different levels of the application architecture. Here's a breakdown of where each object is likely to belong based on typical Business Central architecture:
* Language Table:This table typically belongs to the System layer, as language and localization features are often part of the foundational aspects of the system.
* Activities Cue Table:This would likely be found in the Base layer because it involves business logic that supports user interface elements (like activity cues) specific to the Business Central application.
* Extension Management Codeunit:The Extension Management Codeunit likely belongs to the System layer, as it deals with handling extensions, which is closely related to the core system functionality for managing and deploying changes.
* Business Unit Card Page:This object would typically be part of the Base layer, as it is a business- specific object that handles the user interface for business unit data, part of the core Business Central application.
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.
正解:

Explanation:
Correct Sequence
* Remove the Assignable = false property.
* Change the Assignable property value to true.
* Publish the app with permission set to an environment.
Explanation:
* Understand the Issue: The provided code shows Assignable = false;. This property determines whether the permission set is available for assignment to users in the Business Central client. If it is set to false, the permission set is treated as an internal or building-block permission set and will not appear in the "Permission Sets" page list for users to select.
* Fixing the Visibility:
* First, you must address the Assignable property. You can either remove the line Assignable = false (since the default is often true in older contexts, though explicit definition is better) or, more directly, change the value to true. The question asks for three actions, and usually, "removing the incorrect property" and "setting the correct property" are distinct steps in these drag-and-drop scenarios, or they are alternatives.
* Looking at the options, we have "Remove the Assignable = false property" and "Change the Assignable property value to true".
* The most logical "development" flow is:
* Modify the code to make it assignable (Change Assignable to true).
* Then deploy the changes.
* Refining the sequence based on the "3 actions" constraint:
* Option 1: Remove the Assignable = false property. (This creates a blank state or default state).
* Option 2: Change the Assignable property value to true. (This explicitly sets it).
* Self-Correction: You can't really do both "remove" and "change" as separate sequential steps in the same edit usually, but in these exams, they often look for the logical steps of "Identify bad code -> Fix code -> Publish".
* Let's look for a different third step. "Rename the permission set...", "Add tabledata...", "Add ObsoleteState...". None of these affect visibility on the page.
* Therefore, the steps must be:
* Remove Assignable = false (or Change it).
* Change Assignable to true (This might be a distractor vs "Remove", let's re- read carefully).
* Publish...
You are customizing Business Central by using Visual Studio Code. You create a project that will extend Business Central. The AL extension contains JSON files, which are automatically generated and are used to store configuration data For testing purposes, you plan to add the following changes to the files:
* Specify that page 21 must be opened after publishing.
* Enable debugging
* Disable the capability to download the source code
You need to add the configurations to the JSON files.
Which two configurations should you add? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

解説: (GoShiken メンバーにのみ表示されます)
A company plans to change a field on the Resource Card page in a Base Application.
You need to hide the field "Unit Price" from the Resource Card page.
Which code snippet should you use?

解説: (GoShiken メンバーにのみ表示されます)
You need to write an Upgrade codeunit and use the DataTransfer object to handle the data upgrade.
Which solution should you use for each requirement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
正解:

Explanation:

Upgrade codeunit trigger: OnValidateUpgradePerDatabase
* Since the question specifies that you are handling data upgrades, and you need to use validation before upgrading at the database level, the correct choice is OnValidateUpgradePerDatabase. This method ensures that the upgrade process is validated before applying to the entire database, making it more efficient when data affects multiple companies or structures.
DataTransfer method to use: CopyRows
* CopyRows is the appropriate method when you are handling large data transfers between tables, especially in an upgrade scenario where you are migrating or transferring data from one table to another. It copies entire rows of data and is optimal for bulk data operations during upgrades.