web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to handle Error : Exception User - Unhandled ?

(0) ShareShare
ReportReport
Posted on by 596
Hi guys,
 
I would like to know how we can handle an /Unhandled exception/ ? like this :
 
This class, although it is an Extension, but this is came from Microsoft, it is for Subscription Billing feature when we activate this feature.
 
So this error is happened when I'm about to posting invoice of a sales order. And as I tried to debug this, with the developer skill limitation that I have, when I tried to go through inside the /next run()/, all seems good, no error, although I don't know if it is supposed to passed that way as it is shown or in the middle of it, actually it should be calculate or run something or call some other class, the point is I keep press the /next button/ without hit any error.
But at one point it will be back to this class and without me press next, pointer directly put in that line and in that second also pop up this error message,
 
May I know what happened here, and how to trace deep further what is really happened and most of all I want to resolve the problem.
 
Thanks
 
 
I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    238,789 Most Valuable Professional on at
    I think you can't debug code inside FormletterJournalPost, not you can see enough details in the pop-up windows, because you haven't loaded symbols for Application Suite package. Review your setup under Dynamics 365 > Options > Debugging.
     
    An exception can be handled by catching it by try/catch and not re-throwing it. Note that you can't catch error exceptions in DB transaction.
     
    Nevertheless I wouldn't try to handle this exception. If posting failed, throwing an exception seems to be the right approach.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 386

#3
Adis Profile Picture

Adis 259 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans