BeyondERP.Newsletter
Menu

TC-AW-SETUP-010 · Test case

Policy run creates cases for violations

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

How to run the test

Before you start
  1. A policy rule type on the expense report line query with Query type Aggregate
  2. Expense reports for hotel above the threshold exist
Steps
  1. Create an audit policy, add the policy organizations and create a policy rule with an Effective date
  2. Filter Expense category = Hotel, aggregate Sum of Transaction amount grouped by Employee, Having > 2000
  3. Select Test with a document date range and run the test
  4. Select Additional options, enter the starting and ending dates and run in batch
  5. Open Audit workbench > Audit cases
Expected resultThe test lists the matching documents; the batch run creates audit cases with the expense reports as associations.
What should failRun a second batch overlapping the first range: the system warns, and documents in the overlap are counted again.

Setup it checks

Atlas Hub