Are you creating the free text invoice by code? or manually?
it could be that there is another thing that is using the same number sequence.
So for example, let's say that you create a sales order by code/manually and confirm it. -- if the confirmation is using the same number sequence as the order creation. Then the sales order let's say will have SO1 and the confirmation journal will have SO2. So now if you try to create another sales order. The next sales order will have SO3 --- and as you can see it jumped. So you'll end up with SO1, SO3, SO4..etc
so are you doing anything after you create the first invoice? and before creating the 2nd one? because i can see from the screenshot that you provided that "Free Text Invoice" and "Free Text Invoice Voucher" share the same number sequence. -- if the voucher is being created, then just change it's number sequence to sth different.
Thanks,
Layan Jweihan Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
There could be several reasons why your Free text invoice number sequence is skipping numbers. Here are a few possible causes and solutions:
Customization: If you have made any customizations or modifications to the number sequence, it's possible that there is an error in the code causing the skipping. Review the customization and ensure that it is correctly implemented.
Number sequence setup: Check the setup of your number sequence in Dynamics 365 F&O. Ensure that the "Next" number is set correctly and that any filters or conditions are properly configured.
Transaction rollback: If a transaction is rolled back or canceled after reserving a number from the sequence, it can cause gaps in the numbering. Make sure that all transactions are being completed successfully without any rollbacks.
Try to uncheck the continuous parameter. If you uncheck it, the numbers will increase sequentially, but in case any issues happen while creating a number sequence, it will not reuse it.
You can refer to this document regarding Number sequence.:
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.