# Audit

P4W warehouse management system provides a powerful tool that allows users to create custom audits of almost any function or object in the WMS. This data can be used to researching user errors or for verifying that a process was completed properly and more.&#x20;

To access audit tool, navigate to Setup > System > Audit.

<figure><img src="/files/KclIQobqc5Hk3V9tBxcl" alt=""><figcaption></figcaption></figure>

Default audit report will pull up every action that caused a timestamp (i.e. login/logout, product move, handling, etc.) within current time frame (10 days in case of a default audit query).&#x20;

<figure><img src="/files/ddzaZLxNmFYJDaufg7j0" alt=""><figcaption></figcaption></figure>

Click 'Execute' button to get the results of the audit.&#x20;

<figure><img src="/files/UiTzDzAoqOIOjvD8i0dL" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Notice: by default, audit result is limited to a 1000 records per query. To increase or decrease this number, navigate to [System](/v2/system/system-configurations/system.md).
{% endhint %}

## Audit Examples

To make a custom report use the drop down menus to select the subject of your audit. For example, to make an audit about the specific product make following selection and click 'Execute' button as shown below.

<figure><img src="/files/RggjT6wLljvwMuYP9igM" alt=""><figcaption></figcaption></figure>

To create more comprehensive reports, users can add groups and rules to their queries.&#x20;

<figure><img src="/files/9Mxcbhvl61b7rEIN7CW2" alt=""><figcaption></figcaption></figure>

For example, here is report that pull up all the product move operation that were done by user 'hh'. Second argument (specific user) is added through 'Add rule' option.&#x20;

<figure><img src="/files/eGIn6uCBLf9mEjZT3aAt" alt=""><figcaption></figcaption></figure>

Rules can be excusive (AND) to narrow down the finding, or rule can add another category (OR) to the audit report.

### Exclusive Rule (AND) Result

In the following case, audit produces 22 records where user - 'hh' completed product move operations.

<figure><img src="/files/JIuZKmbvmr4GiDXIWbih" alt=""><figcaption></figcaption></figure>

### Inclusive Rule (OR) Result

In case of an inclusive rule, P4W audit added another argument to the report and produce result for all product move operations completed by user 'hh' plus any other type of operation done by the same user.&#x20;

<figure><img src="/files/8Gg47nqQSmyGn58YkH2w" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Notice: P4W Audit is a very comprehensive tool capable of creating in depth reports. Please contact your P4W official reseller for more information.&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.p4warehouse.com/v2/system-audit-guide/audit.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
