Wrong created date while system & machine date correct (

ProkyProky Member Posts: 3
edited 2008-01-22 in Dynamics AX
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

Comments

  • ProkyProky Member Posts: 3
    The problem is there only in 3 tier and only in the morning.
  • CB_OnyxCB_Onyx Member Posts: 3
    Machine date on the AOS ?
  • icelanderwillicelanderwill Member Posts: 5
    Csá Peti! ;)

    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
  • HarishHarish Member Posts: 172
    Hi Proky,

    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,
    Harish Mohanbabu
    Long way to go before I sleep..
Sign In or Register to comment.