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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX2012 reference field not showing replacement key in grid

(0) ShareShare
ReportReport
Posted on by 40

Hello,

I've added a custom table to InventOnHandItem form, which has a reference field linked to another customer table, and added this as a field group from the custom table into the grid. I've modified InventDimCtrl_Frm_OnHand to do group by for the reference field. However, the reference field isn't showing the replacement key value, just 'unknown' in the grid. If I add the reference field as a separate field, then it is showing the correct Recid and 'View details' goes to the correct record. Does anyone know how I can get the reference group in the grid to show the replacement key value? This table is also added to a statndard grid elsewhere, where the replacement key is being displayed correctly.

Many thanks for any help given.

Mike

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    I'm not sure what you're saying. Do you say that it doesn't work because of a field group, or because of "group by"?

    If it's the latter case, it seems that even the query trying to fetch replacement values is grouped and because replacement values are neither included in "group by" not they have aggregation functions applied, their values are left undefined.

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…

Neeraj Kumar – Community Spotlight

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

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans