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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Import Purchase order using Excel templates

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm trying to import purchase order in AX 2009 using excel template. I manually create the purchase order header in AX and then import the PurchLine using the same PurchId.

I create the purchase order as a journal (so when i will switch to purchase order type, it will generate the invent trans, that way i don't have to create it). However, when i switch the type, I receive the error "Lot Id is not specified" and I cannot move forward.

Is there a specific field I should be populating in the PuchLine template? or another table?

Some help would be much appreciated!

Thanks,

Caroline.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mohsin Khalid Profile Picture
    501 on at

    Hi Caroline;

    This is a common one, happens on AX 2012 as well when you bring in a line through AIF or excel caused by no record in PurchLineForeignTradeCategory table related to the PO line added.

    Please see this blog for details: mohsinkhalid.com/.../fix-for-error-field-company-and-lot-id-must-be-filled-in

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans