Szerkesztés

Megosztás a következőn keresztül:


OnAfterPreDataItem (Report Extension Data Set Modify) trigger

Version: Available or changed with runtime version 7.1.

Runs after the OnPreDataItem trigger of the base data item.

Syntax

trigger OnAfterPreDataItem()
begin
    ...
end;

Remarks

This trigger can be called inside a modify section, as shown in this pseudo-code:

reportextension 50111 MyExtension extends "Customer - List"
{
    dataset
    {
        modify(Customer)
        {
            trigger OnAfterPreDataItem()
            begin
                // Do some changes here
            end;
        }
    }
...

This trigger is run before a data item is processed, but after the associated variable is initialized and table views and filters are set. The base object trigger is run before this trigger. For more information, see OnPreDataItem (Report Data Item) Trigger.

Get Started with AL
Developing Extensions