VendParameters::cashDiscAmount_IN Method
Gets the cash discount amount for given parameters.
Syntax
client server public static AmountCur cashDiscAmount_IN(
CashDiscCode _cashDiscCode,
CurrencyCode _currencyCode,
AmountCur _amountInclTax,
AmountCur _amountExclTax,
[DiscPct _cashDiscPercent,
AmountCur _noneTaxamount])
Run On
Called
Parameters
- _cashDiscCode
Type: CashDiscCode Extended Data Type
The cash discount code.
- _currencyCode
Type: CurrencyCode Extended Data Type
The currency code.
- _amountInclTax
Type: AmountCur Extended Data Type
The amount include tax.
- _amountExclTax
Type: AmountCur Extended Data Type
The amount exclude tax.
- _cashDiscPercent
Type: DiscPct Extended Data Type
The cash discount percent; optional.
- _noneTaxamount
Type: AmountCur Extended Data Type
The amount without tax; optional.
Return Value
Type: AmountCur Extended Data Type
Returns cash discount amount.