**Source URL:** https://quality.veevavault.help/en/lr/1104387/index.md

# Configuring the Related Batches Section (Quality)

Veeva Quality provides the _Related Batches_ application section, which lets users associate _Batch_ records to a quality process record by using pre-defined filters to search for _Batch_ records to add and remove.

The _Batch_ object is used across Quality processes. Associating _Batch_ records to a quality process record using a related object section can be time-consuming. The special _Related Batches_ section helps simplify this process by letting Admins configure default filters for _Batch_ object fields that users can populate to narrow their search.

From the _Related Batches_ section, users can add or remove up to 1,000 _Batch_ records at once, and create new _Batch_ records to add. For each _Batch_ that users add or remove, Vault creates or deletes a join record connecting a process record to a _Batch_ record.

## Supported Objects {#supported-objects}

The _Related Batches_ section is supported for all custom and standard objects in Quality that have a related custom or standard [join object](/en/lr/28740/#many_to_many) that connects to the _Batch_ object. For instance, the _Deviation_ object has a corresponding _Deviation - Batch_ join object.

## Configuring the Related Batches Section

To configure the _Related Batches_ section:

1. Navigate to **Admin > Configuration > Objects > [object] > Layouts**, and select the applicable layout.
2. Click **Insert Section** and select **Related Batches** as the section type.
3. Optional: Update the **Label** and **Name**, select lifecycle states in which to display the section, and add **Section Help**.
4. Select the **Primary Record**. This is the quality process object on which the section displays.
5. Select the **Join Object** that connects the object selected as the **Primary Record** with the _Batch_ object.
6. Under **Default Filters Selector**, select the fields that will appear as default filters when users search for _Batches_ to add or remove. You can also select a default **Operator** for each field.
7. Click **Done**.
8. Save the layout.

## Configuring User Permissions

In addition to the relevant permissions for the [supported quality process object][1], users must have the following permissions in order to view the _Related Batches_ application section:

* _View_ permission for the _Related Batches_ object control on the relevant quality process object
* _Read_ permission for the relevant process - _Batch_ join object
* _Read_ permission for the _Batch_ object
* _Read_ permission for the relevant join object's parent reference fields

To add and remove related batches on a quality process record, users additionally require the following permissions:

* _Create_ and _Delete_ permission for the relevant join object
* _Edit_ permission for the relevant process record's relationship to its corresponding join object, controlled via [_Atomic Security: Relationships_](/en/lr/47850/#Atomic_Security_Relationships), in all relevant lifecycle states
* _Create_ permission for the _Batch_ object, if users need to create new _Batch_ records from the _Search: Add Batch_ dialog 
* _Edit_ permission for the _Batch_ reference field on the relevant join object

[1]: #supported-objects