RetailTransactionServiceTransactions::fillSalesTransDetails Method [AX 2012]

Method returns the serialized xml string of a list of salesTrans having the data of the RetailTransactionSalesTrans table.

client server private static XmlElement fillSalesTransDetails(
    RetailTransactionSalesTrans transactionSalesTrans, 
    XmlDocument xmlDoc, 
   [boolean includeDiscount])

Run On

Called

Parameters

transactionSalesTrans
Type: RetailTransactionSalesTrans Table
Table buffer of RetailTransactionSalesTrans table.
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 RetailTransactionSalesTrans table.
* Members must be in order of the SalesLine DataContract Example:
Show: