Setting Up E-Commerce Replication
Having your data automatically replicated between Dynamics NAV and the Storefront is ensured by two separate processes.
Change Tracking in Dynamics NAV is responsible for outgoing data replication. It detects changes to the relevant records made by Dynamics NAV users, and registers the changes in a special “E-Commerce Replication Queue” table. Change Tracking process runs in the context of Dynamics NAV users alongside the regular actions they perform in Dynamics NAV, like changing Item cards or posting transactions with Items or Customers.
Replication Service is a Dynamics NAV Server background process responsible for transmitting the changes registered in the “E-Commerce Replication Queue” to the Storefront, and importing any new documents and events from the Storefront to Dynamics NAV. Replication Service also updates Replication Status page to enable monitoring.
Enable Change Tracking
To enable Change Tracking, open the Replication Setup page by using Search or Departments / E-Commerce B2B menu.
Enable Change Tracking by placing a checkmark in the Enable Change Tracking field.
You must restart your Dynamics NAV Service in order for Change Tracking to activate.
Set Up the Replication Service
Replication Service process can be set up using three different methods. You may choose one according to your usage scenario.
Method | Comments |
---|---|
NAS Service | Recommended for production environments. Requires IT administration tools and administrator access to NAV Server. |
Background Session | The easiest way to get going, can be done by a NAV user from the NAV Client. Has some limitations though. |
Job Queue | An alternative to stick with the standard Dynamics NAV tools. |