Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

Throwing a Custom Error Message from Retail Server to CPOS

Posted on by 20

Hello,

I am trying to have a custom error message appear when performing a transaction in CPOS. I am throwing the error from my CRT extension, but I also want an error message window to appear in CPOS. I've tried using the CommerceExtension class and following this guide: Localize Commerce extension resources and label files - Commerce | Dynamics 365 | Microsoft Learn to no avail. Has anyone done this before?

Thank you.

  • Suggested answer
    NicholasT Profile Picture
    NicholasT 20 on at
    RE: Throwing a Custom Error Message from Retail Server to CPOS

    Turns out the issue was that Framework.UI.Knockout was missing from the CSU. After adding it the messages began to appear.

  • huijij Profile Picture
    huijij 19,811 on at
    RE: Throwing a Custom Error Message from Retail Server to CPOS

    Hi NicholasT,

    Did you check if you have registered the CRT extension for offline mode when finished extending CRT?

    learn.microsoft.com/.../commerce-runtime-extensibility

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