CX_TRANSACTION::IsTopTransaction
Description:
This class function returns TRUE if this transaction is the top of the transaction chain (REL_1M transaction is empty), otherwise FALSE.
Code example:
tmp Type(TopTransaction().allocation) case
CX_BILL_OF_MATERIAL:
tmp Call(IsTopTransaction)
if
T("Aufgel”ste Stückliste ", "Resolved bill of material ")
else
T("Aufgel”ste Stücklistenposition ", "Resolved bill of material item ")
CX_JOB_SCHEDULE:
tmp Call(IsTopTransaction)
if
T("Aufgel”ster Arbeitsplan ", "Resolved job schedule ")
else
T("Aufgel”ste Arbeitsplanposition ", "Resolved job schedule item ")
default: T("Allokation ", "Allocation ")
endCase
Stack | Position | Object type | Brief description |
---|---|---|---|
Stack(In) | Top | CX_TRANSACTION | A transaction |
Stack(Out) | Top | INTEGER | TRUE or FALSE |
Function call: Call(IsTopTransaction)