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)

While confirming some sales order getting errors

(0) ShareShare
ReportReport
Posted on by 2,055

While confirming some sales order getting the following 2 errors.

Number sequence 5637146998 has been exceeded.
Removal of suspension of recId allocation for table SalesParmLine has failed.

How to fix these, please help.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    These are two different issues, but it is possible that the second error is coming due to the first problem.

    Identify your number sequence which has ran out. You could try to filter it in the table behind within the AOT for number sequences, where the next value equals to the max value, so it immediately shows you the exhausted number sequence (or try to filter for RecId in case it would be the sequences' record identifier). NumberSequenceTable.NextRec and .Highest are the table and fields.

    Once the sequence is fixed, you could retry the confirmation posting and see if the second error is gone. If not, then RecId suspension could be reset from code in an X++ job, or you could just simply try restarting your AX AOS service.

  • Suggested answer
    Mark syssol  Profile Picture
    on at

    Below are instructions to fix the number sequence error. 

    This occurs when you have run out of number sequence allocation numbers.

    The first step to take is to find out what Number Sequence Code it relates to, you can do this by running the following SQL query (or search for the specific record ID in the AOT):

    SELECT * FROM NUMBERSEQUENCETABLE WHERE RECID=’[insert record ID number here]‘

    To get access to run the SQL query you need to login to Azure with RDP

    Log into LCS

    Click on (your virtual machine) while in LCS above, this will launch an RDP to Azure

    User = Your User ID

    Password = Enter Your Password

    Click the Windows prompt in the lower left, then click the search icon in the upper right of the screen and type SQL

    Select Microsoft SQL Server Management Studio

    Type: SELECT * FROM NUMBERSEQUENCETABLE WHERE RECID=22565433873   <- (insert the sequence number that you were shown in the error here in place of 22565433873 )

    Next click Execute 

    This will produce the record and state the Number Sequence that applies to it.

    seq4.JPG

    What is listed under TXT is the sequence id that you need to look for.

    Next go Organization Administration > Common > Number Sequences > Number Sequences

    Since the Number Sequence causing the problem begins with Inve, you would want to click on Area and select Inventory Management from the drop down menu.

    This will filter the results to only show number sequences in Inventory Management

    seq2.JPG

    Next, scroll and click on the number sequence you need to address

    seq3.JPG

    If you click on +Add under Segments on the page that comes up, it will allow you to add "#'s" to the value field next to Alphanumeric.

    In this case, I added three. This automatically changed the number in the "Length" field from 6 to 9

    seq4.JPG

    Next scroll down to the General section and add the same quantity of "9's" as the quantity of "#'s" that you entered above to the Largest field.

    Do not change the quantity in the Next field. This is the next number in the sequence that is to be used.

    seq5.JPG

    This will allow for us to add another 900,000 sales orders. I don't think that we will run out for some time.

    Click save. Problem should be solved. You can test by trying to recreate the process that caused the issue.

    References: www.thataxguy.co.uk/number-sequence-has-been-exceeded-error

    If this solves your issue, please verify that this fixed your problem. Have a great day!

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