Implementing a user interface with pages
The foundation of the user interface in Dynamics NAV, is the Page
object. Pages can be used to represent table data, receive user input, and exhibit actions buttons.
C/AL code can be executed in pages to format data and process data received from the input.
How to do it...
In this recipe, we will implement the user interface based on pages, and write C/AL code formatting data in the page.
- In the object designer, select Page in the object types list and Click on New -- this action button will open the page designer.
- In the Table field of the page wizard, select table 50010 Item Certificate as the source table for the page, or just enter its name or ID manually.
- Chose Create a page using wizard option and select Card in the list of page types. Click OK:
- Next step in the wizard will suggest you to create FastTabs on the page. Leave one tab named General, as per the default setup, then click Next.
- In the next step, we select table fields that will...