title | description | ms.author | ms.date | ms.topic | author | ms.reviewer |
---|---|---|---|---|---|---|
OnNewRecordEvent (Page) Trigger Event |
Executed after the OnNewRecord trigger, which is called before a new record is initialized. |
solsen |
05/14/2024 |
reference |
SusanneWindfeldPedersen |
solsen |
Version: Available or changed with runtime version 1.0.
Executed after the OnNewRecord trigger, which is called before a new record is initialized.
[EventSubscriber(ObjectType::Page, Page::<Page Name>, 'OnNewRecordEvent', '', <SkipOnMissingLicense>, <SkipOnMissingPermission>)]
local procedure MyProcedure(var Rec: Record; BelowxRec: Boolean; var xRec: Record)
begin
...
end;
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.