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, ...
Unanswered

Unable to Invoice Sales order - Error says "Exception has been thrown by the target of an invocation"

(0) ShareShare
ReportReport
Posted on by 20

This sales order is picked and packed.  It was shipped out on 4/29/2022.  The order should have been invoiced on 4/29/2022 via the batch job but the user notified us today 5/2/2022 that the order did not get invoiced.  When manually trying to invoice it, we get an error saying "Sales order: SOxxxxxxx   Exception has been thrown by the target of an invocation. Micosoft-Community-question--_2D00_--Error-Exception-has-been-thrown-by-the-target-of-an-invocation.png

This occurs just on this sales order;  all other orders are invoicing without any issue.  We're on AX 2012 R3 CU9.

Things I have tried so far to invoice the sales order:

1.   I tried to invoice it on other AOS's.  In the past, it was rare when we got this error, and to fix it, we would log into a different AOS and manually invoice the order, but this did not work for us this time.

2.   I ran the posting without Executing business operation in CIL.  I did this manually, not in batch.

As mentioned, the order was shipped on 4/29/2022.   On the Sales order, in the Action pane, when we click on 'Release check', we get the following.  Note the two red errors.

Micosoft-Community-question--_2D00_--Error-Exception-has-been-thrown-by-the-target-of-an-invocation_5F00_Release-check.png

Any help is appreciated.  Thank you.

I have the same question (0)

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
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans