Use this routine to enter the coupon code for line item discounts by entering the coupon code in the Coupon ID field. This process validates the coupon code via Sales Coupon Settings; the associated discount code is also retrieved, as well as the settings from the discount code and the overrides from the coupon code. The overrides include the percentage or amount of the discount, the minimum amount required, and the dates the discount is active. Both the coupon code and the discount code are validated; if the validation fails, the coupon code is rejected and a message displays indicating this.
It is possible that a discount code is not available to be entered directly
in the Discount Code field, but may be applied using a coupon code due
to overrides in the coupon. For example,
if the ending date for a discount code is a week ago, the discount won’t
appear for selection in the Discount Code drop-down box. But if a coupon
code is associated with that same discount code and the ending date override
in the coupon code isn’t until next week, the coupon code and its associated
discount code may be applied to the line. If the coupon
code is removed, the discount code is also removed.
While
this screen is called manually from the extra action button at the Discount
field in Enter a Sales Order,
Enter an Exchange, Enter
a Quick Sale, Enter
Multiple Discounts Per Line, and Enter
Discounts on Multiple Lines, it can be invoked when the Activation – Apply to Saleable Line Item Amounts
setting
and/or the Activation - Apply to As Is
Line Item Amounts
setting is checked, and the Only Available
to Link to Coupons
setting is also checked (settings in Sales
Discount Settings).