Hello Community,
We are facing an issue with a General Journal voucher number sequence in D365FO.
Setup:
Continuous = Yes
Preallocation = Yes (5 numbers)
Automatic cleanup = Yes
Issue:
When posting General Journals, we observed that voucher numbers already used and posted (e.g., XXX000000518) are being reissued again after some months.
000000518
On posting, system throws the error: “This voucher is already posted on X date.”
On running the “Check voucher series” report, shortages and gaps appear.
Investigation:
It looks like numbers that were already consumed (posted in General Journal) are still marked as Free in the Number Sequence status table. This means the number sequence tracking is out of sync with the actual voucher usage. So when the system allocates numbers again, it incorrectly thinks these vouchers are available, even though they already exist in transactions.
This mismatch seems to occur when Continuous + Preallocation are used together.
Hi,
Can you please run the clean-up and then check the report again/ do posting again? I would recommend trying this first in an identical Non-Prod database.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sohaib Cheema 745 User Group Leader
Martin Dráb 597 Most Valuable Professional
André Arnaud de Cal... 580 Super User 2025 Season 2