MB-820 無料問題集「Microsoft Dynamics 365 Business Central Developer」
You are writing a procedure to block all inventory items with numbers that do not start with the letter S.
You need to complete the procedure.
How should you complete the code expressions? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You need to complete the procedure.
How should you complete the code expressions? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

正解:

Explanation:

procedure BlockNonSItems()
var
Item: Record Item;
begin
// Reset the Item record to clear any previous filters.
Item.Reset();
// Set the filter to exclude items that start with ' S ' .
Item.SetFilter( " No. " , ' < > %1* ' , ' S ' );
// Find each item that matches the filter.
if Item.FindSet() then
repeat
// Set the Blocked field to true to block the item.
Item.Blocked := true;
// Save the changes to the Item record.
Item.Modify();
until Item.Next() = 0; // Continue until no more items are found.
end;
You need to develop the report Subcontract Documents Excel List that is required by the control department.
You have 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.

You have 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:

A company plans to deploy Business Central.
The company has the following deployment requirements:
* Use the company hardware architecture to run the deployment.
* Use sandbox environments to develop extensions.
* Allow tenants to connect to Shopify with the standard connector.
* Use Microsoft Power Automate to create a workflow that calls a business event.
You need to identify the deployment type for each requirement.
Which deployment types should you use? To answer, move the appropriate deployment types to the correct requirements. You may use each deployment type once, more than once, or not at all.

The company has the following deployment requirements:
* Use the company hardware architecture to run the deployment.
* Use sandbox environments to develop extensions.
* Allow tenants to connect to Shopify with the standard connector.
* Use Microsoft Power Automate to create a workflow that calls a business event.
You need to identify the deployment type for each requirement.
Which deployment types should you use? To answer, move the appropriate deployment types to the correct requirements. You may use each deployment type once, more than once, or not at all.

正解:

Explanation:
* Use the company hardware architecture to run the deployment: On-premises
* Use sandbox environments to develop extensions: Online
* Allow tenants to connect to Shopify with the standard connector: Online
* Use Microsoft Power Automate to create a workflow that calls a business event: Online When deploying Microsoft Dynamics 365 Business Central, there are two main deployment types to consider:
On-premises and Online .
* On-premises Deployment:
* The requirement to use the company ' s hardware architecture implies a need for an on-premises deployment. This is because on-premises deployment allows for the application to be installed and run directly from the company ' s in-house servers and computing infrastructure, giving full control over the environment and data.
* Online Deployment:
* The use of sandbox environments for developing extensions is a feature provided in the online version of Business Central. Sandbox environments are a part of the service offered in the cloud- based version, which allows developers to test and develop without affecting the live environment.
* Connection to Shopify with the standard connector implies an online deployment. The standard connector is typically a cloud-based service that allows Business Central to connect with other cloud platforms like Shopify, which is more seamlessly integrated with the online version.
* Lastly, the use of Microsoft Power Automate to create a workflow that calls a business event suggests an online deployment. Power Automate is a cloud-based service designed to create automated workflows between applications and services - which aligns with the services provided by the online version of Business Central.
Therefore, each requirement aligns with the deployment types as indicated above.
A company plans to customize its per tenant extension reports. The company has the following requirements for the customization:
* Child data items must not be displayed on the request page for some master detail reports.
* Selecting key filter fields takes users too much time. The customization must decrease the amount of time to select the fields.
You need to optimize the report request page.
Which actions should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

* Child data items must not be displayed on the request page for some master detail reports.
* Selecting key filter fields takes users too much time. The customization must decrease the amount of time to select the fields.
You need to optimize the report request page.
Which actions should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

正解:

Explanation:
1. Child data items... must not be displayed:
* Selection: Set the DataItemTableView sorting property.
* Reasoning: In Business Central reports, a FastTab (filter tab) is automatically generated for every data item on the request page. To hide a specific data item ' s tab, you must ensure two things: no RequestFilterFields are defined for it, and you must set the DataItemTableView property (specifically the sorting key). Simply linking the data item (via DataItemLinkReference) does not automatically hide the tab; it just defines the data relationship.
2. Decrease the amount of time to select filter fields:
* Selection: Specify the RequestFilterFields property.
* Reasoning: The RequestFilterFields property allows you to pre-define which fields appear on the request page immediately when the report opens. This eliminates the need for users to manually click " Add Filter " and search for the field, thus decreasing selection time.
You are developing an XMLport to export data from the parent Item table and a related child " Item Unit of Measure ' table. The XMLport configuration must provide the following:
* Link the child table to its parent.
* Display a confirmation message after the XMLport runs.
You need to generate the XMLport.
What should you do? To answer, move the appropriate triggers to the correct requirements. You may use each trigger 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.

* Link the child table to its parent.
* Display a confirmation message after the XMLport runs.
You need to generate the XMLport.
What should you do? To answer, move the appropriate triggers to the correct requirements. You may use each trigger 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:
To meet the XMLport configuration requirements:
* Link the child table to its parent: Use the OnAfterGetRecord trigger.
* Display a confirmation message after the XMLport runs: Use the OnPostXMLPort trigger.
In Business Central, when you are developing an XMLport for data export, triggers are used to perform actions at different stages of the XMLport ' s operation:
* OnAfterGetRecord Trigger: This trigger fires after a record is retrieved from the database but before it is processed for output in the XMLport. It is the ideal place to link child table records to their parent because you have access to the current record that can be used to set filters or modify data in the child table before it is written to the XML file.
* OnPostXMLPort Trigger: This trigger fires after the XMLport has finished processing all records. It is the correct place to display a confirmation message because it ensures that the message will appear after the entire XMLport operation is complete. Here, you can use application-specific functions to show the message, such as MESSAGE function in AL code.
By placing the appropriate triggers in these positions, you can ensure that the XMLport will link the child records to their parent records during the data export process and will notify the user with a confirmation message once the operation is successfully completed.

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?
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?
正解:B
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
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.

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