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.
- _custAccount
Type: CustAccount Extended Data Type
Value of the CustomerAccount element of recieved customer order XML.
- _salesPersonWorkerId
Type: HcmWorkerRecId Extended Data Type
Value of the SalespersonStaffId element of recieved customer order XML.
- _channelReferenceId
Type: RetailOrderChannelReferenceId Extended Data Type
Value of the ChannelReferenceId element of recieved customer order XML.
- _retailChannelRecId
Type: RefRecId Extended Data Type
Value of the RecID of StoreId element of recieved customer order XML.
- _retailTerminalId
Type: RetailTerminalId Extended Data Type
Value of the TerminalId element of recieved customer order XML.
- _retailHourOfDayRecId
Type: RefRecId Extended Data Type
Value of the HourOfDay element of recieved customer order XML.
Return Value
Type: SalesTable Table
Returns SalesTable reference.