Offline database creation steps for Dynamic AX 2012 R3 POS


We can have offline database for the retail stores in case the channel database is offline, or the network is down. Below are the steps to follow for offline database to create in Dynamics AX 2012 R3 version.

  • If there is an existing offline Database in fault status or not syncing, then we can re-create the offline DB by de-provision the database. If it is new offline DB creation the skip to step of running the Retail Channel Configuration Utility.
  • Stop the offline sync service in the POS machine and delete the offline DB from SQL Server.
  • Open the channel database system and follow below steps to de-provision the channel database.
  • Backup Channel database.
  • Open command prompt with elevated privilege and run the following command line: C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Database Utility>RetailDbUtilityCmd.exe DeprovisionChannelDB                  /StoreServername:<YourStoreServerName> /StoreDatabaseName:<YourStoreDatabaseName>
  • Check if all the _tracking tables are successfully deleted in your Channel database.
  • Run the “Retail Channel Configuration Utility” as administrator and select create offline database option as below.
  • Test connection of channel database and don’t test connection of offline DB as DB is not yet created.
  • Click on Apply to create the offline DB and wait for the messages of confirmation.
  • Now select Config Retail POS option as below.
          
  • Test connections of channel and offline DB and give the username and password to start the offline sync service.
  • Wait for the offline sync service to get synchronized with channel database.
  • Login to POS and click on database connection button to switch to offline DB and see it is successful. 
  • Once POS is in offline it doesn’t switch to online automatically. User explicitly needs to click on Database connection button to switch to online channel database.





Comments

Post a Comment

Popular posts from this blog

Sales order invoice posting using X++ with custom SalesParmLine fields

Create a custom lookup with multiple data sources on form using X++

SalesTable2Line custom field update prompt on Sales order in AX 2012