RetailTransactionServiceCustomer::validateCustomerStatus Method [AX 2012]

Method is used for checking the status of the customer account i.e., 1.Existence of the customer 2.Blocked/Unblocked 3.Credit limit

client server public static container validateCustomerStatus(
    CustAccount _custAccount, 
    AmountMST _salesAmount, 
    CurrencyCode _currencyCode)

Run On

Called

Parameters

_custAccount
Type: CustAccount Extended Data Type
ID of the CustTable.AccountNum field.
_salesAmount
Type: AmountMST Extended Data Type
AmountMST
_currencyCode
Type: CurrencyCode Extended Data Type
CurrencyCode

Return Value

Type: container
The status as a container.

ExceptionCondition
Error

Throws error if fails to check the status of the customer account.

Show: