Επεξεργασία

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


OnBeforePreDataItem (Report Extension Data Set Modify) trigger

Version: Available or changed with runtime version 7.1.

Runs before the OnPreDataItem trigger of the base data item.

Syntax

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

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

Get Started with AL
Developing Extensions