Share via


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

Return Value

Type: AmountMST Extended Data Type
The balance in the accounting currency for the current main account.

See Also

Reference

MainAccount Table