Dear All,
Our installed product version of D365FO: 10.0.31. And our PO quantity is usually larger than 1000 lines.
When posting vendor invoice with large number of lines (>500) through batch job. At batch job form with status Executing, if click the parameters button,
the system will display vendor invoice form for us to see/check and then if we close this parameters form before batch job has finished executing (not END yet).
Batch job continues to run until End, then if we open Log of this Batch job we will see errors because it could not update invoice status to invoiced.
It updated status from Received back to Open order status but invoice journal has been posted successfully.
Conclusion: The big issue is the consequence of POs like this that cannot be fixed by normal reverse/cancel invoice/receipt methods. And causes serious errors by the system (already invoiced but header and lines status are still Open orders.
Be noted that: if we do not click parameters button on Batch Job form and close parameter form after then, the system will post and update invoice status successfully.
This issue occured with posting vendor invoices with both Product receipt quantity/Receive now quantity.
At first we thought it was a bug on PROD only, but after simulating it on Contoso the error was similar, you can try this case in Contoso as follows:
- Entity: USSI (no customization and ISV solutions)
- Create a PO > copy lines from another PO (ensure the number of lines are large (e.g > 400lines), purpose to ensure there is enough time to press the parameters button and close the parameters form before the batch job ends.
- Confirm and post product receipt as normal
- Click invoice button in invoice action pane > Click and complete Match product receipt + Click and complete Batch in Process action pane (add specific task description for easy filter in batch job form later) > Click Post
- When see a message below, immediately open Batch job form and find out this batch job by specific task description above.
- In Batch job form: check batch is still in Excecuting status > click batch job number > click parameters button > close parameters form
- Back to Batch job form make sure Batch job is still Executing and running, wait for it completed/ended, then check Log button, also check status of Vendor invoice. Then we can see these errors.
Can anyone to help to simulate this case and verify that is a bug of MS or not? thanks in advance.
Best rgds,
Bill