Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

SystemSequence class - reservevalues method

Posted on by 186

Hi,

If I use reserveValues method to reserve recids, then on using flushValues(), will ax use reserved recid values again when it creates records.

Thanks in advance. 

*This post is locked for comments

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: SystemSequence class - reservevalues method

    Hi Divya,

    The logic of system allocation Recid is very simple.

    It checks to see if there are records of tables in the "System Sequences" table. If so, specify "NextVal" as Recid and add "NextVal" and "RecVersion" fields by 1.

    Otherwise, create a new record with some prefix initial values in the "System Sequences" table.

    40.PNG

  • RDivya Profile Picture
    RDivya 186 on at
    RE: SystemSequence class - reservevalues method

    Hi.. Yes. I went through the blog.

    I would like to know about reserveValues().  Once a recid is reserved, but not used in a record,  will ax use the reserved recid to create a record at a later time.

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: SystemSequence class - reservevalues method

    Hi Divya,

    Please refer this: deepakdyanmicsax.blogspot.com/.../record-ids-in-ax-2012_5.html

    It mentions removing the RecId corruption

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans