**Source URL:** https://safety.veevavault.help/en/lr/1117908/index.md

# Configure Latest Case Version Support

You can configure safety views to always return the <a href="/en/lr/752963/#latest-case-version">latest _Case_ versions</a> in a _Workbench Report_, _Workbench Dashboard_, or _Workbench Report Set_, or you can provide users the ability to control the latest _Case_ version logic on the report or dashboard.

To configure latest _Case_ version support: 
1. [Create a _Workbench View Dynamic Join_][1].
2. Optional: [Add filters to the _Principal View_][2].
3. [Create a _Latest Version Reference Column Join_][3].
4. [Enable latest _Case_ version logic on the associated _Principal View_][4].

## Prerequisite

Before you can use this feature, you must enable <a href="/en/lr/1117910/">Latest Case Version Support</a>. 

## Create a Workbench View Dynamic Join {#create-dynamic-join}

From the _Principal View_'s _Dynamic Views Join_ section, <a href="/en/lr/936862/#configure-dynamic-joins">create a _Workbench View Dynamic Join_</a> to associate the _Principal View_ with the latest version _Dynamic View_. Ensure you are associating with the custom _Dynamic View_ ending in `__c`. In addition, you should typically set the _Join Condition 1 Foreign Key_ to the _Dynamic View's_ _Case > ID_ view column.

## Optional: Add Filters to the Principal View {#principal-view-filters}

Optionally, <a href="/en/lr/752981/">add filters</a> and the corresponding <a href="/en/lr/752978/#workbench-view-columns">_Workbench View Column_</a> to the _Principal View_ depending on your business needs. The following example filters of the _Yes/No_ column type are configured based on the standard latest version _Dynamic View_ and _Supporting View_ provided by Veeva and include only completed _Cases_ and significant _Cases_ in the results: 
* (Field) _Include completed versions only?_ (operator) _equals_ (value) _Yes_
    * Select **Available on report**, **Editable**, and **Required**.
* (Field) _Include non-significant versions?_ (operator) _equals_ (value) _No_
    * Select **Available on report**.

## Create a Latest Version Reference Column Join {#latest-version-reference-column-join}

_Latest Version Reference Column Joins_ associate a _Principal View's_ view column with a _Dynamic View's_ view column. The following example configures a join for the _Case > New Info Date_ view column: 
1. Navigate to the respective _Principal View_.
2. Expand the **View Columns** section and select **Case > New Info Date**. 
3. On the _Workbench View Column_ page, expand the **Latest Version Reference Column Join** section and select **Create**. 
4. On the _Create Workbench View Column Join_ page, complete the following information: 
    * **Latest Version Reference View**: Select the custom _Dynamic View_ with latest _Case_ version logic.
    * **Latest Version Reference Column**: Select **Latest Version > Next New Info Date**.

## Enable Latest Case Version on the Principal View {#latest-case-version-principal-view}

To enable the latest _Case_ version logic on the associated _Principal View_: 
1. Navigate to the respective _Principal View_.
2. In the _Details_ section, the following example enables latest _Case_ version support for the _Principal View_ and its _Dependent Views_, and grants users the ability to control _Case_ version logic on reports and dashboards: 
    * <a href="/en/lr/752978/#show-latest-version-only-field">**Show Latest Version Only**</a>: Leave this field blank.
    * <a href="/en/lr/752978/#allow-user-to-control-latest-version-field">**Allow User To Control Latest Version**</a>: Select **Yes**. 
3. Select **Save**.

[1]: #create-dynamic-join
[2]: #principal-view-filters
[3]: #latest-version-reference-column-join
[4]: #latest-case-version-principal-view