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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Group inventTrans records by month with X++

(0) ShareShare
ReportReport
Posted on by 81

Hello everyone,

I need to be able to group item inventory receipt transactions by month. In SQL, this is not complicated using group by and month(), but in X++ there is no month clause, so I haven't found an alternative to do it. I have checked several forums and haven't come across similar problems. Any possible solution is welcome.
Thank you very much in advance.

  • Verified answer
    Martin Dráb Profile Picture
    240,961 Most Valuable Professional on at
    Which version of AX are you using? If it's AX 2012 or F&O (which has a different forum), you can create a view with a computed column returning the month number (using the month() SQL function). Then you'll simply group by this computed column.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 555 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 484 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 378

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans