Muokkaa

Jaa


OnAfterGetCurrRecord (Page) trigger

Version: Available or changed with runtime version 1.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 (Request Page) Trigger
OnAfterGetCurrRecord (Request Page Extension) Trigger
OnAfterGetCurrRecord (Page Extension) Trigger