RetailTransactionServiceTransactions::fillSalesOrderDetails Method [AX 2012]

Method returns the serialized xml string of a SalesOrder having the data of the SalesTable table.

client server private static XmlElement fillSalesOrderDetails(
    SalesTable _salesTable, 
    RetailSalesTable _rsoTable, 
    RetailTransactionOrderStatus _rtosTable, 
    CustTable _custTable, 
    RetailTransactionTable _transactionTable, 
    boolean _includeDetails, 
    XmlDocument xmlDoc, 
   [boolean includeDiscount])

Run On

Called

Parameters

_salesTable
Type: SalesTable Table
Table buffer of SalesTable table.
_rsoTable
Type: RetailSalesTable Table
Table buffer of RetailSalesTable table.
_rtosTable
Type: RetailTransactionOrderStatus Table
Table buffer of RetailTransactionOrderStatus table.
_custTable
Type: CustTable Table
Table buffer of CustTable table.
_transactionTable
Type: RetailTransactionTable Table
Table buffer of RetailTransactionTable table.
_includeDetails
Type: boolean
Whether to include line details and order attributes.
xmlDoc
Type: XmlDocument Class
XmlDocument
includeDiscount
Type: boolean
Whether to include the discount details, by default is false

Return Value

Type: XmlElement Class
XML serialized string of the SalesTable table.
* Members must be in order of the SalesOrder DataContract Example:
Show: