RLedgerSheetEngine.calcBalance Method [AX 2012]

Performs the calculation of balance amount.

protected Amount calcBalance(
   [LedgerBalanceBase _ledgerBalance, 
    MainAccountNum _mainAccountNum, 
    CurrencyType_RU _currencyType])

Run On

Called

Parameters

_ledgerBalance
Type: LedgerBalanceBase Class
An instance of LedgerBalanceBase class.
_mainAccountNum
Type: MainAccountNum Extended Data Type
The string value of the account.
_currencyType
Type: CurrencyType_RU Enumeration
A currency type: standard, secondary or currency.

Return Value

Type: Amount Extended Data Type
The calculated balance amount.
Show: