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 :
Microsoft Dynamics AX (Archived)

Cannot create a record in Vendor invoices (VendInvoiceInfoTable). The record already exists.

(0) ShareShare
ReportReport
Posted on by 632

Hi Experts,

3036.Capture.PNG

While i try to post PO invoice i am getting this error. Please tell me how can i solve this error.

Thanks & Regards

Rahul

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Rahul,

    Have you recorded an invoice with the same number before?

    If this is not the case then please have a look at the available hotfixes in LCS as this message might be triggered by a bug.

    Please see e.g. https://fix.lcs.dynamics.com/Issue/Results?q=Cannot+create+a+record+in+Vendor+invoices+%28VendInvoiceInfoTable%29.+The+record+already+exists.&dm=0&v=3_5_7_4_1_16_15&i=2_1_3_4&ct=1_3_5_4_2_6&ft=1_2_3&cu=&pi=&pm=&pc=&rd=&d=&envId=&permission=&x=29&y=15

    Best regards,

    Ludwig

  • Rahul.p Profile Picture
    632 on at

    Hi Ludwig,

    Thanks for your reply.

    Que. Have you recorded an invoice with the same number before?

    I am getting this error for every purchase order while i try to post the invoice.

    Best regards,

    Rahul

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Rahul,

    In this case I would ask you to get into contact with a developer urgently.

    This is either a bug or the result of a customization and your development colleagues should be able to get this fixed quickly so that you can post your invoices.

    Best regards,

    Ludwig

  • Rahul.p Profile Picture
    632 on at

    Dear Ludwig Reinhard/Sukrut Parab,

    Thanks for your reply,

    I asked to my technical person he is telling error is coming from PurchFormLetter (class) -> Run method.

    He is telling while he tried to check code through debugger PurchFormLetter (class) -> Run method ->if (reArrangeNow) value is taking true.

    6763.Capture.PNG

    He is telling when he try to check same thing in another server  through debugger (reArrangeNow) value is coming false so loop is come out.

    Could you please tell me why (reArrangeNow) value is coming true.

    Best regards,

    Rahul

  • Rahul.p Profile Picture
    632 on at

    Hi Crispin,

    In PurchFormLetter class here is method of reArrangeNow.

    public boolean reArrangeNow(boolean _reArrangeNow = reArrangeNow)
    {
    reArrangeNow = _reArrangeNow;
    return reArrangeNow;
    }

    This is coming from "_reArrangeNow" parameter, We are not understanding why "_reArrangeNow" is taking true value.

    Is there any parameter selected?
    Before user can able to post the invoice but now he is not able to post.

    egards,

    Rahul

  • Mraj Profile Picture
    42 on at

    HI Rahul,

    Please be informed that we are facing same issue in AX 2012 R2 ,CU6 , I been struggling with issue more than a month .

    Kindly let me know if you were able sort out this issue .

    Looking forward your response .

    Thanks

    Raj 

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans