When a customer exchange takes place we have to raise a credit for the returned item and an invoice for the replacement. This disassociates the 2 transactions.
It would be useful to have a function whereby you add the returned item as a negative quantity…