---
title: "Creating Object Mappings for the Inbound Data Sync with Unit4"
canonical: "https://help.fieldbuddy.com/space/FBDOCS/2078310707/Creating%20Object%20Mappings%20for%20the%20Inbound%20Data%20Sync%20with%20Unit4"
format: markdown
---
> Macro (excerpt)
> 
> The Inbound Data Sync retrieves all data from the external system according to the Object Mapping configuration. In the following chapters a few example configurations will be created in a step-by-step process.
> 
> UNIT4 API [https://api.online.unit4.nl/V14/Help](https://api.online.unit4.nl/V14/Help)
> 
> ### Importing Accounts
> 
> In this example FlexConnect will be importing Accounts from Unit4 into the standard Accounts object in Salesforce.
> 
> Here and below Instead of Integration Lookup, Lookup to Service Provider should be specified
> 
> Make sure to have test data available in Unit4.
> 
> If you start an import, make sure to have enough data space in your organisation.
> 
> #### Steps - Creating the Object Mapping
> 
> 1. Go to the Page 'Object Mapping' and select your object mapping.
> 2. Click the button 'New Object Mapping' and fill in the following data:
> 
> ![image](media://b78dcec2-ed47-46d4-b38c-dbd977c67efa)
> 
> 
> | **Field** | **Data** |
> | --- | --- |
> | Object Mapping Name | Account-CustomerInfo |
> | Service Provider | {Your Service Provider} |
> | Sync Direction | Inbound |
> | Operation Type | Upsert |
> |  |  |
> | Is Active | True |
> | Is Required | False |
> | Internal Object | Account |
> | Parent Object Mapping | - |
> | Endpoint URL | /CustomerInfoList |
> | External Id field | **customerId** |
> | External Objects | Customer |
> | Internal field for external Id | U4_External_Id__c |
> | Last Sync Datetime API | U4_Last_Sync__c |
> | Sync Check API | U4_Is_Synced__c |
> | Description |  |
> 
> 
> 3. Click "Save" You are now on the object mapping screen.
> 
> #### Steps - Creating the Field Mapping
> 
> 1. Click the 'New Field Mapping' button.
> 2. Select Record Type 'Unit 4'  
>   
> > Macro (inline-media-image)
> 
>   
>   
> Input the following data by creating separate Field Mappings for each row in this table (Use the Object Mapping 'Account-CustomerInfo' for every Field Mapping you make). Use the 'Save & New' option to quickly created multiple fields. If a column title in the table down below is not available in your 'Add Field Mapping' screen, than you have to edit the 'Screen Layout'. You can do this by clicking the arrow at the right side of your screen and then click 'Edit Layout'.
>   
>   
> 3. **Validate your Salesforce fields.**
>   1. Press the "Validate Salesforce fields" button to validate your fields and see if you didn't make any mistake.
> 
> You are done and ready to test the Inbound Data Sync.