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)

Change Inventory Unit for an Item

(0) ShareShare
ReportReport
Posted on by 20

Hi,

My client recently asks me that he needs to change the inventory unit for an item that already have transaction. Since AX 2012 doesn't allow it in any funcional way, he asked me to do this in a "developer way".

We suggested him to do create a new item instead of change the original one. He said it's ok, but only if we can delete the original one or hide in everywhere on AX. Mark the original item as "Stopped" in Default Order Settings is not an option to him since it will still be visible in any item lookup.

I already tried to programmatically change the item invent unit in a test environment doing the follow steps:

1. Close all inventory transactions for the item

2. Issue all the Physical Inventory through a Movement Journal

3. Update the InventTableModule table

4. "Bring back" the issued quantities, recalculated in the new unit, also through a Movement Journal

After doing the changes, everything was working fine in a first look, until I came across a scenario envolving a WHS Work with more than onde Put work line, where integer quantities were turned into decimal in a very simple division. Since I have never came across this situation until I did the changes, It makes me rethink the strategy.

So, after that, my questions is: Does anyone have any suggestions about how can I get a new InventoryUnit for an item "without left behind" any obsolete records?

By the way, I apologize if my English is not so easy to understand.

Thanks

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Rodrigo Beltrão,

    My suggestion would be to discuss your first idea (=>create a new item) once again with the customer.

    Probably try to explain him the issues you identified in detail and the problems and risk.

    If the item is stopped it might be available in lookups but maybe you can rename the item to indicate that this is an old and suspended one.

    I believe that over time similar issues for other items might arise. As a result the item you currently deal with might not be the only one that faces this 'fate' and from my perspective the safest way is setting up a new item.

    Best regards,

    Ludwig

  • Rodrigo Gomes Profile Picture
    20 on at

    Hi Ludwig!

    Thanks for your help!

    After showing the customer all the risks of a forced change, he accepted our first suggetion.

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans