Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Mass creation of pendi...
Finance forum
Suggested answer

Mass creation of pending vendor invoices

Posted on by 2,284
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 
  • Anthony Blake Profile Picture
    Anthony Blake 1,910 Super User 2024 Season 2 on at
    Mass creation of pending vendor invoices
    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?
     
  • Suggested answer
    Frank Hamelly | MVP, MCP, CSA Profile Picture
    Frank Hamelly | MVP... 3,878 Super User 2024 Season 2 on at
    Mass creation of pending vendor invoices
    I would suspect something in your API code.  There is no function in F&O that would do what you're seeing.  
  • Adis Profile Picture
    Adis 2,284 on at
    Mass creation of pending vendor invoices
    @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
  • Anthony Blake Profile Picture
    Anthony Blake 1,910 Super User 2024 Season 2 on at
    Mass creation of pending vendor invoices
    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.

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,435 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,317 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans