BeyondERP.Newsletter
Menu

TC-PRM-SALE-060 · Test case

Least expensive discount on two items

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. Line groups A and B with Number of products needed 1 each
  2. A mix-and-match discount with Calculation type Least expensive, Number of least expensive lines 1 and Percentage off 15.00 for package C items, enabled
Steps
  1. Simulate an order with items priced 100.00 and 120.00 from package C.
  2. Review the discount per line.
  3. Simulate again with one item only.
Expected result15.00 percent comes off the 100.00 item only, so the order totals 205.00; with one item no discount applies.
What should failThe discount applies to both items or to a single item.

Setup it checks

Atlas Hub