OnPreXmlItem (Xml Port Table Element) trigger

Version: Available or changed with runtime version 1.0.

Runs after the table is initialized and before you start exporting data to an XML object. This trigger only applies to XMLPort elements that have a source type of Table.

Syntax

trigger OnPreXmlItem()
begin
    ...
end;

Remarks

This trigger is only used to export data. It is typically used to set filters on the data and to initialize variables before finding the first record.

Get Started with AL
Developing Extensions