RetailTransactionServiceTransactions::fillSalesLineDetails Method [AX 2012]

Method returns the serialized xml string of a SalesLiner having the data of the SalesLine table.

client server private static XmlElement fillSalesLineDetails(
    SalesLine _soLine, 
    RetailSalesLine _rsoLine, 
    InventDim _inventDim, 
    XmlDocument xmlDoc, 
   [boolean includeDiscount])

Run On

Called

Parameters

_soLine
Type: SalesLine Table
Table buffer of SalesLine table.
_rsoLine
Type: RetailSalesLine Table
Table buffer of RetailSalesLine table.
_inventDim
Type: InventDim Table
Table buffer of InventDim 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 SalesLine table.
* Members must be in order of the SalesLine DataContract Example:
Show: