Only recId field is getting '0' while other fields( dataAreaId and tableId) are fine. when I hover on inventTable it shows "no data selected".
Only recId field is getting '0' while other fields( dataAreaId and tableId) are fine. when I hover on inventTable it shows "no data selected".
If my reply answered your question, please mark is as such (by using Did this answer your question? > Yes).
goshoom Thank you so much, including recid in group by worked for me
Your query groups by ItemId, therefore RecId doesn't have any value defined. You need to either group by RecId too, use an aggregation function or redesign the query completely.
By the way, which version of AX is it about?
André Arnaud de Cal... 291,684 Super User 2024 Season 2
Martin Dráb 230,414 Most Valuable Professional
nmaenpaa 101,156