RMA Gain Loss need to refer Original Sales Order COGS
Summary:
We have DCOGS/COGS account mapped with Sales order type. We have 7-8 sales order types and each mapped to a DCOGS/COGS account.
In case of referenced RMA return order, we need Deferred RMA Gain/ Loss account same as the DCOGS/COGS accounts so that the recognized cost of goods sold is offset on sales return. When RMA created and costed it's not picking the DCOGS/COGS account used in the referenced sales order costing. For RMA receipt, we have used the same mapping set for sales order types.
Effectively, any RMA Referenced with Sales Order should reverse COGS account of original sales order. but in our case, , it is not doing the same.