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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Purchase Header Does Not Exist Error - Recurring Purchase Lines

(0) ShareShare
ReportReport
Posted on by 1,236

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?

I have the same question (0)
  • Suggested answer
    Tammy Torgerson Profile Picture
    Microsoft Employee on at

    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.

  • Suggested answer
    YUN ZHU Profile Picture
    98,356 Super User 2026 Season 1 on at

    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.

    pastedimage1640223458680v1.png

    pastedimage1640223479354v2.png

    I can create purchase order for this vendor.

    pastedimage1640223500061v3.png

    Hope this will help.

    Thanks.

    ZHU

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,965 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,125 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 961 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans