Redigera

Dela via


OnBeforeValidateEvent (Page) trigger event

Version: Available or changed with runtime version 1.0.

Executed before the OnValidate (Page fields) trigger, which is called when a field loses focus after its value has been changed.

Syntax

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

Parameters

Rec
 Type: Record
The table that raises the event.

xRec
 Type: Record
The table that raises the event.

Get Started with AL
Developing Extensions