# Enable Generate Draft Pharmacovigilance Agreement Documents

With the 25R3 release, Veeva SafetyDocs introduces the ability to configure templates for pharmacovigilance agreement (PVA) document generation. This feature allows you to create _PVA Outlines_ that users can use to generate draft pharmacovigilance agreement (PVA) documents for a _PV Agreement_ with less manual effort.

After you have enabled this feature, see the following articles for more information:
* <a href="/en/lr/927185/">Configure PVA Outlines</a>
* <a href="/en/lr/01242/#pva-outline">Manage Pharmacovigilance Agreements</a>

## Prerequisites

Before enabling this feature in your Vault, you must <a href="/en/lr/01324/">enable PVA Management</a>.

## Overview

Complete the following procedures to enable this feature in your Vault:
* [Update object layouts][1]
* [Configure _PV Agreement_ actions][3]
* [Add a _PVA Outlines_ tab to the _PVAs_ tab collection][4]
* [Grant _PVA Actions_ permissions][2]
* Create PVA-specific <a href="/en/lr/796234/">_Word Formatted Output Templates_</a>

## Update Object Layouts {#object-layouts}

To update object layouts:
1. <a href="/en/lr/26387/#save-as-layout">Copy the standard layout</a> for the following objects and ensure the new layout is <a href="/en/lr/26387/#object-type-layout">active</a>:
   * _PVA Outline_
   * _PVA Outline Clause_
   * _PVA Outline Subclause_
   * _PV Agreement_
2. <a href="/en/lr/26387/#set-a-default-layout">Set the copied layout as the default</a>.
3. <a href="/en/lr/26387/#delete-a-layout">Delete</a> any other existing custom layouts.

Additionally, you must update the _PVA Outline_ layout to: 
1. <a href="/en/lr/26387/#how-to-add-object-fields">Add</a> the _Word Formatted Output Template_ control field with the **Slider** (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-app-control.png" alt="app-control" style="" />) icon to the _Details_ section above the existing _Word Formatted Output Template_ field. 
2. <a href="/en/lr/26387/#how-to-remove-object-fields">Remove</a> the original _Word Formatted Output Template_ field.

## Configure PV Agreement Actions {#actions}

To configure _PV Agreement_ actions: 
1. <a href="/en/lr/43127/#assign-actions">Assign</a> the _Generate Draft PV Agreement_ action to the _PV Agreement_ object.
2. Add the action as a <a href="/en/lr/59885/#define-actions">user action</a> on the _Initiated_ lifecycle state using the following criteria:
   * **Condition Type**: Select **Always**
   * **Allow the following actions**
      * Select **Generate Draft PV Agreement**
      * **Action Label**: Enter `Generate Draft PVA`


## Create a PVA Outlines Tab {#tab}

<a href="/en/lr/23516/#how-to-create-custom-tabs">Create a custom object sub-tab</a> under the _PVAs_ tab collection for the _PVA Outlines_ object.

## Grant PVA Actions Permissions {#permissions}

Ensure your <a href="/en/lr/22824/#objectpermissions">permission sets</a> are updated to grant the appropriate level of access for users according to your organization's process:

1. Navigate to **Admin > Users & Groups > Permission Sets** and select the custom **PVA Actions** permission set.
2. Navigate to the **Objects** tab and select **Edit**.
3. Add _Read_, _Create_, _Edit_, and _Delete_ permissions for the following objects:
   * _PVA Outline_, including _View_ permission for the _Word Formatted Output Template_ <a href="/en/lr/22824/#object-control-permissions">object control permission</a>
   * _PVA Outline Clause_
   * _PVA Outline Subclause_
4. Select **Save**.
5. Navigate to the **Tabs** tab and select **Edit**.
6. Add _View_ permissions for the _PVA Outlines_ object sub-tab.
7. Select **Save**.

[1]: #object-layouts
[2]: #permissions
[3]: #actions
[4]: #tab