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
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
    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
    301,075 Super User 2025 Season 2 on at

    Question moved to the Dynamics 365 Commerce forum.

  • ToddB Profile Picture
    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
    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

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 299 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans