# IntegrationFieldValueMap

## <span class="mw-headline" id="bkmrk-what-it-does-1">What it does</span>

Looks up another value based on the string provided, for use in a scheduled integration.

Values will be swapped from a list provided to this codeunit.

An empty string will be returned if no match can be found.

## <span class="mw-headline" id="bkmrk-how-to-invoke-1">How to invoke</span>

Insert value in field mapping Designer &gt; Integration &gt; Import sources &gt; \[integration\] &gt; \[fieldmapping\] &gt; Codeunit handler

```
dk.p2e.blanket.codeunit.common.IntegrationFieldValueMap
```

## <span class="mw-headline" id="bkmrk-configuration-1">Configuration</span>

Insert value maps seperated by "@" in:

\[fieldmapping\] &gt; Configuration values

Example:

```
Tesla Model S@Large car
Hummer@Large car
Toyota Corolla@Medium car
Suzuki Swift@Small car
```

## <span class="mw-headline" id="bkmrk-developer-info-1">Developer info</span>

- <span class="mw-headline">Type: [CodeunitTranslator](https://docs.tsnocode.com/books/codeunit-reference/chapter/translator)</span>
- <span class="mw-headline">Security: None</span>
- <span class="mw-headline">Classpath: dk.p2e.blanket.codeunit.common.IntegrationFieldValueMap</span>