HOTSPOT - (Topic 3)
You need to assist the development department with setting up Visual Studio Code to design the purchase department extension, meeting the quality department requirements.
How should you complete the app.json file? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Solution:
Does this meet the goal?
Correct Answer:A
DRAG DROP - (Topic 4)
You create the following Vendor table and Item table in Business Central.
You require the following data set to assign vendors to items.
You need to create a query to assign the vendors.
Which three code blocks should you use to develop the solution? To answer, move the appropriate code blocks from the list of code blocks 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.
Solution:
To create a query that assigns vendors to items in Business Central, use the following code blocks in sequence:
✑ dataitem(Vendor; Vendor)
✑ dataitem(Item; Item)
✑ DataItemLink = "Vendor No." = Item.Vendor_No;
Creating a query:In Business Central, a query object is used to combine data from multiple tables. You start by specifying each table as a data item. In this case, you would start with the Vendor table and then the Item table. After specifying the data items, you need to link them together. The DataItemLink property is used to establish a relationship between two data items based on a common field. Here, you are linking the Vendor and Item tables on the "Vendor No." field, which is present in both tables. This link ensures that the query will return a dataset that includes related records from both tables based on the vendor number. The order of the code blocks ensures the logical flow and relationships between tables as required for the query.
Does this meet the goal?
Correct Answer:A
- (Topic 4)
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.
Correct Answer:CE
You are customizing Business Central using Visual Studio Code and JSON files for configuration.
You plan to:
✑ Open page 21 after publishing.
✑ Enable debugging.
✑ Disable the capability to download the source code.
Which configurations should you add?
The options involve two primary JSON files: launch.json and app.json, and configuration tags like startupObjectId and resourceExposurePolicy.
HOTSPOT - (Topic 4)
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.
Solution:
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
Does this meet the goal?
Correct Answer:A
- (Topic 4)
A company uses Business Central Users in DepartmentA are assigned a base application permission set.
The company observes that Departments can display a critical page that should be unavailable to the department.
You need to resolve the system control issue. What should you do?
Correct Answer:E
✑ Permission sets control access to objects (such as pages, tables, reports) in Business Central. By creating a new permission set that specifically excludes the critical table (or page) and assigning this permission set to the users in Department A, you can prevent them from accessing the page.
✑ Option A (creating a different role center page) is incorrect because role centers control the user interface, but do not directly restrict access to specific pages or tables.
✑ Option B and Option C (extending the base application permission set) are not the best options because extending permission sets typically involves adding permissions, not removing access. The question requires restricting access to a critical page, so simply including or excluding permission sets won??t solve the issue at the table or page level.
✑ Option D (creating an entitlement object) is not relevant here, as entitlements are used in more complex licensing scenarios or environments.
Summary:
Creating a permission set object that specifically excludes access to the critical table or page and assigning it to the users will solve the problem effectively.