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 | - A policy rule type on the expense report line query with Query type Aggregate
- Expense reports for hotel above the threshold exist
|
|---|
| Steps | - Create an audit policy, add the policy organizations and create a policy rule with an Effective date
- Filter Expense category = Hotel, aggregate Sum of Transaction amount grouped by Employee, Having > 2000
- Select Test with a document date range and run the test
- Select Additional options, enter the starting and ending dates and run in batch
- Open Audit workbench > Audit cases
|
|---|
| Expected result | The test lists the matching documents; the batch run creates audit cases with the expense reports as associations. |
|---|
| What should fail | Run a second batch overlapping the first range: the system warns, and documents in the overlap are counted again. |
|---|
Atlas Hub