OnBeforeModifyRecord (Xml Port Table Element) Trigger

Version: Available or changed with runtime version 1.0.

Runs after a record is read from the input stream and before the existing record in the database is modified.

Syntax

trigger OnBeforeModifyRecord()
begin
    ...
end;

Remarks

This trigger is used when you import data from an XMLport and then update an existing record in a table with the data from the XMLport.

If the AutoSave Property is false, then although the record is not modified automatically, the OnBeforeModifyRecord trigger is still called before the modification would have occurred.

See Also

Get Started with AL
Developing Extensions