Most of C/SIDE objects can contain C/AL triggers which are executed in response to different user actions, and pages are not exception. In this section, we will familiarize ourselves with most common page triggers, their practical values, and their limitations.
For the next code example, we will need to extend the Lease Contract Header table. In the Card and List pages section, we created a table representing different types of contract payment schedules. Now, this table must be linked to the contract. To do this, open 50500 Lease Contract Header table, in the table designer and add a field as follows:
Field no. | Field name | Data type | Length |
9 | Payment Terms Code | Code | 20 |
After declaring the field ...