Skip to main content


Microsoft Dynamics AX forum
Suggested answer

Show Unit Of Measurement on Inventory On Hand

Posted on by 100

Hi All,

I'm having trouble with showing UnitOfMeasurement column on Inventory On Hand overview form. I've added the InventoryTableModule table to InventoryOnHand form datasource and join the table to InventorySum table on UnitId. But it seems the retrieved value is not correct. Any idea what's missing or any detailed step to achieve this?

  • raymonmon Profile Picture
    raymonmon 100 on at
    RE: Show Unit Of Measurement on Inventory On Hand

    Hi Mahmoud,

    Thanks for your reply. I end up using display method too but not using view.  Thanks again!

  • Suggested answer
    Mahmoud Hakim Profile Picture
    Mahmoud Hakim 17,887 on at
    RE: Show Unit Of Measurement on Inventory On Hand

    in my case, I have only one unit conversion per item

    so I create a view as the below


    and create display method in inventsum as the below

    display public real Factor()
    STL_uom u;

    select * from u where u.ItemId ==this.ItemId;

    return u.Factor;

    after that i call this method in my form

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,682 Super User

Martin Dráb Profile Picture

Martin Dráb 225,000 Super User

nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans