Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

I want to assign rec id's of one table to rec id field in temp table but gettin '0'?

(0) ShareShare
ReportReport
Posted on by 105

pastedimage1662682226705v1.png

Only recId field is getting '0' while other fields( dataAreaId and tableId) are fine. when I hover on inventTable it shows "no data selected".

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,414 Most Valuable Professional on at
    RE: I want to assign rec id's of one table to rec id field in temp table but gettin '0'?

    If my reply answered your question, please mark is as such (by using Did this answer your question? > Yes).

  • imran_balti115 Profile Picture
    imran_balti115 105 on at
    RE: I want to assign rec id's of one table to rec id field in temp table but gettin '0'?

    goshoom  Thank you so much, including recid in group by worked for me

  • Martin Dráb Profile Picture
    Martin Dráb 230,414 Most Valuable Professional on at
    RE: I want to assign rec id's of one table to rec id field in temp table but gettin '0'?

    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?

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,684 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,414 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans