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)

SQL script or X++ code for changing the warehouse on Purchase order and Purchase lines

(0) ShareShare
ReportReport
Posted on by 1,260

Hi all,

Do we have on hand script or X++ job that I can refer to change the warehouse on the PO header and lines at once - I have over 30K headers for which the warehouse needs to be changed.

So was hoping to do for all at once?

*This post is locked for comments

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,679 Super User 2026 Season 1 on at

    How is the status of 30K PO(s)???

    Invoiced, Draft, Confirmed, Received, Registered

    what will be impact of this change on posted orders? Have you carried some analysis?

  • Daljit Kaur Rahsi Profile Picture
    1,260 on at

    Sohaib,

    The Purchase orders are not invoiced, they are Draft, Confirmed or Registered. Basically I can only perform them manually one after another by changing the warehouse on the Header of the PO and then Update the lines warehouse/site options that pops up.

    But I have about 30K PO's and I don't understand how to even start it from. Please Help :(

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
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans