Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _accountNum
Type: AccountNum Extended Data Type
The account for which we want the balance and credit limit.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency used to return the balance in.
- _storeId
Type: RetailStoreId Extended Data Type
The store id of the store where this call originates from.
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.