Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

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

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.

Categories:

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,986 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans