Hi there,
We've noticed that the RMA module creates a line for every unit of an order line that is being returned. So when I buy 10,000 pieces of something and return 9,000 I get 9,000 RMA lines in the database, the backend, the UI and in email confirmations.
I assume this is by design (so you can assign a serial number to each individual line) but it's quite a hassle to deal with, especially in the backend where you can't use Razor to group the items visually. Are there any work around for this, or would it make sense to add support for this to the core product?
Furthermore, when rendering the RMA lines, it seems that when rendering RMAOrderLines (http://doc.dynamicweb.com/template-tags/ecommerce/customer-center/rma-list/rmas/rmaorderlines), values like Price and Quantity refer to the original order line, not to the RMA line. So when you buy 10,000 items at $2 a piece, and then return 9,000 of them, then loop.GetDouble("Ecom:RMA:OrderLine.Price") gives you $20,000, not $2 and the same for the quantity (10,000 instead of 1). This makes it somewhat cumbersome to output / sum the original values if we manually (visually) try to group the items in the Customer Center or email templates.
Do you have any recommendations to make this a little easier to work with?
Happy to supply more details if needed.
Imar