Hi all,
I have a situation where I need to set the document number of Sales Order Invoice programmatically and its a success. But the problem is, the NextInvoiceNumber keep incrementing even though it is not used for document number.
This is my setting for the invoice number. I will create my own sales order document number, and the invoice number is based on the sales order document number.
Is there any way to prevent the increment of NextInvoiceNumber when I don't even use it as invoice document number is my custom program?