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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Duplicate number sequence error

(1) ShareShare
ReportReport
Posted on by 2,901

Hi Experts,

 

We have been experiencing frequent "Number sequence duplicate" issues while posting journal entries, packing slip, and invoices.

 

We identified that this issue is caused due to number seq locking, as a fix we manually clear the locked seq to unblock the user.

 

Has anyone faced similar issue?

 

Any suggestion/recommendation would be great help.

 

Thanks in advance

I have the same question (0)
  • Suggested answer
    Giorgio Bonacorsi Profile Picture
    735 on at
    Duplicate number sequence error
    Yes, I had the same issue, and in my case, I leaverage a couple of things to avoid this:
     
    - In my case, I deactivate the pre-allocation feature to avoid that:
     
     
    - you can allocate the voucher during the posting:
     
     
    - you can schedule an auto-clean in the bath process (if the option show upper are not activeted):
     
     
    Thank you, 
    Giorgio
  • MuthukumaranAX Profile Picture
    2,901 on at
    Duplicate number sequence error
    Hi Andre,
     
    Thanks for your response.
     
    The journals are created manually and not through X++ code. even then we see lot of time the number sequences are blocked in the list and we had to clear the same every time to unblock the user. this is happening a lot in the recent times. 
    any suggestion on how to understand this issue ? 
     
    Thanks in advance
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    298,280 Super User 2025 Season 2 on at
    Duplicate number sequence error
    Hi Muthukumaran,
     
    I do assume you get an error stating that a number sequence is already in use?
    Can you tell how the journals are entered in this environment? Is it using a custom import there might be a bug in the X++ coding. When a journal line is created, used vouchers should not appear in the status list of the number sequence. Only when lines get deleted, an unused number will be put in the status list. In case after an import the used voucher numbers in a journal are also in the list, the developer made a mistake on how to fetch number sequences. 

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,072

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 831 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 829 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans