Source: https://vaultcrmhelp.veeva.com/doc/Content/CRM_topics/SampleManagement/SupportingSampleAudits/EnablingAudits.htm

## Enabling Sample Audits

Auditors identify potential compliance issues and ensure users’ inventory counts are accurate by counting and reviewing users’ on-hand inventory. Sample audits can be conducted by the home office with the approval of an auditor, by end users with the approval of an auditor, or by auditors themselves. Auditors use sample inventory records to capture their findings.

**Who can use this feature?**

* Auditors — Browser
* [Conducting Sample Audits](#Conducti)
* Users do not require an additional license

### Configuring Sample Audits for

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)Auditors](#)

To configure this feature:

1. Ensure [Configuring Sample Management](../ConfiguringSM.htm) is complete.
2. Create a security profile and permission set for auditors.
3. Create **user\_\_sys** records for auditors.
4. Create a **user group** for auditors and assign the auditor security profile to the user group.
5. Add the appropriate users to the auditor user group.
6. Grant auditors the following permissions:

   | Object | Object Permissions | Object Types | Field | Field Permissions |
   | --- | --- | --- | --- | --- |
   | sample\_inventory\_\_v | CRED | sample\_inventory\_\_v | * audit\_\_v * inventory\_date\_time\_\_v * inventory\_for\_\_v * inventory\_from\_date\_\_v * inventory\_type\_\_v * mobile\_created\_datetime\_\_v * mobile\_id\_\_v * mobile\_last\_modified\_datetime\_\_v * no\_sample\_lots\_\_v * previous\_inventory\_date\_time\_\_v * status\_\_v * submitted\_\_v * submitted\_date\_\_v * unlock\_\_v | Edit |
   | sample\_inventory\_item\_\_v | CRED | sample\_inventory\_item\_\_v | count\_\_v | Edit |
   | * difference\_\_v * expected\_quantity\_\_v * expiration\_date\_\_v * inventory\_name\_\_v * lot\_\_v * lot\_lookup\_\_v * mobile\_id\_\_v * sample\_\_v * u\_m\_\_v * unlock\_\_v | Read |
   | sample\_lot\_\_v | RE | sample\_lot\_\_v | * active\_\_v * allocated\_quantity\_\_v * batch\_lot\_id\_\_v * calculated\_quantity\_\_v * expiration\_date\_\_v * product\_\_v * sample\_\_v * sample\_lot\_id\_\_v * suppress\_lot\_\_v * u\_m\_\_v | Read |
7. Ensure the **audit\_\_v** checkbox is added to the appropriate sample\_inventory\_\_v layouts.
8. Grant auditors access to the following tabs:
   * My Samples
   * Sample Inventory (optional)
9. Create the following Sharing Rules to share records with the auditors’ user group:

   | Object | Rule Criteria | Share With | Access Level |
   | --- | --- | --- | --- |
   | sample\_lot\_\_v | status\_\_v = 'active\_\_v' | Auditor Group | Viewer |
   | sample\_inventory\_\_v | status\_\_v = 'active\_\_v' | Auditor Group | Editor |

### Conducting Sample Audits as

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)Auditors](#)

To conduct a sample audit, create inventories for all appropriate users:

1. Select **New Inventory** from the Sample Inventories section of the My Samples tab.
2. Complete the appropriate fields. Use the **inventory\_for\_\_v** lookup field to select the appropriate user.
3. Select the **audit\_\_v** checkbox to mark the inventory record as an audit record.

   ![](../../../Resources/Images/SampleManagement/Audit/AuditRecord.png)
4. Select **Save.**
5. Select **Submit** from the All Actions menu on the saved record when the audit record is complete.

   ![](../../../Resources/Images/SampleManagement/Audit/Copy of SubmitAudit.png)

Once submitted, the sample\_inventory\_\_v record is locked. The inventory is logged for the audited user, the auditor is listed in the created\_by\_\_v field on the sample\_inventory\_\_v record, and the audit\_\_v checkbox is selected, identifying the record as part of a sample audit.

To limit license use, sample admin users may deactivate audit users when the audit is finished.

### Related Topics

[Capturing Inventories](../ManagingSampleInventory/CapturingInventory.htm)

[Capturing Inventories for Other Users](../ManagingSampleInventory/CapturingOtherUsersInventory.htm)

[Maintaining Sample Data Integrity](DataIntegrity.htm)
