web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Modified Date Time is earlier than Created Date time

(0) ShareShare
ReportReport
Posted on by 10

Hello,

Are there any triggers or cause where modified date is earlier than the created date time?

I have the same question (0)
  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    I don't think there is any control, but due to the nature of ax, considering the places where the values are set, it didn't seem possible to me

  • Michael Pequit Profile Picture
    10 on at

    thank you for this. are you aware of any cause when fetching in sql, there are missing rec ids. query used is just order by created date time and rec id (for any table)  

  • ergun sahin Profile Picture
    8,826 Moderator on at

    If you have a date-time range did you consider timezone

  • Suggested answer
    Hossein.K Profile Picture
    6,648 on at

    Hi,

    Perhaps you set  "modifiedDateTime" as yes firstly and then you set  "created DateTime" as yes.

    Please set both of them as yes and sync table then check Does it correct in new transaction or not

  • Michael Pequit Profile Picture
    10 on at

    i'll check on this. does the timezone refer to the aos where the transaction was made?

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    TimeZone is defined on the user.

    "Ax utilizes the utcDateTime data type to store date time information in the database using the Greenwich Mean Time definition of time"*

    However, while displaying it to the user, it takes into account the user's timezone. In some cases (especially at midnight), the day the user sees and the day kept in sql may be different. Depending on the codes, a situation such as "why it did not come(to report etc.)" may arise.

    However, as far as I saw from the other post you opened, your situation is different. Don't rely too much on recIds, the correct field for filters like this is createdDateTime

    * stoneridgesoftware.com/.../

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans