Skip to main content

Notifications

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

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

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.
Categories:
  • 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 269 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 71,565 Super User 2024 Season 2 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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans