TradeTotals.mcrTotalOrderDiscount_Sales Method [AX 2012]
Returns the discount total for the for the sales order.
Syntax
public AmountCur mcrTotalOrderDiscount_Sales(AmountCur _salesBalance)
Run On
Server
Parameters
- _salesBalance
Type: AmountCur Extended Data Type
The amount to use for the positive balance if the user has overridden the discount percentage.
Return Value
Type: AmountCur Extended Data Type
The discount total for the sales order.