TradeTotals.determineIsCreditNote Method [AX 2012]
Determines whether the order is a credit note by considering the total line amount and total unit quantity.
Syntax
protected boolean determineIsCreditNote(AmountCur _totalLineAmount, UnitQty _totalUnitQty)
Run On
Server
Parameters
- _totalLineAmount
Type: AmountCur Extended Data Type
The total line amount of the order
- _totalUnitQty
Type: UnitQty Extended Data Type
The total quantity in order units.
Return Value
Type: boolean
true if the order is a credit note; otherwise, false.