---
title: "MS Dynamics BC Person Contact -> D365 Sales Contact Add/Update"
description: "MS Dynamics BC Person Contact -> D365 Sales Contact Add/Update"
keywords: "MS Dynamics BC Person Contact D365 Sales Contact"
url: "https://myrapidi.com/wiki/ms_dynamics_bc_person_contact_d365_sales_contact_add_update"
locale: "en"
published: "2024-04-24T10:33:47Z"
modified: "2024-04-26T15:02:02Z"
---

This transfer will transfer new and updated MS Dynamics Business Central contacts into D365 Sales Contacts. All mappings are either 1:1 or additional lookups have been created. However, there are specific mappings where you have more than 1 option to map the indicated fields: :

1. Country\_Region\_Code -\> address1\_country 

| **MS Dynamics Business Central Field** | **D365 Sales Field** |
| --- | --- |
| ##BLANKVALUE(LSLOOKUP('COUNTRIES',"Country\_Region\_Code"),SKIPFIELD()) | address1\_country |
| Country\_Region\_Code | address1\_country |

_Note:In Business Central, the field Country\_Region\_Code is a predefined picklist that will provide you with all country codes and country names. In D365 Sales, the field address1\_country is a free text field and there are no restrictions around it._

  - 1:1 mapping where Country\_Region\_Code = address1\_country if both fields contain the same information;
  - Formula ##BLANKVALUE(LSLOOKUP('COUNTRIES',"Country\_Region\_Code"),SKIPFIELD()) that retrieves the country code from a pre-existing static lookup table called COUNTRIES and ,if the formula evaluates to NULL, this field will be skipped during the data transferring process.
