---
title: Mapping organization/contact/vehicle
slug: hyper-portal/mapping-organizationcontactvehicle
docTags: 
createdAt: 2020-11-16T12:21:57.000Z
---

### Organization and contact mapping

[File](https://drive.google.com/file/d/10nb2co3y-c4_4zVZspKEcBk3YjdDSqGr/view?usp=sharing)
By default set(background):
NRcust or NRcontact -> *xdmsExternalRef*


### Vehicle mapping

[File](https://trello-attachments.s3.amazonaws.com/5e95db7f193b2c0737f2468a/5ea135cd2fe73238c77d8e7e/eaaa7e4d1644b3da04aff2f42ecb8fe4/Voertuig_-_XDMS.xlsx)
By default set(background):
NRmach -> *xdmsExternalRef*



### Computed functions

**XDMS\_REF\_TO\_ENTITY\_ID(refDefinitionId, xdmsProperty \[, definitionPropertyId])**
Return entityId from reference definition, for example, when you want to set color entityId for property of vehicle definition.
*refDefinitionId* - reference definition id,
*xdmsPropertyId* - xdms property with value from this reference definition
*definitionProperty* - in which property refDefinitionion to search value from xdmsProperty. Optional, by default search in entityId field.&#x20;**&#x20;&#x20;**

::Image[]{src="https://api.archbee.com/api/presign/5goaGPkGyPYxtK7K75CEC/hTwkFe5j_IvOSdgCvMf0G_image.png" size="60" caption="Example to use" position="center" width="1150" height="124" darkWidth="1150" darkHeight="124" showCaption="true"}

This example return `entityId` of `make`  definition for an entity that finds by lowercase value from `NMbrnd` field in the xdms dump in `title` property of `make` definition.&#x20;

### Vehicle mapping

When deleting a vehicle in the HyperPortal, it gets status 'H' in XDMS&#x20;

S


Offers
------

From XDMS to Hyperportal - mapping can be found in Integrations > XDMS > Offer Module

From Hyperportal to XDMS - not implemented yet.

