If you had a sale and invoiced out using the wrong stock code but the price was correct.
Invoice batched and customer has paid.

...