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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Configuration package error Buy-from Vendor No. must have a value

(1) ShareShare
ReportReport
Posted on by 2
We have been using Configuration Packages to load invoices and POs.  After much tinkering, we got it to work, but we get a false error on every line item that reads, /Buy-from Vendor No. must have a value in Purchase Header./  The value is there in the spreadsheet.  When we look at the invoice or PO, it's all there, just fine on both the header and line items.  We've taught our users to ignore these /fake errors./  Has anyone figured out how to avoid it?  Thanks.
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,763 Super User 2025 Season 2 on at
    Hi, have you tried setting the Parent Table ID?
    For exmaple,
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    1,379 on at
    Hii There,
    As per your requirement if you are getting false error, and want to disable it you can add :-
     
    #pragma warning disable AL****
    // Your line of conde by which error occurs.
    #pragma warning restore
     
    You can get reference from Sales Order/Purchase Order page.
     
     
    Or Try to manage Parent Table ID as per Yun Zhu mentioned.
    Thank You.
    Kamal Khakhkhar
  • Community member Profile Picture
    2 on at
    Unfortunately, specifying the Parent Table did not help.  I get a different fake error.  "Purchase Line already exists."  
     
    If it helps, here are my field Table Field specs:
     
     
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,116

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 764 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 635 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans