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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Display InventDimId in InventSum returns empty

(0) ShareShare
ReportReport
Posted on by 77

Hi All,

i'm trying to create a display method in InventSum so that it can be put into forms.

However the records return empty when i return InventDimId field

The Code:

display str DispExpDateOH()
{
    return strFmt("%1", this.InventDimId );
}

output:

0167.Untitled.png

Any help is appreciated,

Thank you

*This post is locked for comments

I have the same question (0)
  • Antineus Daniel Profile Picture
    77 on at

    Hi Andre & Ievgen,

    thank you for your responses,

    i'll follow up to my team regarding this issue

    Antineus Daniel

  • Verified answer
    Mea_ Profile Picture
    60,286 on at

    Hi Antineus Daniel,

    Queries against InventSum usually use "group by" by certain fields and InventDimId is obviously not one of them. Probably that's why it's empty for you. It's hard to say more without understanding what problem are you solving and what are you actually doing (what form are you talking about for example)...

  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,714 Super User 2025 Season 2 on at

    Hi Antineus,

    The forms based on the Inventory on hand table (InventSum) are not displaying the actual records, but aggregations. If you want to know the inventory on-hand for a warehouse it sums up e.g. all locations and serial numbers. This will involve multiple InventDimId's.

    So for this reason it is not possible to have a display method of the InventDimId field.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#1
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#3
Nakul Profile Picture

Nakul 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans