Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

Purchase Order Import via Data Management

Posted on by

Hi All, 

I am trying to import the purchase order lines data entity via data management and I keep receiving the following error message:

Purchase-Order-Line-Import-Error.png

I am importing a purchase order line for an item number, so the error message seems invalid. 
I have also tried importing a file, specifying a procurement category but have had no luck. 

Any suggestions on how to solve this issue?

  • Nxhalshaikh Profile Picture
    Nxhalshaikh 90 on at
    RE: Purchase Order Import via Data Management

    Yes MeghanP

    whenever you are uploading just keep the required columns and it will work

    Do connect with on LinkedIn - www.linkedin.com/.../

    Thanks,

    Nehal Shaikh

  • MeghanP Profile Picture
    MeghanP on at
    RE: Purchase Order Import via Data Management

     Nxhalshaikh oh my gosh, it worked!

    From looking at the Excel, did you remove all "unnecessary" columns from the data entity - only keeping the minimum information?

    I need to extend the import to allow the unit price and create an import for when we do import non-stock purchase orders (procurement categories).

  • Suggested answer
    Nxhalshaikh Profile Picture
    Nxhalshaikh 90 on at
    RE: Purchase Order Import via Data Management

    Purchase-Order-Lines-_2D00_-Item-Wise.xlsx

    Can you use this format to upload PO Lines with same entity - Purchase Order Lines

    Let me know if this works

    Thanks,

    Nehal Shaikh

  • MeghanP Profile Picture
    MeghanP on at
    RE: Purchase Order Import via Data Management

     Nxhalshaikh No, I did not populate anything in the procurement category column, as I am trying to import a purchase order line for a stock code/item number.

    If you think about manually creating a purchase order, you'd create purchase order lines for either procurement categories or item number(s). In this case, I am trying the latter.

  • Nxhalshaikh Profile Picture
    Nxhalshaikh 90 on at
    RE: Purchase Order Import via Data Management

    Hi Meghan,

    Have you uploaded the correct data in the Procurement Category field?

    Thanks,

    Nehal Shaikh

  • Charlotte X Profile Picture
    Charlotte X on at
    RE: Purchase Order Import via Data Management

    Sorry, I misunderstood.

    I found a thread that discussed this issue, please check purchase order header v2 and purchase order line v2 entity.

    Upload purchase Order using Data management - Dynamics 365 Finance Forum Community Forum

  • MeghanP Profile Picture
    MeghanP on at
    RE: Purchase Order Import via Data Management

    Charlotte X

    This seems to be for purchase order invoices - which unfortunately does not cover my importing issue.  

  • Charlotte X Profile Picture
    Charlotte X on at
  • MeghanP Profile Picture
    MeghanP on at
    RE: Purchase Order Import via Data Management

    Hi Charlotte X ,

    Thank you for the suggestion.

    However, I can successfully import purchase order headers (the system creates PO numbers for me which I then reference on the purchase order line import).

    I am struggling to the import the purchase order lines entity.

    I get the following error message:

    "Results. Item or category must be specified.

    Results. validateWrite failed on data source 'PurchLine (PurchLine)'"

    Any suggestions on how to import a purchase order line entity successfully?

  • Suggested answer
    Charlotte X Profile Picture
    Charlotte X on at
    RE: Purchase Order Import via Data Management

    Hi MeghanP,

    If you're specifying the purchase order number in your import, then you could try setting the "Purchase order" number sequence (Procurement and sourcing - Setup - Procurement and sourcing parameters) to manual (Number sequences -> General FastTab: set "Manual" to yes) prior to import the Purchase order headers.

    If this works, don't forget to set this back to "No" once you've finished migration.

    Or you can try to delete the line and system will automatically show the correct line.

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