Επεξεργασία

Κοινή χρήση μέσω


OnBeforePostDataItem (Report Extension Data Set Modify) trigger

Version: Available or changed with runtime version 7.1.

Runs before the OnPostDataItem trigger of the base data item.

Syntax

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

This trigger runs before the base object trigger OnPostDataItem (Report Data Item) Trigger.

Get Started with AL
Developing Extensions