Page trigger events provide a way to extend the functionality of UI actions on pages. As with other event types, the main purpose of an event is to allow developers to add custom code to base application objects without intrusion into the code.
Objects subscribing to a page trigger event are invoked when the user runs an action in the page, after the C/AL code located directly in the page, is executed.
This recipe shows how to use a page trigger event to assign a user account to a sales order on the
Page Trigger Event.