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.
Calculates the discount amounts for off invoice and bill back discounts.
Syntax
private AmountCur discountAmount(
Qty _shippedQty,
MCRMerchandisingEventID _mcrMerchandisingEventID,
SalesPrice _salesPrice)
Run On
Server
Parameters
- _shippedQty
Type: Qty Extended Data Type
The quantity shipped.
- _mcrMerchandisingEventID
Type: MCRMerchandisingEventID Extended Data Type
The event ID.
- _salesPrice
Type: SalesPrice Extended Data Type
The sales price of the sales line.
Return Value
Type: AmountCur Extended Data Type
The is the calculated total discount amount.