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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Exception has been thrown by the target of an invocation - Sales Order invoice posting issue

(0) ShareShare
ReportReport
Posted on by 135

For the past two days we are facing this issue in our SIT and dev environments when posting sales order invoices.

This issue is occurring for both fresh and old records.

Below is the error we are getting and posting is not happening:

pastedimage1672770219319v1.png

There are no customizations involved while posting. The issues is not occurring in UAT.(UAT, SIT & DEV versions are same)

We tried debugging for the issue and below is the call stack.

pastedimage1672770502381v2.png

Kindly help with your suggestions and ideas on this issues.

I have the same question (0)
  • Komi Siabi Profile Picture
    13,093 Most Valuable Professional on at

    Hi Surjit Kumar,

    What version is your SIT ?

  • André Arnaud de Calavon Profile Picture
    300,896 Super User 2025 Season 2 on at

    Hi Surjit,

    Are you aware of possible changes in your SIT environment? E.g. was there a database restore to refresh data? Or did you deploy a new service update from Microsoft?

  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    FormletterService.runSingleThread() logs details of the exception to event logs, therefore you should be able to get more information from there. For example, open Event Viewer on the Dev box and go to Application and Services Logs > Microsoft > Dynamics. I'm not sure which log is the right one; maybe AX-Application. If needed, you can query all logs at once (with a filter for errors only).

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 540 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans