CustVendOpenTransManager.validateCashDiscAmountToTake Method [AX 2012]
Validates the cash discount amount to take.
Syntax
public CashDiscAmount validateCashDiscAmountToTake(
CustVendTransOpen _custVendTransOpen,
AmountCur _cashDiscAmountToTake,
boolean _validateDiscOnCreditNote)
Run On
Called
Parameters
- _custVendTransOpen
Type: CustVendTransOpen Map
The open transaction for which to validate.
- _cashDiscAmountToTake
Type: AmountCur Extended Data Type
The cash discount amount to take to validate.
- _validateDiscOnCreditNote
Type: boolean
A Boolean value that indicates whether to validate when discounts are enabled on credit notes.
Return Value
Type: CashDiscAmount Extended Data Type
The valid cash discount amount to take.