Announcements
No record found.
Hi Experts,
I have a report (SSRS) where I need to display AX session date. I was simply trying the function Table.MyField = SystemDateGet(); in the DP class but it always takes the local machine's date same like function today(). If I try to print systemDateGet() in an AOT job, it shows AX session date perfectly. what could be the reason ?
Thanks in advance.
Hi AX Beginner,
Did I understand correctly that you change session date and time before executing the report and but systemDateGet still shows your local machine date time?
Hi Sergei,
Yes, Exactly.
I think that report itself (data provider class call) is executed in new session (see reporting architecture article) and for this report session session date is not changed.
docs.microsoft.com/.../reporting-architecture
As workaround, you can create new field on contract class and fill it from controller class with session date and time and use it in provider class.
I think you are right, I solved it as you suggested. (Added as a parameter and passed it to DP class using controller class)
Thanks
Good morning AX Beginner,
If your question has been answered and your problem been resolved then please be so kind and verify the answer.
Many thanks for the help and best regards,
Ludwig
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!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 632 Super User 2026 Season 1
Giorgio Bonacorsi 624
CP04-islander 301