SpecTrans.getPossibleCashDiscAmount Method
Gets the amount of the cash discount for this record based on the given date and number of grace days.
Syntax
public CashDiscAmount getPossibleCashDiscAmount(TransDate _discDate, [DiscGraceDays _discGraceDays])
Run On
ClientOrServer
Parameters
- _discDate
Type: TransDate Extended Data Type
The date used to determine the amount of the cash discount.
- _discGraceDays
Type: DiscGraceDays Extended Data Type
The number of grace days used to determine the amount of the cash discount; optional.
Return Value
Type: CashDiscAmount Extended Data Type
The amount of the cash discount.