OnClosePage (Request Page Extension) trigger

Version: Available or changed with runtime version 7.0.

Runs when a request page closes after the OnQueryClosePage trigger is run.

Syntax

trigger OnClosePage()
begin
    ...
end;

Remarks

Important

The trigger is only invoked when the page is hosted in a modal popup window (MPO).

This trigger is initiated by a user action, such as when the user chooses the Close button, or by the CurrPage.CLOSE being called.

You can write to the database from this trigger.

Get Started with AL
Developing Extensions
OnClosePage (Page) Trigger
OnClosePage (Request Page) Trigger
OnClosePage (Page Extension) Trigger