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

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

How to change Part Numbers in a Sales Order using SQL

(0) ShareShare
ReportReport
Posted on by

We have a few hundred sales orders, that have not been posted, with a stock Part Number that we need to change. This new part number is a non-stock item, but if it makes it easier we can always add it to stock. As of now, the clearest way to do this is create a macro that changes the part number for a single sales order. However, that still requires someone going in and changing sales orders one by one.

If I wanted to run an update query in the database to change the part numbers, what GP tables would I need to alter in order to make sure the database does not get corrupted? Is there a stored procedure that I would be able to run to help me with this task?

*This post is locked for comments

I have the same question (0)
  • Cheryl Waswick Profile Picture
    on at
    RE: How to change Part Numbers in a Sales Order using SQL

    Hi Metsales,

    I understand you are trying to change Item Number on orders.  The only supported method would be delete the item off the order and add the new one.   It is too risky if costs change to get it all changed in the right places (allocations, inventory, etc).  

    If you are only trying to change the Item Number name, then you can install Professional Services Tools library (PSTL) and in a TEST company, use the 'Item Number Modifier' tool to see if that works for you.

    Thanks,
    Cheryl
    Microsoft Online Community

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans