RetailTransactionService::findDuplicateSalesOrder Method [AX 2012]

Method verifies whether the requested customer order details are already created or not.

Syntax

client server public static SalesTable findDuplicateSalesOrder(
    XmlDocument _custOrderXml, 
    CustAccount _custAccount, 
    HcmWorkerRecId _salesPersonWorkerId, 
    RetailOrderChannelReferenceId _channelReferenceId, 
    RefRecId _retailChannelRecId, 
    RetailTerminalId _retailTerminalId, 
    RefRecId _retailHourOfDayRecId)

Run On

Called

Parameters

  • _custOrderXml
    Type: XmlDocument Class
    XML string having the header, line details and charges, payments associated with the sales order to be created.

Return Value

Type: SalesTable Table
Returns SalesTable reference.

See Also

Reference

RetailTransactionService Class