RetailTransactionServiceOrders::getChannelSalesOrderDetail Method [AX 2012]

Get channel appropriate details for a sales order

server public static container getChannelSalesOrderDetail(
    SalesId salesId, 
    RefRecId channelId, 
   [RetailOrderChannelReferenceId channelRefId])

Run On

Server

Parameters

salesId
Type: SalesId Extended Data Type
Sales Id of the sales order to retrieve
channelId
Type: RefRecId Extended Data Type
The channel id where the sales order originated
channelRefId
Type: RetailOrderChannelReferenceId Extended Data Type
The channel reference id of the sales order to retrieve

Return Value

Type: container
container: [succees, errormessage, xml]

success = True if the sales order was retrieved successfully, false otherwise errormessage = empty if success == True, otherwise an error message xml = xml document describing the sales order

Show: