MainAccount.getBalance Method
Calculates the balance in the functional currency for the current main account based on a ledger category, date range, and period code.
Syntax
public AmountMST getBalance(
TransDate _fromDate,
TransDate _toDate,
FiscalPeriodType _periodType,
OperationsTax _ledgerCategory)
Run On
ClientOrServer
Parameters
- _fromDate
Type: TransDate Extended Data Type
The starting date of the transactions to include.
- _toDate
Type: TransDate Extended Data Type
The ending date of the transactions to include.
- _periodType
Type: FiscalPeriodType Enumeration
The period type of the transactions to include.
- _ledgerCategory
Type: OperationsTax Enumeration
The ledger category type to include in the balance.
Return Value
Type: AmountMST Extended Data Type
The balance in the accounting currency for the current main account.