Announcements
No record found.
I have to filter a set of records from the table using modifieddatetime and using a date range in x++.
But I see that even there is data in the table select statement doesn't work.
Can anyone please let me know if I am missing anything.
This is my test code.
Please review that your values of startDateTime and endDateTime contains the extected UTC values. Also, make sure that you're running your code in the right company.
Also, which version of AX are you using?
Thanks Martin for replying back,
How to confim that my startDateTime and endDateTime are utc values since they are already utcdatetime variables.Please advice
I am running it in the correct company I checked,
I use D365 10.0.32
You can use the debugger to see values of variables. Put a breakpoint at the line with while select, run your code with debugging and then look at variables in the Locals window.
(This thread was moved from Dynamics AX Forum.)
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 577 Super User 2026 Season 1
Giorgio Bonacorsi 309
Diego Mancassola 259