Share via


RetailTransactionServiceTransactions::fillSalesLineDiscountTrans Method [AX 2012]

Method returns the serialized xml string of a DiscountLine having the data of the RetailTransactionDiscountTrans table.

Syntax

client server private static XmlElement fillSalesLineDiscountTrans(
    RetailTransactionDiscountTrans _discountTrans, 
    RetailPeriodicDiscount _retailDiscount, 
    SalesOrderedQty _salesQty, 
    XmlDocument xmlDoc)

Run On

Called

Parameters

Return Value

Type: XmlElement Class
XML serialized string of the RetailTransactionDiscountTrans table.
* Members must be in order of the DiscountLine DataContract Example:

See Also

Reference

RetailTransactionServiceTransactions Class