Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Unanswered

Language used in realtime request

Posted on by 32

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
    Daniel Landi 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
    Ramune 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans