71
There is sometimes an issue in Dynamics NAV when you use a seperate number serie for unposted purchase/sales invoice/credit memo and a separate number serie for the posted documents.
If you try to post the invoice and you receives an error (mostly when you try to post document with obliged dimensions), then sometimes it is possible that NAV allready assigns a posted document number to the unposted invoice/credit memo. Afterwords the user deletes this invoice and this causes a gap in the posted number series.
So the COMMIT in codeunit 80 / 90 should be reviewed, so that a complete roll-back could be possible when an error is occured during the posting routine. The posted number series may never been raised if an error is occured.
It should be prevented that there are GAPS and it should also be prevented that NAV creates documents with text 'Deleted document'. Auditors/fiscal controllers does not like 'deleted documents'.
If you try to post the invoice and you receives an error (mostly when you try to post document with obliged dimensions), then sometimes it is possible that NAV allready assigns a posted document number to the unposted invoice/credit memo. Afterwords the user deletes this invoice and this causes a gap in the posted number series.
So the COMMIT in codeunit 80 / 90 should be reviewed, so that a complete roll-back could be possible when an error is occured during the posting routine. The posted number series may never been raised if an error is occured.
It should be prevented that there are GAPS and it should also be prevented that NAV creates documents with text 'Deleted document'. Auditors/fiscal controllers does not like 'deleted documents'.
STATUS DETAILS
Under Review

Business Central Team (administrator)
Thank you for your feedback. This is a great suggestion! We are considering it for our roadmap.
Your help is greatly appreciated,
Ivan Koletic
PM, Microsoft