... why your conversion is taking way longer than I expected. Let us admit that you use Tdata and your operator cancels the insertion of an invoice, losing the invoice number because in fact, according to James's scheme, if you do not save the invoice, later you have no way to recover that invoice ...