Bewerken

Delen via


OnBeforeValidateEvent (Table) trigger event

Version: Available or changed with runtime version 1.0.

Executed before a field is validated when its value has been changed.

Syntax

[EventSubscriber(ObjectType::Table, Database::<Table Name>, 'OnBeforeValidateEvent', '<Field Name>', <SkipOnMissingLicense>, <SkipOnMissingPermission>)]
local procedure MyProcedure(var Rec: Record; var xRec: Record; CurrFieldNo: Integer)
begin
    ...
end;

Parameters

Rec
 Type: Record
The table that raises the event.

xRec
 Type: Record
The table that raises the event.

CurrFieldNo
 Type: Integer
The number of the field that raises the event.

Get Started with AL
Developing Extensions