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

# Enable WHODrug Koda Auto-Coding for Company Products

With the 26R2 release, Veeva Safety can utilize WHODrug's Koda tool to automatically look up and fill in missing UMC MPID data for _Company Products_. When a _Product Registration_ on a _Case Product_ is created or updated, Vault cross-references the registration with the WHODrug dictionary in the background. If a match is found, Vault populates the missing MPID and caches the lookup logic for easier maintenance. 

After you have enabled this feature, see <a href="/en/lr/01162/#company-product-mpid-auto-coding">Auto-Code and Browse Products</a>. 

## Prerequisites

To enable this feature in your Vault:

* Your organization must maintain a valid <a class="external-link " href="https://who-umc.org/whodrug/whodrug-global/" target="_blank" rel="noopener">WHODrug Global subscription<i class="fa fa-external-link" aria-hidden="true"></i></a> to access the <a class="external-link " href="https://who-umc.org/whodrug/whodrug-global/applications-and-services/koda/#HowtoaccessWHODrugKoda/" target="_blank" rel="noopener">WHODrug Koda<i class="fa fa-external-link" aria-hidden="true"></i></a>. Any use of the WHODrug Koda in Veeva Safety will be subject to the terms and conditions of your subscription. Your company's WHODrug administrator may need to contact WHODrug to access WHODrug Koda.
* The _WHODrug Dictionary_ record must be in the _Active_ state.

## Update the WHODrug Dictionary Object

To enable this feature in your Vault:

1. <a href="/en/lr/26387/#how-to-add-object-fields">Add</a> the following fields to the _WHODrug Dictionary_ object layout on the _Dictionary_ object, below the _License Key_ field:
   * _WHODrug KODA User Key_
   * _Autocoding Scope_
3. Navigate to **Business Admin > Objects > Dictionaries > WHODrug Dictionary** and: 
   * Enter your organization's WHODrug Koda API user key in the _WHODrug KODA User Key_ field.
   * Select the **Autocoding Scope** to include **Company Products**.
   
## Optional: Specify a Custom Koda Cache Expiration

To specify a custom Koda cache expiration: 

1. <a href="/en/lr/26387/#how-to-add-object-fields">Add</a> the _Koda cache days_ field to the _WHODrug Dictionary_ object layout on the _Dictionary_ object, below the _Autocoding Scope_.
2. Navigate to **Business Admin > Objects > Dictionaries > WHODrug Dictionary** and enter your desired number of days in the **Koda cache days** field, with a maximum of 60 days. If left blank, the default is 10 days.

## Optional: Test the WHODrug Koda Connection

To test your organization's WHODrug Koda connection:

1. Navigate to **Business Admin > Objects > Dictionaries > WHODrug Dictionary**.
2. From the **All Actions** menu, select **Validate Dictionary License**.







