RetailTransactionService::getCustomerHistory Method [AX 2012]
Get customer history summary and sales orders
Syntax
server public static container getCustomerHistory(CustAccount _customerId, [RetailCustomerHistoryType _historyType])
Run On
Server
Parameters
- _customerId
Type: CustAccount Extended Data Type
CustAccount id for the customer
- _historyType
Type: RetailCustomerHistoryType Enumeration
How much history to return
Return Value
Type: container
XML document containing history summary and list of sales orders
Remarks
Returns a summary of history activity and list of sales orders for the configured period (30, 60, 90 days)