Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Purchase Header Does Not Exist Error - Recurring Purchase Lines

Posted on by 1,114

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?

Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans