ChartOfAccountsRef.<Chart of accounts name>.Level
Syntax:
Returned value:
Description:
Availability:
Note:
Example:
// Accumulation of totals by accounts ("TurnoverBalanceSheet" report) // ReportActivities - tabular section of a report Overall = New Structure; For Each Line In ReportActivities Do CharacteristicName = Line.CharacteristicName; If Selection.Group() = "Account" AND Selection.Level() = 0 AND NOT Account.OffBalance Then Overall.Insert(CharacteristicName + "OpeningBalanceDr", Overall[CharacteristicName + "OpeningBalanceDr"] + OpeningBalanceDr); Overall.Insert(CharacteristicName + "OpeningBalanceCr", Overall[CharacteristicName + "OpeningBalanceCr"] + OpeningBalanceCr); Overall.Insert(CharacteristicName + "ClosingBalanceDr", Overall[CharacteristicName + "ClosingBalanceDr"] + ClosingBalanceDr); Overall.Insert(CharacteristicName + "ClosingBalanceCr", Overall[CharacteristicName + "ClosingBalanceCr"] + ClosingBalanceCr); Overall.Insert(CharacteristicName + "TurnoverDr", Overall[CharacteristicName + "TurnoverDr"] + TurnoverDr); Overall.Insert(CharacteristicName + "TurnoverCr", Overall[CharacteristicName + "TurnoverCr"] + TurnoverCr); // ... EndIf; // ... EndDo; |