Skip to main content

Notifications

Announcements

No record found.

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.
  • Configuration package error Buy-from Vendor No. must have a value
    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:
     
     
     
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    Kamal Khakhkhar 324 on at
    Configuration package error Buy-from Vendor No. must have a value
    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
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 77,351 Super User 2025 Season 1 on at
    Configuration package error Buy-from Vendor No. must have a value
    Hi, have you tried setting the Parent Table ID?
    For exmaple,
     
    Hope this helps.
    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

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,234 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans