Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets cash discount amount.
Syntax
client server public static AmountCur cashDiscAmount_IN(
CashDiscCode cashDiscCode,
CurrencyCode currencyCode,
AmountCur baseAmount,
AmountCur amountExclVat,
ModuleCustVend custVend,
[DiscPct cashDiscPercent,
AmountCur _noneTaxamount])
Run On
Called
Parameters
- cashDiscCode
Type: CashDiscCode Extended Data Type
The cash disc code.
- currencyCode
Type: CurrencyCode Extended Data Type
The currency code of base amount.
- baseAmount
Type: AmountCur Extended Data Type
The Incl tax amount.
- amountExclVat
Type: AmountCur Extended Data Type
The Excl tax amount.
- custVend
Type: ModuleCustVend Enumeration
The customer or vendor module.
- cashDiscPercent
Type: DiscPct Extended Data Type
The cash disc percent; optional.
- _noneTaxamount
Type: AmountCur Extended Data Type
The none tax amount; optional.
Return Value
Type: AmountCur Extended Data Type
The cash discount amount.