web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Mass creation of pending vendor invoices

(1) ShareShare
ReportReport
Posted on by 6,879 Super User 2026 Season 2
Dear all,
 
We face a weird issue\bug in the pending vendor invoice form. When posting a vendor invoice, occasionally it happens that a lot of pending vendor invoices are created automatically from the purchase orders. A lot means here around 200 invoices.
As we have cleaned that up I can show you only the excel data we exported when that happened.
 
Some points to consider:
-It happens from time to time ~once a month. Pending vendor invoices are being posted every day
-We faced that with 2 users. So it doesnt happen only for one user, but also not for multiple. It happened multiple times with one user.
-The pending vendor invoices are being created nearly simultaneously, as the created date and time is nearly the same on all created invoices. Difference is around 1-2 seconds. Created by is the same user for all created invoices
-It happens when we post a intercompany vendor invoice, that is being created from a posted project intercompany customer invoice (free text invoice)
-The created invoices are linked to purchase orders.
-We cant reproduce it our test environments, thats why debugging the process is not possible, as well as a MS Ticket, especially as we do have minor customizations on the form, but nothing that could trigger this.
 
 
 
My question is, is there a function that could trigger the creation of pending vendor invoices for purchase orders? If there is such a function, we could debug the posting of vendor invoices and check if that function could somehow be triggered.
 
Thanks in advance, Adis 
I have the same question (0)
  • Anthony Blake Profile Picture
    3,204 Super User 2026 Season 2 on at
    Hi Adis,
     
    Where are you seeing the duplicates, only in the data? What process are you using to create the pending invoices?
     
    I know that VendInvoiceInfoTable & VendInvoiceInforLines records are duplicated when being edited by a user, and wondering if your issue is related.
  • Adis Profile Picture
    6,879 Super User 2026 Season 2 on at
    @Anthony

    Hey,

    I wasnt mentioning any duplicates. The usually way of creating pending vendor invoice is either through an intercompany (project) customer invoice or via API, as we are using another software for invoice capture and send\create them in D365FO as pending vendor invoices.
     
    The bug is, that pending vendor invoices are being created automatically, they just appear. The data for these pending vendor invoices is coming from the purchase orders.
     
    Kind regards, Adis
  • Suggested answer
    Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,633 Moderator on at
    I would suspect something in your API code.  There is no function in F&O that would do what you're seeing.  
  • Anthony Blake Profile Picture
    3,204 Super User 2026 Season 2 on at
    Got it Adis, sounds like you need to track down where an API is being called. Is this a custom integration? Do you have any idea what the process is, are they coming in via DMF?
     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 341 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 312

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 262 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans