[2026年03月17日] 有効なMB-820テスト解答とMicrosoft MB-820試験PDF問題を試そう [Q26-Q42]

Share

[2026年03月17日] 有効なMB-820テスト解答とMicrosoft MB-820試験PDF問題を試そう

実際に出るMB-820試験問題集には正確で更新された問題


Microsoft MB-820 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • ALオブジェクトを使用した開発:このトピックでは、テーブルとレポートの構築と拡張について説明します。また、XMLポートの設計と作成についても説明します。最後に、エンタイトルメントオブジェクトと権限セットオブジェクトの操作方法について説明します。
トピック 2
  • Business Central の説明:Business Central のコンポーネントと機能、そして Business Central のコアソリューションと拡張アプローチについて説明することが、このトピックの焦点です。また、Business Central Online と Business Central オンプレミスの機能の違いについても説明します。
トピック 3
  • ALを使った開発:UIエクスペリエンスのカスタマイズ方法と、Business Central拡張機能でのALの使用方法について説明します。また、必須の開発標準についても詳しく説明します。
トピック 4
  • Business Central と他のアプリケーションの統合:このトピックでは、Representational State Transfer (REST) サービスへのアクセスについて説明します。また、API の実装についても説明します。

 

質問 # 26
You need to parse the API JSON response and retrieve each order no. in the response body.
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.

正解:

解説:

Explanation:

Code Segment Analysis:
* The AL code is trying to read JSON data from a response and process it to extract subcontracting order numbers. It uses JsonToken, JsonObject, and JsonArray to work with the JSON data.
* JToken.ReadFrom(Data): This line reads the incoming JSON data and converts it into a token. It processes the full JSON body so you can start working with it.
* JToken.SelectToken("results"): This line selects the part of the JSON containing the results array.
The key "results" is where the JSON response data is expected to be found.
* JsonArray: Once the results are extracted, they are stored as an array, and each element in the array (which is expected to contain subcontracting order numbers) is processed.
* SubcontractingOrderNo: The extracted order_no from the JSON is stored in this variable.
Breakdown of Steps:
* JToken.ReadFrom(Data): This step reads the entire JSON response.
* JToken.SelectToken("results"): This step selects the results array from the JSON response.
* JArray.AsArray(): This step converts the selected results token into a JSON array that can be iterated over.
* GetValueAsText(JToken, 'order_no'): This step retrieves the order_no from each element in the array.
Correct Code Completion:
* JToken.ReadFrom(Data): This is the correct method to read the incoming JSON response, as it will convert the string into a JsonToken that can be further processed.
* JToken.SelectToken("results"): This is the correct method to extract the results array from the token.
This method looks for the key "results" in the JSON and retrieves the relevant array.
Final Code Segment:
al
Copy code
procedure ReadJsonData(Data: text)
var
JToken: JsonToken;
JObject: JsonObject;
JArray: JsonArray;
SubcontractingOrderNo: Code[20];
begin
if Data = '' then
exit;
JToken := JToken.ReadFrom(Data); // Step 1: Read the JSON response data.
JToken := JToken.SelectToken('results'); // Step 2: Select the "results" array.
JArray := JToken.AsArray(); // Convert the token into a JSON array.
foreach JToken in JArray do begin
SubcontractingOrderNo := GetValueAsText(JToken, 'order_no'); // Retrieve the order number.
end;
end;
* JToken.ReadFrom(Data): This reads the raw JSON data string and converts it into a JSON token that can be processed.
* JToken.SelectToken("results"): This extracts the results array from the JSON data.
* JArray.AsArray(): Converts the token into an array so we can iterate over it.
* GetValueAsText(JToken, 'order_no'): Extracts the order_no value from each item in the array.


質問 # 27
You have a decimal variable named AmountLCY.
You need to round up the variable to four decimal places.
Which result value should you use?

  • A.
  • B.
  • C.
  • D.

正解:B

解説:
To round up a decimal variable to four decimal places in Microsoft Dynamics 365 Business Central, you should use the Round function with specific parameters. The correct formula is Result := Round(AmountLCY, 0.0001, '=') (B). This function rounds the AmountLCY variable to the nearest value based on the second parameter, which is 0.0001 in this case, representing four decimal places. The third parameter, '=', specifies that the function should round to the nearest value, which effectively rounds up the value when it's halfway between two possible rounded values. This approach ensures that the AmountLCY variable is accurately rounded to four decimal places, which is essential for financial calculations and reporting to maintain precision.


質問 # 28
A company owns and operates hotels, restaurants, and stores.
When the staff orders materials from the purchasing department, the requests are not directed to the correct approvers.
The staff requires a new field named Approver from which they can select the appropriate approver. The field must include the following options:
* Hotel manager
* Restaurant manager
* Store manager
* Purchasing manager
You need to create the Approver field in the Item table by using an AL extension.
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.

正解:

解説:

Explanation:
To create the Approver field in the Item table using an AL extension, perform the following actions in sequence:
* Create an enum object named Approver and include all options.
* Create a table extension object for an Item table with an Approver field of enum type named Approver in the fields section.
* Create a page extension object that extends the Item Card object. Add the field to the fields section.
Build and extend tables:To add a new field to an existing table in Business Central using AL extension, you need to define an enumeration (enum) with the possible values for the new field. Then, you create a table extension object where you add the new field and specify its type as the enum you created. This adds the field to the Item table. Finally, you modify the user interface to display the new field by creating a page extension for the Item Card page and adding the new field to it.


質問 # 29
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.

正解:

解説:

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.


質問 # 30
You need to log an error in telemetry when the business process defined in the custom application developed for Contoso, Ltd fails.
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.

正解:

解説:

*


質問 # 31
A company is implementing Business Central.
In the per-tenant extension, TableA Header and TableA Line are document tables, and TableB Header and TableB Line are document history tables.
The company requires that the resulting dataset of query objects contain the following records:
* All records from TableA Header even if no matching record value exists in the linked TableA Line
* Records from TableB Header where a match is found in the linked TableB Line field You need to configure the linked data item to generate the required dataset.
Which SqlJoinType should you use? To answer, move the appropriate SqUoinTypes to the correct dataset requirements. You may use each SqlJoinType once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content.

正解:

解説:

Explanation:

* Include all records from TableA Header even if no matching record value exists in the linked TableA Line: LeftOuterJoin
* Include only matched records from TableB Header: InnerJoin
In SQL and similarly in Business Central when defining table relationships in query objects, the type of join determines how records from one table are combined with records from another table. Here's what each join type means in the context of the company's requirements:
* LeftOuterJoin:
* A LeftOuterJoin includes all records from the 'left' table (TableA Header) and the matched records from the 'right' table (TableA Line). If there is no match, the result is NULL on the side of the 'right' table. This is why it fits the requirement to include all records from TableA Header even if there is no matching record in TableA Line.
* InnerJoin:
* An InnerJoin includes records when there is at least one match in both tables. So, it will only include records from TableB Header where a corresponding match is found in TableB Line. If there is no match, the records from TableB Header will not appear in the result set. This aligns with the requirement to include only matched records from TableB Header.
By using these join types, the company can ensure that their dataset includes the appropriate records from the document tables and document history tables according to their specified requirements.


質問 # 32
You plan to create a table to hold client data.
You have the following data integrity requirements:
* Lookups into other records must be established.
* Validate if a record exists in a destination record.
You need to select the table field property to use for each requirement.
Which table field property should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

正解:

解説:


質問 # 33
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?

  • A. Description
  • B. SubType
  • C. Access

正解:B

解説:
When creating a test codeunit in Microsoft Dynamics 365 Business Central to write unit test functions, the SubType property (A) of the codeunit should be set to Test. This property is crucial for defining the codeunit's purpose and behavior within the application. By setting the SubType property to Test, you are indicating that the codeunit contains test functions intended to validate the functionality of other parts of the application, such as customizations or new developments.
This distinction ensures that the testing framework within Business Central recognizes the codeunit as a container for test functions, allowing it to execute these functions in a testing context, which can include setting up test data, running the tests, and cleaning up after the tests have completed.


質問 # 34
A company has a page named New Job Status connected to a source table named Job. The page has an action named Item Ledger Entries. The company requires the following changes to the page:
* Filter the page to display only jobs with open or quote status.
* Add the following comment for internal use: This page does not include completed jobs.
* Item Ledger Entries action must open the selected job on the page and display it in the Ul for users to modify.
You need to select the property selections to use for each requirement.
Which property selections should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

正解:

解説:


質問 # 35
You create a procedure to check if a purchase order has lines.
The procedure returns false for purchase order PO-00001 even though it has purchase lines.

You need to fix the code to get the correct result.
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:
Add Clear(PurchaseLine); as a line before line 01 of the code: No
Add PurchaseLine.SetFilter("Line No."; '>0') as a line after line 06: Yes Change the filter on line 06 from a "No." field to a "Document No." field: No Remove "not" in line 07: No Add Clear(PurchaseLine); as a line before line 01 of the code.
* No
* You do not need to clear the PurchaseLine record before running the query, because the SetRange filters will take care of setting the correct context.
Add PurchaseLine.SetFilter("Line No."; '>0') as a line after line 06.
* Yes
* Adding a SetFilter on the "Line No." field ensures that you're checking for actual purchase lines greater than 0, which are valid lines. This would fix the issue where the check might return false even when lines exist.
Change the filter on line 06 from a "No." field to a "Document No." field.
* No
* The filter on the No. field is correct, as it's filtering based on the purchase order number. Changing this to Document No. is unnecessary.
Remove "not" in line 07.
* No
* The not in line 07 is necessary because IsEmpty() returns true when no lines are found. To correctly return a boolean indicating whether the purchase order has lines, you need to negate the result of IsEmpty().


質問 # 36
You are developing an app.
You plan to publish the app to Microsoft AppSource.
You need to assign an object range for the app.
Which object range should you use?

  • A. custom object within the range 50000 to 59999
  • B. an object range within the range of 7000000 to 74999999 that is requested from Microsoft
  • C. free object within the standard range 1 to 49999
  • D. custom object within the range 50000 to 99999
  • E. divided by countries and use specific a country within the range 100000 to 999999

正解:B

解説:
When developing an app for Microsoft AppSource, it is essential to use an object range that is specifically designated by Microsoft to avoid conflicts with other apps and the base application. The correct object range to use is:
An object range within the range of 70000000 to 74999999 that is requested from Microsoft (D): This range is reserved for AppSource apps. Developers need to request this range from Microsoft to ensure that the objects used in their extension do not conflict with those used by other extensions or by the base application. Using this reserved range helps maintain the integrity and compatibility of extensions published on AppSource.
It's important to note that the other ranges mentioned (A, B, C, and E) are not suitable for apps intended for AppSource. Ranges 50000 to 59999 and 50000 to 99999 are typically reserved for per-tenant customizations or partner solutions, not for distribution on AppSource. The standard range 1 to 49999 is reserved for the base application objects, and using an object range divided by countries (C) is not a standard practice for AppSource apps.


質問 # 37
You need to determine why the debugger does not start correctly.
What is the cause of the problem?

  • A. The "userld" parameter must have the GUID of the user specified, not the username.
  • B. The "executionContext* parameter is not set to "Debug".
  • C. The "userld" parameter is specified, and the next user session that is specified in the 'breakOnNext" parameter is snapshot debugged.
  • D. The "breakOnNext" parameter is not set to -WebServiceClient".

正解:A

解説:
In Microsoft Dynamics 365 Business Central, when configuring snapshot debugging, it is crucial that the parameters in the configuration file are correctly set. From the options provided, the issue with the debugger not starting correctly is most likely due to an incorrect "userId" parameter.
* Option A is the cause of the problem. The "userId" parameter must be the GUID of the user, not the username. The snapshot debugger needs the exact GUID to attach to the right session for debugging.
* Option B is incorrect because "breakOnNext" set to "WebClient" is a valid setting. This tells the debugger to break on the next client action in the web client, which is a typical scenario.
* Option C is not the cause of the problem. The "userId" parameter is meant to specify which user session to debug, and this works in conjunction with the "breakOnNext" parameter.
* Option D is incorrect as the "executionContext" parameter does not need to be set to "Debug" for snapshot debugging to work. "DebugAndProfile" is a valid value for the "executionContext" parameter, as it allows for debugging and collecting performance information.
Therefore, the reason why the debugger does not start correctly is due to Option A: The "userId" parameter must have the GUID of the user specified, not the username.
Topic 3, Fabrikam Inc
Company background and technical environment
Current environment
Fabrikam Inc. is a medium-sized company that plans to implement Dynamics 365 Business Central as an ERP system. The company has a development department that will help with the ERP implementation.
Most employees work remotely from different countries or regions and speak different languages. The various locations and languages cause issues with the current on-premises software.
Planned improvements
Fabrikam Inc. plans to implement new and modern software to manage the company. The company wants to use Business Central because it is cloud-based and meets all company requirements.
The company intends to improve reporting and integration functionality by using modern tools such as Power BI and APIs. To reduce the amount of information sent by email, the company plans to expose vendor information to be consumed from external users.
Technical specifications
The development department installed Visual Studio Code to create Business Central extensions so the ERP system could be customized according to company needs. All extensions must be developed for the Business Central 2024 wave 1 online version.
The development department plans to use telemetry to control the appropriate use of each new development and works directly in licensed sandbox environments supplied by Microsoft.
The following departments at Fabrikam Inc. have multiple requirements:
* Development
* Control
* Accounting
* Quality
Development department
The development department designed an extension for the purchase department. Because the developers plan to work with telemetry for monitoring operations, they need the Application Insights information. To accomplish this, the department must add a setting in the corresponding file.
The quality department does not want to receive any warning about the Application Insights setting when the extension is compiled.
Control department
The control department requires customization to Business Central by using a per-tenant extension (PTE) named Subcontract Docs. The PTE includes a table named Subcontract Documents. The table has the following fields:
* ID: A unique identifier
* Subcontract No.: Related to the standard Vendors table
* Description: A short description of a received document
* Document: A media type that has the document
* Comments: Comments about the document
* Date: When the document was imported
* Amount: Amount related with the imported document
* Posted Indicates if the document is managed
The extension must be in English - United States (ENU) and Spanish Traditional Sort (ESP) so the application can be used in both languages. The translations must be on the table, not on the page, to avoid repeating them.
The control department does not want to use translation files.
The control department manager requires a brief guide for the Description and Comments fields when employees create a new record so users know what to include in the fields. The guide must disappear as soon as users add a value in the fields.
The Subcontract Documents table must be displayed on a new page named Subcontract Document List through an action from the standard Vendor page.
The Amount field, included in the Subcontract Document List, must be formatted in bold format when the record is posted (field Posted = true).
The control department also requires a report to display a list of subcontract documents named Subcontract Documents Excel List. The report must meet the following requirements:
* Downloads a file only in Microsoft Excel.
* Includes a predefined format with two worksheets; one with the posted subcontract documents and another with the unposted subcontract documents.
Accounting department
The accounting department plans to use Power Bl to analyze information generated by the control department.
The accounting department plans to expose an API named API Customer Lines. To improve the performance, the API must use read-only information and work with a Query object to summarize the data.

The accounting department must expose data such as the following.

The qty column must be the sum of the Outstanding quantity field of Sales Order Lines. It must be in descending order by quantity.
The department also exposes a page named Fabrikam Vendor API that includes vendor information from the Vendor table, such as number and name. The API must use the replica database to improve performance.
Because Fabrikam Inc. is based in multiple countries and regions, the company periodically must send accounting movements between two dates to the local tax offices named Fabrikam Accounting.
The format for this file must be an XML file generated by an XMLport object. For security reasons, it is not possible to receive data from this XMLport.
The department has a version 1.0.0.1 installed for an extension named Quality Control. The department develops a new version 1.0.0.2 and uses a codeunit with the subtype Upgrade to update it. The department requires the values for AppVersion and DataVeision on the tnaaer OnUoaradePerCompany after using NavAocGetCurrentModulelnformation.
The generated XML file must have a schema like this:

Quality department
The quality department requires that every new app or extension is designed to meet standard company guidelines. The quality department plans to follow the standard Business Central data model. The quality development must be able to use triggers correctly.
The department must ensure that when a vendor is deleted, the system also removes each record in the Subcontract Documents table related to the vendor. If the subcontract document record has the field Posted = false, it must not be possible to delete the record.


質問 # 38
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.

正解:

解説:


質問 # 39
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 set 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 on the review screen.
A company creates a Business Central app and a table named MyTable to store records when sales orders are posted.
Users report the following issues:
* The users receive permission errors related to MyTable.
* Users are no longer able to post sales orders since installing the new app.
* The users cannot access the list page created in MyTable.
You need to resolve the user issues without creating new permission sets. You must use the principle of least privilege.
Solution: Decorate the event subscriber used for inserting data in MyTable by entering (lnherentPermissions(PermissionOb]ectType:TableDat a. Database:MyTable. 'R')] Does the solution meet the goal?

  • A. Yes
  • B. No

正解:A

解説:
Using InherentPermissions in an event subscriber with the specified syntax could potentially resolve the permission issues related to MyTable, provided that the permissions specified (in this case, 'R' for Read) align with the minimum necessary for the users to perform their tasks. This approach allows the app to grant permissions dynamically based on the context of the event subscriber, which in this case is involved with inserting data into MyTable. By granting Read permission at the event level, it ensures that users have the necessary permissions to interact with MyTable in the context of the operations facilitated by the event subscriber, without needing to alter existing permission sets or grant broader permissions than necessary. This solution adheres to the principle of least privilege by ensuring that permissions are granted only within the narrow scope needed for specific operations, thereby potentially resolving the reported user issues in a secure and controlled manner.


質問 # 40
Hotspot Question
You create an 'AddltemsToJson' procedure and publish it.

The procedure fails to run.
You need to fix the errors in the 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.

正解:

解説:


質問 # 41
A company owns and operates hotels, restaurants, and stores.
When the staff orders materials from the purchasing department, the requests are not directed to the correct approvers.
The staff requires a new field named Approver from which they can select the appropriate approver. The field must include the following options:
* Hotel manager
* Restaurant manager
* Store manager
* Purchasing manager
You need to create the Approver field in the Item table by using an AL extension.
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.

正解:

解説:

1 - Create an enum object named Approver and include all options.
2 - Create a table extension object for an Item table with an Approver field of enum type named Approver in the fields section.
3 - Create a page extension object that extends the Item Card object. Add the field to the fields section.


質問 # 42
......

MB-820試験問題集でPDF問題とテストエンジン:https://jp.fast2test.com/MB-820-premium-file.html

MB-820問題集で必ず合格させる試験:https://drive.google.com/open?id=1wzwokFIXvncVoy0dw5EZNYwgMhNtiVXf


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어