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.
Create Retail Sales Discount Line records for the given sales line xml fragment
Syntax
client server private static void createDiscountLines(
XmlElement _xml,
InventTransId _inventTrans,
[boolean _forQuote])
Run On
Called
Parameters
- _xml
Type: XmlElement Class
An XmlElement for an "Item" node in a Customer Order xml document.
- _inventTrans
Type: InventTransId Extended Data Type
Sales Line InventTrans Id for the associated Sales Line record.
- _forQuote
Type: boolean
True to create discount lines for a quote, false to create discount lines for a sales order.
Remarks
Parses and inserts Retail Sales Discount Line records for the given Item/SalesLine entity.