Dear all,
I have an issue in Ax 3.0 SP5. If I create sales orders in the morning, the creation date comes as yesterday, while both system date and machine date are correct.
Do you have any idea how it is possible that the creation date (which comes from the database log 'createddate' field) is not the same as system date?
Bug? Hotfix?
Thank you in advance,
Kind regards,
Proky
0
Comments
Dates may generally come from two places. systemDateGet() return the current Axapta session's date, which is unique for the AX client and can be altered by the user, for example to post sales invoices on previous dates. The today() has the initiating object's actual date (independently what the user sets via Tools menu/System date), and can be originated from the client and the AOS.
Please check the local machine and the AOS dates. Also timezone/region could be interesting if they differ between the machines.
Some MSDN references:
http://msdn2.microsoft.com/en-us/library/aa605545.aspx
I do not think it is a standard bug. I guess there must be some customisations done in this particular area which is causing this issue.
You might want to check your code in the in the lines outlined by Icelanderwill.
Regards,
Long way to go before I sleep..