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

RecId created date time is earlier than preceeding RecId

(0) ShareShare
ReportReport
Posted on by 10

Hello,

Are there any triggers where new rec id's Created date/time is earlier than the preceeding rec id? 

Example is Rec Ids 1,2,3,4,5 created date time is today but 6,7,8,9 are dated yesterday. 


As far as I know ax controls the created date/time and increment of rec id is fixed for any tables. 

The issue is when BI fetches recid for certain created datetime as query, there are missing rec ids in the middle 

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

    No, it's not guaranteed that RecID will go incremental

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

    community.dynamics.com/.../463953

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

    Hi,

    No, The rec ids are in order. In your select statement use order by ASC or DSC for rec ids

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

    It creates the RecId sequentially, but there is no guarantee that it will sequentially give it to the table. There are cases where it keeps it in the cache and makes jumps.

    You can read it from the article I added above.

    Of course, missing RecIds could be due to the fact that the CreatedDateTime field was disabled for a certain period of time, but in this case the CreatedDateTime value would be null(01\01\1900). This situation that can be understood by examining the records in 3-5 minutes. That's why I didn't include that possibility.

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 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans