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

Language used in realtime request

(0) ShareShare
ReportReport
Posted on by 40

Hi,

we are implementing a custom realtime transaction service request, following this doc: https://docs.microsoft.com/en-us/dynamics365/commerce/dev-itpro/extend-commerce-data-exchange

We have included some validation that raises error messages and we have implemented the messages using label files.

The issue is that the error message is always in english even if we have provided the translated labels (in this case, italian labels). The same partially happens, by the way, with every realtime request that uses labels or throws standard errors (such as SettleCustomerOrder if permission or setup are incomplete) - for some reason, in this case, the message is half english half italian: 

pastedimage1662719961163v1.png

I've tried to debug the incoming request and the language is correctly set to it (I think this come from POS and/or CRT?), but still, the label returned is the english one

pastedimage1662719991327v2.png

I've also forced the RetailServiceAccount user to use it as predefined language, without success.

Am I missing some setup? 

  • Daniel Landi Profile Picture
    on at
    RE: Language used in realtime request

    Hi Martina and Ramune,

    This is a known issue that I have been discussing with platform team for some time. AOS has a session pool, and the language is stamped to the session at creation time. Later, when RTS calls "RunAs" passing a new language, the original language of that AOS session will still be used.  

    I'll add a link to this post to the internal work item and check if there are news on that.

    Thank you.

  • Ramune Profile Picture
    on at
    RE: Language used in realtime request

    Hi Martina,

    I will leave it for the community to answer. Let's see if anybody has experienced the same and can advise for you anything.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,027 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,852 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans