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

  • _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.

See Also

Reference

CustVendOpenTransManager Class