LedgerJournalTable.journalBalanceOnAccount Method
Calculates a balance amount, specified journal, account type, and account.
Syntax
public AmountMST journalBalanceOnAccount(
LedgerJournalACType _accountType,
DimensionDynamicAccount _dimensionDynamicAccount,
[boolean _onlyOffset])
Run On
ClientOrServer
Parameters
- _accountType
Type: LedgerJournalACType Enumeration
The LedgerJournalACType enumeration value to use to restrict the selected rows.
- _dimensionDynamicAccount
Type: DimensionDynamicAccount Extended Data Type
The account number to use to restrict the selected rows.
- _onlyOffset
Type: boolean
A Boolean value that restricts the balance calculation the offset portion of the LedgerJournalTrans records that are selected.
Return Value
Type: AmountMST Extended Data Type
The balance of the selected transactions as an AmountMST value.
Remarks
The summary debit and credit amounts are converted to an AmountMST data type before netting the balance amount.