CX_MONITOR::Total
Beschreibung:
Diese Funktion liefert den Inhalt des Datenfeldes addiert mit dem gleichen
Datenfelder von untergeordnete Monitoren.
Code-Beispiel:
"debit" booking Call(Total) Dup if { totalDebit Put } else { totalDebit Call(SetZero) } "credit" booking Call(Total) Dup if { totalCredit Put } else { totalCredit Call(SetZero) } totalDebit totalCredit - Call(IsZero) ifnot { "Buchung ohne Soll/Haben Ausgleich: " GetValue(, _int000) + } else { financialBookingEnum 10 = if txnManagerOpening else txnManager booking Call(GetProcessed) }
Stack | Position | Objekttyp | Kurzbeschreibung |
---|---|---|---|
Stack(In) | Top | CX_MONITOR | Monitor |
Top-1 | STRING | Datenfeldname | |
Stack(Out) | Top | CX_VALUE oder CX_NUMERIC | Rückgabewert |
Funktionsaufruf: Call(Total)