Return Orders generate a positive credit memo for your discounts
I have a problem with return orders for items subject to a discount.
Content (please ensure you mask any confidential information):
In our case, two credit notes are generated, one for the amount without discounts and another for the sum of all discounts.
The main problem is that since it is a return of discounts, the document comes out positive, its nature being a credit memo.
We assume that the problem originated when we integrated OM with AR when sending the return reason data.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):