Page OPEN
Opens an Anvaigo Page based on Record. A list uses its filter to show multiple records and shows the record defined in Record.
A card uses the current record showing one record. srcRecord is used on lists for future reference for information only.
PAGE('OPEN',
string AnvaigoPageCode,
Record,
srcRecord);
example:
Open Anvaigo Page Sales Order List from a Customer:
PAGE('OPEN',
'SALESORDER_LIST',
SalesHeader,
Customer);
You cannot continue additional commands in your Action Code after a PAGE(‘OPEN’…) command. It must be the last command in your Action Code. Place additonal code in trigger OnOpenPage or OnAfterGetRecord instead.
In previous Anvaigo Script versions, PAGE_OPEN(..) was used instead of PAGE(‘OPEN’, …). PAGE_OPEN is deprected but is still available for compatibility reasons.
