OnAfterInitRecord (Xml Port Table Element) trigger

Version: Available or changed with runtime version 1.0.

Runs after a record is loaded.

Syntax

trigger OnAfterInitRecord()
begin
    ...
end;

Remarks

This trigger is only used to import data. It is typically used to set up the preconditions for the record before it is inserted into the database table.

Get Started with AL
Developing Extensions