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)

Preallocation of non continuous number sequences

(1) ShareShare
ReportReport
Posted on by 27

Morning all,

Quick query about preallocation of non continuous number sequences.

Microsoft's documentation is clear that unless there is a specific requirement you should use non continuous number sequences in the interests of maximising performance, and so I'm considering switching some number sequences from continuous to non continuous.

However, Microsoft's documentation is not very clear on how preallocation works.

I have been told that it works at user level, and when a user opens for example a new purchase order transaction, AX will generate a pool of purchase order numbers (of the size specified in the "Quantity of numbers" section in the performance FastTab of the number sequences form) in memory which are then available to that user only. Any other user opening a new purchase order transaction would have their own unique, preallocated pool generated which would be available only to them. If the user logs out without using all of their preallocated pool the unused numbers are lost (as is the nature of noncontinuous number sequences so in itself not a problem).

The more I think about it the more odd it seems that the pools are user specific. That could lead to number sequences being spent far more quickly than would be convenient. I would have expected the pool of preallocated numbers to be shared amongst all users. It would reduce the number of calls to the database to create a new pool (performance enhancing in itself) and would leave fewer numbers unused thus increasing the longevity of the number sequence in question. Is that not possible because if the application was being run on multiple AOS it would require shared memory between those AOS to maintain a single pool per noncontinuous number sequence?

I guess my main question is; have I been lied to?

Are preallocated pools really generated and used at user level, or are pools shared by all users and numbers are only lost when transactions that use them are abandoned without being completed?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    The preallocation works on the client / user level:

    blogs.msdn.microsoft.com/.../how-preallocated-number-sequences-are-cached-in-ax

  • Rossatron Profile Picture
    27 on at

    Thanks, Nikolaos.

    That blog post gives a nice example which will help me illustrate this to users too.

    Much appreciated.

  • PrzemekG Profile Picture
    725 on at

    Unfortunately, this blog post is no longer available.

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans