RetailTransactionService::getCustomerHistory Method [AX 2012]

Get customer history summary and sales orders

server public static container getCustomerHistory(CustAccount _customerId, [RetailCustomerHistoryType _historyType])

Run On



Type: CustAccount Extended Data Type
CustAccount id for the customer
Type: RetailCustomerHistoryType Enumeration
How much history to return

Return Value

Type: container
XML document containing history summary and list of sales orders

Returns a summary of history activity and list of sales orders for the configured period (30, 60, 90 days)