Define audit policies for source documents
This article explains how to set up and run audit policy rules. The example uses expense reports with the hotel expense type. This procedure uses the USMF demo company. The auditor role contains the correct permissions in order to perform these tasks.
- Go to Audit workbench > Setup > Policy rule type.
- Select New.
- In the Rule name field, type a value.
- In the Description field, type a value.
- In the Query name field, select Expense report line.
- In the Query type field, select Aggregate.
- In the Legal entity field, select Legal entity.
- In the Document date reference field, select Modified date and time.
- Select Save.
- In the navigation pane, go to Audit workbench > Setup > Audit policies.
- Select New.
- In the Name field, type a value.
- Expand the Policy organizations section.
- In the tree, select Contoso Entertainment System USA, then select Add.
- In the tree, select Contoso Consulting USA, then select Add.
- In the tree, select Contoso Retail USA, then select Add.
- Collapse the Policy organizations section.
- Expand the Policy rules section.
- In the list, find and select the Policy rule that was created previously.
- Select Create policy rule.
- In the Effective date field, enter a date and time.
- Select Filter.
- In the list, select the row for Expense category, and set the details to Hotel.
- In the Criteria field, enter or select a value.
- Select the Aggregate tab.
- Select Add.
- In the list, select a field value of Transaction amount.
- In the Field field, enter or select a value.
- In the AggregateFunction field, select Sum.
- Select the Group by tab.
- Select Add.
- In the list, select a value of Employee .
- Select Add.
- In the list, select a value of Expense category.
- In the Field field, enter or select a value.
- Select the Having tab.
- Select Add.
- Select Transaction amount.
- In the Field field, enter or select a value.
- In the AggregateFunction field, select Sum.
- In the Criteria field, type
>2000
. - Select OK.
- Select Test.
- In the Document selection starting date field, enter a date and time.
- In the Document selection ending date field, enter a date and time.
- Select Run test.
- On the Action pane, select Audit policy.
- Select Additional options.
- In the Starting date field, enter a date and time.
- In the Ending date field, enter a date and time.
- Select Batch.
- Expand the Run in the background section.
- Select Yes in the Batch processing field.
- Select OK.
- In the navigation pane, go to Audit workbench > Audit cases.
- In the list, find and select the desired record.
- Expand the Associations section.
- In the list, find and select the desired record.