Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

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

Posted on by 630

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

  • Mraj Profile Picture
    Mraj 40 on at
    RE: Cannot create a record in Vendor invoices (VendInvoiceInfoTable). The record already exists.

    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 

  • Rahul.p Profile Picture
    Rahul.p 630 on at
    RE: Cannot create a record in Vendor invoices (VendInvoiceInfoTable). The record already exists.

    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

  • Rahul.p Profile Picture
    Rahul.p 630 on at
    RE: Cannot create a record in Vendor invoices (VendInvoiceInfoTable). The record already exists.

    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

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Cannot create a record in Vendor invoices (VendInvoiceInfoTable). The record already exists.

    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
    Rahul.p 630 on at
    RE: Cannot create a record in Vendor invoices (VendInvoiceInfoTable). The record already exists.

    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
    Ludwig Reinhard Microsoft Employee on at
    RE: Cannot create a record in Vendor invoices (VendInvoiceInfoTable). The record already exists.

    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

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... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans