Редактиране

Споделяне чрез


OnBeforeAfterGetRecord (Report Extension Data Set Modify) trigger

Version: Available or changed with runtime version 7.1.

Runs before the OnAfterGetRecord trigger of the base data item.

Syntax

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

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

Get Started with AL
Developing Extensions