Share via


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

  • _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.

See Also

Reference

CustLedgerTransactionsDP_CN Class