V19.1 of Business Central.
Have added recurring purchase lines to automatically default on certain vendors. When we create any of the purchase documents (invoice, order, etc...) for these vendors we get an error" The Purchase Header does not exist. Identification fields and values: Document Type='Order',No.='XXXX'.
We do not get this error for vendors not using this feature.
We do not get this error when we use the Always Ask option for the recurring lines.
Ideas?
Hi, I also tested it and it didn't seem to be a problem. Is there any customization that affects the standard feature? I recommend that you copy it to the Sandbox environment and debug it.
I can create purchase order for this vendor.
Hope this will help.
Thanks.
ZHU
Hello,
Thank you for reaching out with this error. I just tested automatically defaulting the recurring purchase lines for a vendor. I wasn't able to reproduce this error on my v19.1 environment.
Here are the next steps that I would suggest:
1. If your environment is in the cloud, reproduce the error and then "View the last known error" under Help & Support to look for clues about the error. If your environment is on-prem, then have a developer help with debugging.
2. If your environment is in the cloud, copy your production environment to a sandbox, uninstall extensions and PTEs from the sandbox, and then test to see if the error still occurs.
3. Is there some personalization to the pages where these purchase documents are being entered so that the header record is not being created before the vendor is selected? Check to be sure that you have a document No. assigned before you choose the Vendor.
If you don't gain clues or make progress from the above suggestions, it would be good to raise a support request with Microsoft support via your CSP/Partner.
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156