How to link a sales invoice to a sales order?

Hi Jaime,

Here’s a way to ensure that you can generate the same number of a document.

Further down in that document another user has listed how you can print the document with the original number even though the ERPNext appends the revision number to the document serial number.

But you have a valid point. You should be able to knock off unlinked upstream documents with downstream documents. A process similar to matching payments with invoices. Great thought! But you have to find a willing body to execute it for you.

Hope this helps.

Thanks

Jay