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 :
Microsoft Dynamics AX (Archived)

Rec version and Rec Id

(0) ShareShare
ReportReport
Posted on by 30

Dear All,

I know that RecVersion and RecID both are generated from Karnel.

Both are working together for each and every record on table during Insert and Update record ?

Please give me more shed on this.

Thanks!

Arpan

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    RecordId is a unique identifier(surrogate key) that gets created when a record is created and its is unique per table.

    RecVersion is the field managed by kernel to maintain record versions, default value

    is 1 when record is created and later on its updated(to some random number) for every update on table. recversion values are used by kernel in detecting update conflicts like it checks the value when record is selected(for update) and is matched when record is updated.

    Refer following links:

    (Optimistic Concurrency Control [AX 2012])

    msdn.microsoft.com/.../bb190073.aspx

  • @rp@n Profile Picture
    30 on at

    Thanks Chaitanya,

    RecID is not managed by Karnel?

    Please give me more shed on thsis.

    Arpan

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    The kernel does handle the recId generation and also manages it(with the help of systemSequences table which stores the next value of RecId for a table record).

    Please refer following links for more insight:

    (Record IDs in AX 2012)

    deepakdyanmicsax.blogspot.com/.../record-ids-in-ax-2012_5.html

    (SystemSequences Table [AX 2012])

    msdn.microsoft.com/.../systemsequences.aspx

  • @rp@n Profile Picture
    30 on at

    Thanks Chaitanya,

    I want to know does system maintain any logs for Rec version including Table ids & Record Ids.

    Please give me more shed on this.

    Arpan

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    As far I know system will not maintain any such logs for recIds/recVersions.

  • @rp@n Profile Picture
    30 on at

    Thanks Chaitanya

  • @rp@n Profile Picture
    30 on at

    Thanks Sukrut

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans