Prevent deleted AR invoice number being reused

I know we used to have this function in Vantage 6, but does anyone know if it exists and where it is buried in E10?

When an invoice is deleted, we would like to prevent the same AR invoice number from being recycled onto another invoice generated later.

It avoids confusion when the pdf invoice is saved to a location and you can potentially over write the original one and then lose traceability.

Can you void it instead of deleting it? If not, make it a blank or zero dollar invoice to a bogus customer.

Edit
And this should only be an issue if it was the last invoice in a group, as the “next” invoice number is selected as the last existing one, plus one.

How are you deleting invoices? As far as I know posted invoices can’t be deleted?

They aren’t posted yet. Only raised for shipping documentation.

We used to have a group called PROFORMA, and never post them. It would “reserve” the invoice num. We’d clean out old invoices after they were a week old - or when we knew that newer real ones were created.

All sounds good in theory, but just adds more steps for someone to do, and voiding it adds some confusion when you look back at it later.

I assume you know beforehand, when the invoice is one that’s not going to be posted. So make a special AR group for these.