SalesTable.mcrApplyPostageDisc Method
Calculates and applies any postage discounts to the postage of an order.
Syntax
public AmountCur mcrApplyPostageDisc(AmountCur _totalPostageValue, AmountCur _orderTotal)
Run On
Called
Parameters
- _totalPostageValue
Type: AmountCur Extended Data Type
Current value of postage for a sales order.
- _orderTotal
Type: AmountCur Extended Data Type
Total order value for a sales order.
Return Value
Type: AmountCur Extended Data Type
The amount the postage value was discounted.