You have created 2 customer returns, ABC and DEF out of one sales order. The items in these returns are assigned to different documents.
Return ABC line 10 is assigned to sales order however DEF line 10 is assigned to customer invoice.
You want to know the reason.
SAP Business ByDesign
Reproducing the Issue
- Go to the Sales Orders work center.
- Go to the Returns view.
- Open the return ABC and DEF.
- In Items tab, you can see the reference type of line 10 in return ABC is Sales Order. and in line 20 it is Customer Invoice.
When finishing the the return notification, system creates the return. If the invoice for the reference sales order and outbound deliver is existed, then the invoice is used as reference to the return item. If not, the sales order is used as reference.
in this case, the customer invoice was created after the return ABC. Hence customer invoice is not assigned in the return ABC.
When creating the return DEF, the invoice is existed and therefore the customer invoice is used as the reference document.
It is the current system design.
Customer Return; Reference Type; Customer Invoice , KBA , AP-SLO-SO , Sales Order , SRD-CRM-RET , Returns , Problem