UI events
Like the database trigger events described in the previous section, page trigger events are not raised by C/AL code, but initiated by the NAV platform. UI events are triggered in response to user actions in different UI controls. These events are closely related to traditional page triggers generated by pages and page controls.
To see how to use this type of event, we will extend the functionality of the action button Post on the 39 General Journal page. As the name implies, the Post button runs the Gen. Jnl.-Post batch job. Suppose we want to augment this function by opening the list of G/L entries posted by the job. Since what we want to do is perform a UI extension, it is logical to use UI events for this purpose.
We will place ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access