Share via


TAMTradePromotion.validatePromotionDates Method

Validates promotion dates of a merchandising event and rebate.

Syntax

private boolean validatePromotionDates(TAMMerchandisingEvent _tamMerchandisingEvent)

Run On

Called

Parameters

Return Value

Type: boolean
true if the dates are valid; otherwise, false.

Exceptions

Exception Condition
Error

Throws if the merchandising event is lump sum but no performance dates are specified.

-or-

Throws if the merchandising event is billback but but order start and end dates are not specified.

-or-

Throws if the merchandising event is billback but but requested ship dates are not specified.

-or-

Throws if the merchandising event is billback but shipment dates are not specified.

-or-

Throws if the merchandising event is off invoice but promotion dates are specified.

See Also

Reference

TAMTradePromotion Table