Dynamics AX

Thursday, 9 July 2015

Exception has been thrown by the target of an invocation.AX 2012 Purchase order invoicing.

Hi,
This is a Microsoft bug.
This error occurs when you try to Invoice a Purchase order that has attachments such as Notes, etc.

If you uncheck 'Execute business logic in IL' you will get this error:

RecordInsertList object not initialized Error while posting invoice with prepayment


To fix this, simply add this line of code(see image):

Class: PurchAdvanceApplicationJournalPost
Method: init()




Posted by Unknown at 03:16 3 comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamics ax 2012 posting error, Exception thrown, invoice with attachments in dynamics ax, po posting error, prepayment invoice, Purchase order, Recordinsertlist object not initialized, target of invocation
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2015 (9)
    • ►  October (1)
    • ►  August (1)
    • ▼  July (1)
      • Exception has been thrown by the target of an invo...
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2014 (17)
    • ►  June (2)
    • ►  May (3)
    • ►  April (4)
    • ►  March (3)
    • ►  February (5)
  • ►  2013 (8)
    • ►  November (1)
    • ►  June (1)
    • ►  May (1)
    • ►  February (3)
    • ►  January (2)

About Me

Unknown
View my complete profile
Awesome Inc. theme. Powered by Blogger.