BeyondERP.Newsletter
Menu

TC-PRM-SALE-110 · Test case

Coupon drives the discount

A test you can run to check that the setup below works.

Follow the steps below in a test environment, not in production, before you rely on this setup.

How to run the test

Before you start
  1. Coupon number and Coupon code ID number sequences with Scope Company, selected in Commerce parameters
  2. A discount with Coupon code required set to Yes
Steps
  1. Create a coupon linked to the discount with one code and Usage limit 1.
  2. Set the coupon to Active and check the discount status.
  3. Add the code to a sales order, then try the same code on a second order.
Expected resultThe discount becomes Enabled, the first order gets the discount, and the second use is refused.
What should failThe discount applies without the code, or the code works twice.

Setup it checks

Atlas Hub