Notifications
Announcements
No record found.
Hi All,
This job will iterate 1500 records in queryRun as per my query. That's correct. Among that, there 5 records only has Qty > 0. How can i filter the same in above query class?
I have added group by of Item Id and InventDimId. And Sum of Qty field.
Thanks.
Moved to Dynamics AX forum.
Which version of AX is it about? You can do it with "having", which was introduced in AX 2012, I think. Another approach would be using a summarized view.
Hi,
I don't think we can filter on the sum of qty in the query.
But it's feasible to make it with T-sql and the post below explain how to make it.
(community.dynamics.com/.../executing-direct-sql-statements)
regards,
We can do it. With "having", mentioned above.
By the way, if you wanted to do it in T-SQL, you would need the same thing: HAVING.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 551 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional