Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

“Cannot edit a record in Vendor invoices" when opening pending vendor invoices

(0) ShareShare
ReportReport
Posted on by 365

When trying to open pending vendor invoices Infolog populates with the message, “Cannot edit a record in Vendor invoices (VendInvoiceInfoTable). The record has never been selected.”

How do I fix this

*This post is locked for comments

  • Daniel_Dou Profile Picture
    7 on at
    “Cannot edit a record in Vendor invoices" when opening pending vendor invoices
    CU24051716-1 have you resolve the issue? 
  • CU24051716-1 Profile Picture
    on at
    “Cannot edit a record in Vendor invoices" when opening pending vendor invoices
    I see a verified answer that this error occurs when there is no PO associated with the invoice. However i got this error and the invoice does have PO associated with it. we were able to resume workflow and fix the issue but want to prevent this from happening again. Any thoughts?
  • Verified answer
    Community Member Profile Picture
    on at
    RE: Trying to open pending vendor invoices Infolog populates with the message, “Cannot edit a record in Vendor invoices (VendInvoiceInfoTable). The record has never been selected.”

    The solution I proposed on May 11, 2017 worked for us. Dynamics AX 2012 R3.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Trying to open pending vendor invoices Infolog populates with the message, “Cannot edit a record in Vendor invoices (VendInvoiceInfoTable). The record has never been selected.”

    The error occurs when an invoice without an associated purchase order is opened from the pending invoice list if there is a record in the PurchTable where the PurchId is empty.

    I suspect the error occurs because the query run by the VendEditInvoice form returns a PurchTable record. Normally no records are returned since the empty value of the VendInvoiceInfoTable.PurchID should not find a matching PurchTable.PurchId.

    Proposed solution: assign a PurchId to the PO in SQL. Then find and delete the PO in AX.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Trying to open pending vendor invoices Infolog populates with the message, “Cannot edit a record in Vendor invoices (VendInvoiceInfoTable). The record has never been selected.”

    I realize that this post is over a year old, but I am running into the same problem. If a pending invoice is not linked to a purchase order, it throws an error when the user tries to edit or open it from the pending invoice list. A new invoice can be created from the pending invoice list, but after the window is closed, the invoice cannot be re-opened for editing. Invoices which are linked to a purchase order can be edited without a problem.

    In addition to the error message: Cannot edit a record in Vendor invoices (VendInvoiceInfoTable), is the message: The record has never been selected.

    Any assistance would be appreciated.

  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Trying to open pending vendor invoices Infolog populates with the message, “Cannot edit a record in Vendor invoices (VendInvoiceInfoTable). The record has never been selected.”

    Hello Brian,

    I do not fully understand your issue.

    You opened the pending vendor invoice list page, selected one of your pending invoices and then got an infolog with the text above?

    Can you probably describe in more details your steps that triggered this infolog?

    Ludwig

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
Zain Mehmood Profile Picture

Zain Mehmood 6 Moderator

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans