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