Share via


RetailTransactionService::addDiscountLineXml Method [AX 2012]

Adds Sales Discount Line XML for the given SalesLine InventTransId

Syntax

client server private static void addDiscountLineXml(
    XmlDocument _xmlDoc, 
    XmlElement _xmlItem, 
    InventTransId _inventTrans, 
    boolean _fromQuote)

Run On

Called

Parameters

  • _xmlItem
    Type: XmlElement Class
    Parent XML node the Discount Line XML will be added to.
  • _fromQuote
    Type: boolean
    True if the discount lines are from a Quote, False if they are from a Sales Order.

Remarks

Gets XML representing the associated SalesDiscountLines for the given SalesLine and adds them to the given Item xml node.

See Also

Reference

RetailTransactionService Class