Skip to main content

Notifications

Announcements

No record found.

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

Dynamics 365 BC - Purchase Invoice Error

Posted on by 60
Hello,
 
While posting the Expense report to Dynamics 365 BC Purchase Invoice, we are getting an error as 'The field Document No. of table Purchase Line contains a value that cannot be found in the related table (Purchase Header)'.
 
Could you please help us resolve this?
 
 
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    Dynamics 365 BC - Purchase Invoice Error
    Hi, from the error message, the Document No. in the Purchase Line cannot be found in the Purchase Header. If this is operated directly in BC, this problem will not occur unless there is customization. You may have used the API or Configuration Package to import the Purchase Line data, but not the Purchase Header? Or is the Document No. in the Purchase Header entered incorrectly? Anyway, check the data in Purchase Header.
     
    Hope this helps as well.
    Thanks.
    ZHU
  • Suggested answer
    Dallefeld Profile Picture
    Dallefeld 11,425 User Group Leader on at
    Dynamics 365 BC - Purchase Invoice Error
    In order to answer your question, we need more information about how the Purchase Invoice is created. It seems that the import/integration is not populating the Document No on each of the Purchase Lines.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans