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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Number sequence

(0) ShareShare
ReportReport
Posted on by 346

Dear experts,

For past few weeks , client experience AX 2009 application slowness ,freezes and not allow to login to users in some intervals only . Post some analysis, it has been noticed that always SQL database had dead blocks as follows ,which is related to number sequence table.

SELECT TOP 1 A.NUMBERSEQUENCE, A.TXT, A.LATESTCLEANDATETIME, A.LATESTCLEANDATETIMETZID, A.LOWEST, A.HIGHEST, A.NEXTREC, A.BLOCKED, A.FORMAT, A.CONTINUOUS, A.CYCLIC, A.CLEANATACCESS, A.INUSE, A.NOINCREMENT, A.CLEANINTERVAL, A.DEL_LATESTCLEANDATE, A.DEL_LATESTCLEANTIME, A.ALLOWCHANGEUP, A.ALLOWCHANGEDOWN, A.MANUAL, A.FETCHAHEADQTY, A.FETCHAHEAD, A.MODIFIEDTRANSACTIONID, A.RECVERSION, A.RECID

FROM NUMBERSEQUENCETABLE A WITH ( UPDLOCK) WHERE ((DATAAREAID=@P1) AND (NUMBERSEQUENCE=@P2)) )

 In this blog , it quoted as Continuous number sequences might cause this issue and suggested to disable Continuous .

https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/102526/number-sequence-database-blocking/195823

My question is that does MS published any guidelines/best practice which number sequence codes shouldn’t be continuous or share your project/client number sequence configuration experience and how you over come this issue ?

Thanks in advance. 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello sri17,

    I have not seen such a detailed guideline that says number sequence for PO packing slips should not be set to continuous, for PO invoices it should be set to continuous, etc. etc.

    The general rule is only set only those number sequences to continuous where somebody (law, auditor, ...) forces you to do that.

    Best regards,

    Ludwig

  • sri17 Profile Picture
    346 on at

    Thanks Ludwig for the reply ,

    If that is the case , how to overcome the performance problem as stated by Tommy that any continuous number sequence can cause degraded performance if not used correctly.

    Any light ?

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi sri17,

    I think the starting point is only allowing your finance guys using continuous number sequences where absolutely necessary.

    If this results in performance issues then there are a couple of things that you can use to pimp the performance.

    Last year there was a webinar and a conference talk on what users can do to optimize performance on the AXUG website.

    I would recommend that you check out those talks.

    Best regards,

    Ludwig

  • Suggested answer
    Satish Panwar Profile Picture
    14,673 Moderator on at

    Hi Sri17,

    Please take a look at link below:

    docs.microsoft.com/.../number-sequence-overview

    Haven't seen anything published from MS yet as it may be different for different countries. however most of the number sequence if can be made non-continuous should be non-continuous unless there is any specific requirement from customer (which at times may be on voucher number).

    Thanks,

    Satish Panwar

    Please help verify answer(s) if they guide you in right direction so other community members can also benefit from your question with verified answer.

  • sri17 Profile Picture
    346 on at
    [quote user="Ludwig Reinhard"]

    Last year there was a webinar and a conference talk on what users can do to optimize performance on the AXUG website.

    I would recommend that you check out those talks.

    [/quote]

    Could you share that link as i haven't found  ?  Thanks !!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans