issue between Offline database and Store database
We recently had a case where an offline POS refused to sync transactions to the store database after
it came back online. This retail systemconsisted of a centralized store database and an offline database for each of
the POS machines. On each POS the Microsoft Dynamics AX for Retail Offline Sync Service was running to synchronize the offline database with the
store database. The offline databases were created using the Retail Database Utility and had data, so offline sync had been working at one point.
To troubleshoot, we enabled tracing on the AX for Retail
Offline Sync Service as described in this article:
The outcome was following:
ERROR , Microsoft.Dynamics.Retail.Offline.Service, 21,
We discovered that the store database was missing three tables that manage the sync configuration: scope_info, scope_config, and schema_info.
These tables are normally created in the process of creating any new offline database using the Retail
Database Utility. In order to recreate these tables in just the store database we created a new offline database using
the utility (making sure to create a backup of the existing offline database). After this we ran the N-1095
job and restarted the AX for Retail Offline Sync Service which resolved the issue.
Microsoft Sync Framework documentation
How to: Provision and Deprovision
Synchronization Scopes and Templates
Notes for Microsoft Sync Framework 2.1
Authors: Shane Erstad & Kim Truelsen