Redigera

Dela via


OnAfterPostDataItem (Report Extension Data Set Modify) trigger

Version: Available or changed with runtime version 7.1.

Runs after the OnPostDataItem trigger of the base data item.

Syntax

trigger OnAfterPostDataItem()
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 OnAfterPostDataItem()
            begin
                // Do some changes here
            end;
        }
    }
...

Use this trigger to perform any cleanup or post processing needed after a data item is processed. The base object trigger is run before this trigger. For more information, see OnPostDataItem (Report Data Item) Trigger..

Get Started with AL
Developing Extensions