Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Number sequence

Posted on by 340

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

  • sri17 Profile Picture
    sri17 340 on at
    RE: Number sequence
    [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 !!

  • Suggested answer
    Satish Panwar Profile Picture
    Satish Panwar 14,645 on at
    RE: Number sequence

    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.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Number sequence

    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

  • sri17 Profile Picture
    sri17 340 on at
    RE: Number sequence

    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
    Ludwig Reinhard Microsoft Employee on at
    RE: Number sequence

    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

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans