Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Commerce Runtime(CRT) to Typescript D365

(0) ShareShare
ReportReport
Posted on by 15

how do i call CRT from typescript extension.POS?


How to step by step


thanks

CRT

pastedimage1596012766672v1.png

Typescript ExtensionPOS 

pastedimage1596012825029v2.png

  • Suggested answer
    Ramshenkar Profile Picture
    on at
    RE: Commerce Runtime(CRT) to Typescript D365

    I don't what you mean by scratch because the sample Store Hours is the more than enough to consider all the areas of customization in CRT, Retail Server and Typescript. 

    If you study and follow the instructions provided in the readme file, you should be able understand the flow and customizations. 

  • Frima Profile Picture
    15 on at
    RE: Commerce Runtime(CRT) to Typescript D365

    Do you have an example of how to make from scratch?

    thank you very much

  • Suggested answer
    Ramshenkar Profile Picture
    on at
    RE: Commerce Runtime(CRT) to Typescript D365

    To call CRT from typescript project you should first perform following activities

    - Create CRT project  

    - Create Retail Server extension

    - Extend metadata using IEdmModelExtender and CommerceModelFactory

    - Generate typescript proxy

    docs.microsoft.com/.../typescript-proxy-retail-pos

    - Then consume the proxy in Typescript POS project to call CRT

    For end to end customization you can refer Store hour sample extension readme document "RetailSDK\Documents\SampleExtensionsInstructions\StoreHours\readme.txt"

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans