Hi,
Where is the method that creates createdDateTime date and time when a new record is created?
To elaborate, when we insert a new record where createdDateTime field is “enabled” on any particular table, where exactly is the UTC datetime created?
Hope I have explained that well enough!.
Thanks
Luke
This is handled by the Kernel, but you can still overwrite the createdDateTime during the insert by allowing the overwrite table.overwriteSystemfields(true);
Thank you Kranthi.
Would you happen to know where the kernel grabs the time from when writing to the DB? For example, would it use the OS’s time zone and DST settings? This does seem to be the case from my testing but I want to hear from somebody in the know.
I understand that AX forms will display time as per the AX user profile settings which is great since all the users at my company have thier user timezone set correctly.
What bothers me is that the company level time zone (Basic > Company Info) is set against a timezone +1 hour from what it should be. Will this have any impact anywhere in AX that you know of? I copied our LIVE instance to a DEV box and found that changing the time zone at company level required Admin level access and all AOS’s bar one to be stopped. Kinda makes me think that it is of some importance?
Thanks
Luke