Muokkaa

Jaa


OnModifyRecordEvent (Page) trigger event

Version: Available or changed with runtime version 1.0.

Executed after the OnModifyRecord trigger, which is called before a record is modified in a table.

Syntax

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

Parameters

Rec
 Type: Record
The table that raises the event.

xRec
 Type: Record
The table that raises the event.

AllowModify
 Type: Boolean
Specifies whether the OnModifyRecord trigger call was successful and the record can be modified. If this parameter is true, the code will be executed. If this parameter is false, then the code is not executed.

Get Started with AL
Developing Extensions