BeyondERP.Newsletter
Menu

TC-PS-REBATE-010 · Test case

An approved agreement creates a claim

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. Enable price details is Yes on the Prices tab of the parameters.
Steps
  1. Create an agreement for BEAT-000123 and BEAT-IT-1001 with a tier from 10 to 20 units at 15.00 and get it Approved.
  2. Post a purchase invoice for 12 units.
Expected resultA rebate claim is created for the invoice line and shows on Price details > Rebates.
What should failPost an invoice for 5 units: no claim for the tier is created.

Setup it checks

Atlas Hub