Bearbeiten

Freigeben über


OnAfterGetCurrRecord (Request Page Extension) trigger

Version: Available or changed with runtime version 7.0.

Runs after the current record is retrieved from the table.

Syntax

trigger OnAfterGetCurrRecord()
begin
    ...
end;

Remarks

In a page with a repeater control, the trigger is only called when the current record in the repeater is updated. OnAfterGetCurrRecord is called directly after all OnAfterGetRecord triggers are called for each row in a list.

If there is an error in the trigger code, then the page is closed.

Important

For pages of the type Card, List, ListPlus, Document, or Worksheet, the OnAfterGetCurrRecord trigger is called more than once if the page is opened in the edit mode and does not have any records to display. If the page is opened in the view mode or displays a record, the trigger is called only once.

Get Started with AL
Developing Extensions
OnAfterGetCurrRecord (Page) Trigger
OnAfterGetCurrRecord (Request Page) Trigger
OnAfterGetCurrRecord (Page Extension) Trigger