Class: GroupBalanceReport

GroupBalanceReport

A GroupBalanceReport stores group balances.

new GroupBalanceReport()

Methods

createDataTable()

Returns:

getAccountBalanceReports() → {Array.<AccountBalanceReport>}

Returns:
all account balances of this group
Type
Array.<AccountBalanceReport>

getBalances()

Returns:
the group balances

getCumulativeBalance(format) → {number}

Parameters:
Name Type Argument Description
format boolean <optional>
If true, balance will be formatted based on decimal separator of book.
Returns:
the group period balance
Type
number

getName() → {string}

Returns:
the group name
Type
string

getPeriodBalance(format) → {number}

Parameters:
Name Type Argument Description
format boolean <optional>
If true, balance will be formatted based on decimal separator of book.
Returns:
the group period balance
Type
number

isCredit() → {boolean}

Returns:
Check if group has credit accounts
Type
boolean