TAMTradePromotion.validateDates Method
Validates that all dates on a promotion are entered so that the from date is less than the to date.
Syntax
private boolean validateDates(TransDate _fromDate, TransDate _toDate)
Run On
Called
Parameters
- _fromDate
Type: TransDate Extended Data Type
The from date.
- _toDate
Type: TransDate Extended Data Type
The to date.
Return Value
Type: boolean
true if the dates are valid; otherwise, false.