Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

Data Import into Purchase Line

(0) ShareShare
ReportReport
Posted on by 145

Hi folks,

We've just adopted business central but are having some issues with data import. We've imported Purchase Headers but the actual Purchase Line entity appears to be read only.

Am I taking this the wrong way or am I missing something?

Thanks,

J

Categories:
  • Community Member Profile Picture
    on at
    RE: Data Import into Purchase Line

    In order to import the purchase line you need to know the number of the purchase order that is store in the purchase header.

    My advise, create empty purchase orders (one for each vendor), note the PO number for each vendor.  Then add this PO number in the appropriate field in the purchase line.  At that point you can import the purchase line using Config Package

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,162 Most Valuable Professional on at
    RE: Data Import into Purchase Line

    Can you post a screenshot please?

  • opticshrew Profile Picture
    145 on at
    RE: Data Import into Purchase Line

    Hi Stefano,

    Yes. I've tried editing the fields using Excel but it appears the publish button is greyed out/disabled etc.

    Thanks,

    J

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,162 Most Valuable Professional on at
    RE: Data Import into Purchase Line

    Have you set the Type field with a correct value?

  • opticshrew Profile Picture
    145 on at
    RE: Data Import into Purchase Line

    Hi,

    I've imported by data with no package errors. When trying to apply the data I get an error saying "Type must not be in Purchase Line".

    Any ideas?

    J

  • opticshrew Profile Picture
    145 on at
    RE: Data Import into Purchase Line

    Hi Stefano,

    I've just created a template, package and imported by data. There doesn't appear to be any issues. I'm going to apply the package to ensure the data has been imported correctly.

    Thanks,

    J

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,162 Most Valuable Professional on at
    RE: Data Import into Purchase Line

    Yes Configuration Packages. Have you try to create a package with Purchase Line table (39), export some data (just in order to have the template as model), then fill this template and re-import the data?

    Do you have errors?

  • opticshrew Profile Picture
    145 on at
    RE: Data Import into Purchase Line

    Hi Stefano,

    Are these also referred to as configuration packages? We've tried this but for some reason the columns map incorrectly, even when using a template.

    Thanks,

    Jay

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,162 Most Valuable Professional on at
    RE: Data Import into Purchase Line

    Have you try to import data with a RapidStart package? You can do that.

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... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,998 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans