Skip to content

Latest commit

 

History

History
84 lines (57 loc) · 8.49 KB

admin-manual-synchronization-of-table-mappings.md

File metadata and controls

84 lines (57 loc) · 8.49 KB
title description author ms.topic ms.devlang ms.search.keywords ms.date ms.author ms.service ms.reviewer
Manual Synchronization of Table Mappings | Microsoft Docs
The synchronization copies data between Microsoft Dataverse tables and Business Central to keep both systems up-to-date.
brentholtorf
conceptual
al
sales, crm, integration, sync, synchronize
04/01/2021
bholtorf
dynamics-365-business-central
bholtorf

Manually Synchronize Table Mappings

An integration table mapping associates a [!INCLUDEprod_short] table, such as customer, with a [!INCLUDEprod_short] table, such as account. Synchronizing an integration table mapping enables you to synchronize data in all records of the [!INCLUDEprod_short] table and [!INCLUDEprod_short] table that are coupled. Additionally, depending on the configuration of the table mapping, synchronization can create and couple new records in the destination solution for uncoupled records in the source.

Manually synchronizing integration table mappings can be useful during the initial set up of an integration, and when diagnosing synchronization errors.

This article describes three methods for manually synchronizing integration table mappings. Each method provides a different level of synchronization.

Run a Full Synchronization

A full synchronization runs all the default integration synchronization jobs for synchronizing [!INCLUDEprod_short] records and [!INCLUDEprod_short] tables, as defined on the Integration Table Mappings page.

A full synchronization performs the following operations For [!INCLUDEprod_short] or [!INCLUDEprod_short] records that are:

  • Not coupled, a new matching row will be created and coupled in the opposing solution. Whether and where a row gets created depends on the synchronization direction. For example, when synchronizing data from [!INCLUDEprod_short] customers to [!INCLUDEprod_short] accounts, if there is a customer that is not coupled to an account, then a new account will be automatically added in [!INCLUDEprod_short] and coupled to the customer in [!INCLUDEprod_short]. The opposite holds true when the synchronization direction is from [!INCLUDEprod_short] to [!INCLUDEprod_short]. For each account that is not already coupled to a customer, a new matching customer will be created in [!INCLUDEprod_short] and coupled to the account in [!INCLUDEprod_short].

    [!NOTE]
    To achieve this, the full synchronization operation temporarily clears the Synch. Only Coupled Records option on the integration table mapping that is used by the synchronization job. At the end of the full synchronization process, you will be prompted whether you want to keep this option cleared for all jobs.

  • Coupled, the synchronization direction (for example, from [!INCLUDEprod_short] to [!INCLUDEprod_short] or from [!INCLUDEprod_short] to [!INCLUDEprod_short]) is predetermined by the integration table mappings. For more information, see Standard Table Mapping for Synchronization.

Important

You typically only use the full synchronization when you initially set up integration between [!INCLUDEprod_short] and [!INCLUDEprod_short] and only one of solutions contains data, which you want to copy to the other solution. A full synchronization can be useful in a demonstration environment. Because the full synchronization automatically creates and couples records between the solutions, it makes it faster to start working with synchronizing data between records. On the other hand, you should only run a full synchronization if you want a row in [!INCLUDEprod_short] for each row in [!INCLUDEprod_short] for the given table mappings. Otherwise, you can have unwanted or duplicate records in either [!INCLUDEprod_short] or [!INCLUDEprod_short].

To run a full synchronization

  1. Choose the Lightbulb that opens the Tell Me feature. icon, enter Dataverse Connection Setup, and then choose the related link.

    [!NOTE] If you want to run a full synchronization for tables through Dynamics 365 Sales, use the Microsoft Dynamics 365 Sales Connection Setup page instead.

  2. Choose the Run Full Synchronization action, and then choose the Yes button.

  3. When the full synchronization is completed, you can specify whether to allow scheduled synchronization jobs to create new records.

    If you want all synchronization jobs to create new records in the destination for uncoupled records in the source, choose Yes. This sets the Synch. Only Coupled Records field on the table mappings that are used by the synchronization jobs.

    If you want synchronization jobs to run as they did before the full synchronization with regard to creating new records, choose No. This sets the Synch. Only Coupled Records field to the setting it had before the full synchronization.

You can view the results of the full synchronization on the Integration Synchronization Jobs page. For more information, see View the Status of a Synchronization.

Synchronizing All Modified Records

You can use the Common Data Service Connection Setup page to synchronize changes to data in all integration table mappings. This is similar to a full synchronization. It will synchronize data in all coupled records in the [!INCLUDEprod_short] and [!INCLUDEprod_short] tables that are defined in the table mappings. By default, only data that has been modified since the last synchronization will be synchronized. Synchronization jobs synchronize table mappings in the following order to avoid coupling dependencies between the tables:

  1. CURRENCY
  2. SALESPEOPLE
  3. VENDOR
  4. CUSTOMER
  5. CONTACTS

You can view the results of the synchronization on the Integration Synchronization Jobs page. For more information, see View the Status of a Synchronization.

Tip

By modifying the integration table mapping in advance, you can create filters to control the data to synchronize, or configure mappings to create new data in the destination solution for uncoupled records or rows in the source. For more information, see Modify Table Mappings for Synchronization.

To synchronize data for all tables

  1. Choose the Lightbulb that opens the Tell Me feature. icon, enter Microsoft Dynamics 365 Sales Connection Setup, and then choose the related link.
  2. Choose the Synchronize Modified Records action, and then choose Yes.

Synchronize Individual Table Mappings

You can use the Integration Table Mappings page to run a synchronization job for table mappings. This will synchronize data for all coupled records and rows in the [!INCLUDEprod_short] and [!INCLUDEprod_short] tables that are defined by the table mapping. By default, only data that has been modified since the last synchronization will be synchronized.

To synchronize records of an integration table mapping

  1. Choose the Lightbulb that opens the Tell Me feature. icon, enter Integration Table Mappings, and then choose the related link.
  2. Choose the Synchronize Modified Records action, and then choose Yes.

See Also

Synchronizing Business Central and Dynamics 365 Sales
Setting Up User Accounts for Integrating with Dynamics 365 Sales

[!INCLUDEfooter-include]