[jira] [Created] (OFBIZ-9554) ReturnItem to ReturnItemResponse relationship is incorrectly modeled

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-9554) ReturnItem to ReturnItemResponse relationship is incorrectly modeled

Nicolas Malin (Jira)
Scott Gray created OFBIZ-9554:
---------------------------------

             Summary: ReturnItem to ReturnItemResponse relationship is incorrectly modeled
                 Key: OFBIZ-9554
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9554
             Project: OFBiz
          Issue Type: Bug
          Components: datamodel, order
            Reporter: Scott Gray


ReturnItem only allows for a single ReturnItemResponse which in turn only allows for a single Payment record.

This causes problems for orders/returns where a refund is split across multiple payment methods, because you can't cleanly create one refund Payment per ReturnItem.

I think returnItemResponse should be removed from ReturnItem and instead ReturnItemResponse should contain returnId/returnItemSeqId.

This would allow for one-to-many between ReturnItem and ReturnItemResponse.  For the case where one payment is made for multiple ReturnItems it would also allow for one-to-many between Payment and ReturnItemResponse.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)