Skip to main content

Notifications

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,128

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?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 77,069 Super User 2025 Season 1 on at
    RE: Purchase Header Does Not Exist Error - Recurring Purchase Lines

    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

  • Suggested answer
    RE: Purchase Header Does Not Exist Error - Recurring Purchase Lines

    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.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,031 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,868 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans