Due to a rounding error after a system update, all my invoices were rounded off. Not good.
I needed to undo all invoices, delivery notes and sales orders. Tedious task that was multiplied by about 50 because the bug was not caught for over a month.
In order to fix this, I needed to undo th einvoice, delivery note, and sales order and reissue everything using the same dates.. I needed to disable the rounding.
Great!
But, I saw a few times that even though I just put all the items back in to the inventory, I was not able to reissue it. Some items were unable available.
I am not 100% sure, but even though the return and the allocation was done on the same date, the allocation seems to try to remove the items before they were returned.
I tried one after thinking of this idea, and made sure that the delivery note day was 1 day after the original one. It worked. I will have to try a few more times in order to confirm.