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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

Calling a real-time service from CRT

(0) ShareShare
ReportReport
Posted on by

Hi All,

Can anybody point me how to make a real-time service call to D365 HQ from a CRT API. I need this to save additional customer fields in a new table defined in D365HQ F&O.

Thanks.

I have the same question (0)
  • Andreas Hofmann Profile Picture
    Microsoft Employee on at

    How real-time does this data need to be in HQ? I am asking as real-time calls to HQ can cause lots of performance and scalability issues. 

    If not real-time it would be better to store the data in the channel DB (CSU) and let a pull job sync these changes back to HQ every few minutes or hours...

    If this is required to be real-time AND is not happening too often, you can find docs on how to make RTS calls on docs.microsoft.com.

    Cheers, 

    Andreas

  • Community Member Profile Picture
    on at

    Thanks Andreas,

    I understand the concern that you mentioned here. The data is related with Customer profile and needs to be in HQ right away with the same logic when we create a customer record from eCommerce or POS in Sync mode (Async = NO in the channel functionality profile).

    If i am going with a pull job, the data is updated in HQ after the pull and again needs to be pushed so that the changes are reflected in the channels, as per my understanding bidirectional sync is not supported on the same table unless I make the push to a different table with the same structure in the channel DB.

    In simple words the pull will be from table X, and the Push will be on X'

    Can you point me to the MSFT RTS documentation if not this one docs.microsoft.com/.../extend-commerce-data-exchange

  • André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at

    Question moved to the Dynamics 365 Commerce forum.

  • ToddB Profile Picture
    Microsoft Employee on at

    Hi Zeg,

    Please refer to the documentation previously referenced:

    Extend Commerce Data Exchange - Real-time Service

    Extend Commerce Data Exchange - Real-time Service - Commerce | Dynamics 365 | Microsoft Docs

  • Community Member Profile Picture
    on at

    Hi Todd,

    Thanks for your response.

    This documentation shows a very basic example. They didn't include either how to extend OOB services or a comprehensive example showing Entity persistence to DB.  

  • ToddB Profile Picture
    Microsoft Employee on at

    Hi Zeg,

    If you need to see a full end to end example, please check the Retail SDK.  Retail software development kit (SDK) extensibility samples - Commerce | Dynamics 365 | Microsoft Docs  
    Retail software development kit (SDK) extensibility samples - Commerce | Dynamics 365 | Microsoft Docs

    Based on this document, the EmailPreference sample that is within the SDK may help get a better idea of what is needed.  It uses RTS and says it demonstrates persisting the data to both the channel DB (CRT) and to the HQ DB (the RTS code in X++)

  • Community Member Profile Picture
    on at

    Hi Todd,

    Thanks for the heads up. I have seen the CRT implementation of the EmailPreference  sample, but didn't checked the HQ side. I will definitely review it.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 287

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 212 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 145 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans