CustLedgerTransactionsDP_CN.getOpeningBalanceForAccount Method [AX 2012]
Looks up the opening balance of a customer account per main account in a map.
Syntax
private AmountMST getOpeningBalanceForAccount(
MainAccountNum _mainAccount,
AccountNum _accountNum,
int _year,
Map _balancesMap)
Run On
Server
Parameters
- _mainAccount
Type: MainAccountNum Extended Data Type
The main ledger account number.
- _accountNum
Type: AccountNum Extended Data Type
The customer account number.
- _year
Type: int
The current year.
- _balancesMap
Type: Map Class
The map to look up.
Return Value
Type: AmountMST Extended Data Type
The balance amount of the customer.