DRAG DROP (Drag and Drop is not supported)
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.
- See Explanation section for answer.
Answer(s): A
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.
Reveal Solution Next Question