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

  • Suggested answer
    Mohd irfan mehdi Profile Picture
    Mohd irfan mehdi 956 on at
    RE: How to Run CDX Full Sync in D365 Retail

    do the initialize commerce scheduler by deleting existing configuration

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

  • Ramshenkar Profile Picture
    Ramshenkar on at
    RE: How to Run CDX Full Sync in D365 Retail

    Channel database in part of AxDB in OneBox VM. 

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

  • Sanjay kumar singh Profile Picture
    Sanjay kumar singh 240 on at
    RE: How to Run CDX Full Sync in D365 Retail

    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

  • Suggested answer
    Shafeeque P. Profile Picture
    Shafeeque P. 6,499 Super User 2025 Season 1 on at
    RE: How to Run CDX Full Sync in D365 Retail

    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.

  • Suggested answer
    Ramshenkar Profile Picture
    Ramshenkar on at
    RE: How to Run CDX Full Sync in D365 Retail

    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

  • Sanjay kumar singh Profile Picture
    Sanjay kumar singh 240 on at
    RE: How to Run CDX Full Sync in D365 Retail

    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

  • Tahir Aziz Profile Picture
    Tahir Aziz 25 on at
    RE: How to Run CDX Full Sync in D365 Retail

    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.

  • Suggested answer
    Ramshenkar Profile Picture
    Ramshenkar on at
    RE: How to Run CDX Full Sync in D365 Retail

    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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans