TradeTotals.mcrTotalOrderDiscount_Invoice Method [AX 2012]
Returns the discount total for returns and return/regular orders.
Syntax
public AmountCur mcrTotalOrderDiscount_Invoice(AmountCur _salesBalance)
Run On
Server
Parameters
- _salesBalance
Type: AmountCur Extended Data Type
The amount ot use for the positive balance if the user has overridden the discount percentage.
Return Value
Type: AmountCur Extended Data Type
The amount of the discount total for the return or return/regular order.