Share via


RetailTransactionService::getCustomerBalance Method [AX 2012]

This method will retrive the customer account balance.

Syntax

client server public static container getCustomerBalance(
    AccountNum _accountNum, 
    CurrencyCode _currencyCode, 
    RetailStoreId _storeId)

Run On

Called

Parameters

Return Value

Type: container
A container that contains the account balance, account credit limit, invoice account balance, invoice account credit limit.
In addition returns the maximum counter of the payment transactions that we pulled in Ax form the store.

Remarks

If the customer has also an invoice account, it will return the balance and the credit limit for that account too.

The counter is used in POS to help identify the local transactions that were not yet pulled in AX.

See Also

Reference

RetailTransactionService Class