OnAfterValidateEvent (Table) Trigger Event

Version: Available or changed with runtime version 1.0.

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

Syntax

[EventSubscriber(ObjectType::Table, Database::<Table Name>, 'OnAfterValidateEvent', '<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.

See Also

Get Started with AL
Developing Extensions