OnClosePageEvent (Page) trigger event

Version: Available or changed with runtime version 1.0.

Executed after the OnClosePage trigger, which is called when page closes after the OnQueryClosePage trigger is executed.

Syntax

[EventSubscriber(ObjectType::Page, Page::<Page Name>, 'OnClosePageEvent', '', <SkipOnMissingLicense>, <SkipOnMissingPermission>)]
local procedure MyProcedure(var Rec: Record)
begin
    ...
end;

Parameters

Rec
 Type: Record
The table that raises the event.

Get Started with AL
Developing Extensions