Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds Sales Discount Line XML for the given SalesLine InventTransId
Syntax
client server private static void addDiscountLineXml(
XmlDocument _xmlDoc,
XmlElement _xmlItem,
InventTransId _inventTrans,
Qty _quantity,
boolean _fromQuote)
Run On
Called
Parameters
- _xmlDoc
Type: XmlDocument Class
Parent XML document.
- _xmlItem
Type: XmlElement Class
Parent XML node the Discount Line XML will be added to.
- _inventTrans
Type: InventTransId Extended Data Type
InventTransId of the sales line.
- _quantity
Type: Qty Extended Data Type
Quantity of the sales line.
- _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.