web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

How to Run CDX Full Sync in D365 Retail

(0) ShareShare
ReportReport
Posted on by 240

while running ,RetailTenantUpdateTool,at the end there is message for Run CDX,what is that?

CDX.png

I have the same question (0)
  • Suggested answer
    Ramshenkar Profile Picture
    on at

    Hi,

    There are two type of data sync 

    - Incremental : Sync data depending on the data changes in after last sync maintained by change tracking

    - Full sync : Sync all data from HQ to channel, irrespective of last sync.  

    You can run CDX full sync though Retail and Commerce ->  Headquarter Setup -> Retail Scheduler

    - Select the applicable database

    - In full data sync menu, select '9999' and run. It will sync all the jobs with channel database.

    6138.cdx.png

    I hope this will help you.

  • Tahir Aziz Profile Picture
    25 on at

    Hi Sunjay,

    You need to run 9999 job from the Retail Module --> Channel Database or from Channel Database group. Make sure that if you have multiple groups then select the group which contains your retail tenant.

    Thanks, Tahir.

  • Sanjay kumar singh Profile Picture
    240 on at

    After running 9999 job Getting error.

    Failed on #1 try of uploading data package to blob storage, error message: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.WindowsAzure.Storage.StorageException: Unable to connect to the remote server ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:10002 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext) --- End of inner exception stack trace --- at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext) at Microsoft.WindowsAzure.Storage.Table.CloudTable.Exists(Boolean primaryOnly, TableRequestOptions requestOptions, OperationContext operationContext) at Microsoft.WindowsAzure.Storage.Table.CloudTable.CreateIfNotExists(TableRequestOptions requestOptions, OperationContext operationContext) at Microsoft.DynamicsOnline.Infrastructure.Components.TableAccessor.TableStorageAccessor.PerformOperation(CloudStorageAccount storageAccount, String tableName, Func`1 operation) at Microsoft.DynamicsOnline.Infrastructure.Components.TableAccessor.TableStorageAccessor.AddRecord[T](CloudStorageAccount storageAccount, String tableName, T record) at Microsoft.DynamicsOnline.Infrastructure.Components.SharedServiceUnitStorage.SharedServiceUnitStorage.UploadData(SharedServiceUnitStorageData data, String fileToBeUploaded, String blobContentType) at Dynamics.AX.Application.RetailCDXPackageStore.`doWritePackage(Int64 dataGroupRecId, RetailCDXDownloadUpload direction, String srcFileFullPath, String destFileName) in xppSource://Source/Foundation\AxClass_RetailCDXPackageStore.xpp:line 168 at Dynamics.AX.Application.RetailCDXPackageStore.doWritePackage(Int64 dataGroupRecId, RetailCDXDownloadUpload direction, String srcFileFullPath, String destFileName) at Dynamics.AX.Application.RetailCDXPackageStore.`writePackage(Int64 dataGroupRecId, RetailCDXDownloadUpload direction, String srcFileFullPath, String destFileName, Int32

  • Suggested answer
    Ramshenkar Profile Picture
    on at

    Hi,

    This issue is related with Azure storage emulator.

    Clean the Azure storage emulator cache and then restart azure storage emulator.  

    Ref following post to clean the cache.

    sites.google.com/.../howtodataentitiesexport-unabletoconnecttotheremoteserver

    To restart it, run the below command in command prompt with elevated privileges.

    C:\Program Files (x86)\Microsoft SDKs\Azure\Storage Emulator>AzureStorageEmulator.exe start

  • Suggested answer
    Shafeeque P. Profile Picture
    6,533 Moderator on at

    It recommending to send full data sync from channel database or Channel database group to make sure that all the changes here succesfully updated to retail dbs. The option can be found at Retail and Commerce>>Headquarter Setup >> Commerce Scheduler >> Channel Database/Channel database group >> Run full data sync by selecting the appropriate channel database and job.

  • Sanjay kumar singh Profile Picture
    240 on at

    Hi,

    I was able to run 9999 job .But in my One BOX VM there is no channel Database I am able to see.

    I need to configure some thing?

    screen-_2800_002_2900_.png

  • Ramshenkar Profile Picture
    on at

    Channel database in part of AxDB in OneBox VM. 

    Expand tables in AxDB and the tables with ax schema, are channel tables. 

  • Suggested answer
    Mohd irfan mehdi Profile Picture
    956 on at

    do the initialize commerce scheduler by deleting existing configuration

    Path : Retail and commerce >Commerce scheduler > initialize commerce scheduler and then run the 9999 job

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 271 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 171 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 130 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans