Client has a customer that has a 5% discount code on all orders. When a sales order is created the discount is applied and is under the discount details tab, which is automatically taken of the sales order amount
However, in a situation where the customer is returning stock and a return for credit sales order is created the RC sales order does not include the discount amount in the credit, so the original sales order amount is displayed in the RC sales order:
Is there a way for the discount to pull through on a credit memo or RC sales order if discount has been applied with a discount code and not on the line item itself?