Share via


DEL_RetailMixAndMatchTable.checkOffer Method

Checks if the discount can be offered to the record of RetailMixAndMatchLine table.

Syntax

public void checkOffer()

Run On

Called

Exceptions

Exception Condition
Error

If there is no valid del_RetailMixAndMatchLine table record.

-or-

If the field NoDiscountAllowed is set to true, Can not apply the offer.

-or-

If there are no lines to trigger, then error is encountered.

-or-

If the there is no valid endingDate.

Remarks

Validates if the record is valid to apply offers. Checks if field NoDiscountAllowed is checked and also checks for the endingDate of the offer.

See Also

Reference

DEL_RetailMixAndMatchTable Table