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'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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,963 Most Valuable Professional
nmaenpaa 101,156