RetailTransactionServiceTransactions::fillSalesLineDiscountDetails Method [AX 2012]
Method returns the serialized xml string of a DiscountLine having the data of the RetailSalesDiscountLine table.
Syntax
client server private static XmlElement fillSalesLineDiscountDetails(
RetailSalesDiscountLine discountLine,
RetailPeriodicDiscount retailDiscount,
LineNum lineNum,
SalesOrderedQty salesQty,
XmlDocument xmlDoc)
Run On
Called
Parameters
- discountLine
Type: RetailSalesDiscountLine Table
Table buffer of RetailSalesDiscountLine table.
- retailDiscount
Type: RetailPeriodicDiscount Table
Table buffer of RetailPeriodicDiscount table.
- lineNum
Type: LineNum Extended Data Type
The line number
- salesQty
Type: SalesOrderedQty Extended Data Type
The sales quantity
- xmlDoc
Type: XmlDocument Class
XmlDocument
Return Value
Type: XmlElement Class
XML serialized string of the RetailTransactionDiscountTrans table.
* Members must be in order of the DiscountLine DataContract Example: