Redigera

Dela via


OnNewRecordEvent (Page) trigger event

Version: Available or changed with runtime version 1.0.

Executed after the OnNewRecord trigger, which is called before a new record is initialized.

Syntax

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

Parameters

Rec
 Type: Record
The table that raises the event.

BelowxRec
 Type: Boolean
Specifies whether the new record was inserted after the last record in the table (xRec).

xRec
 Type: Record
The table that raises the event.

Get Started with AL
Developing Extensions