Deepak Agarwal created OFBIZ-5238:
-------------------------------------

             Summary: TrackingCodeOrderReturn primary key composition inadequate
                 Key: OFBIZ-5238
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5238
             Project: OFBiz
          Issue Type: Improvement
          Components: marketing
    Affects Versions: Release 10.04
            Reporter: Deepak Agarwal


This table has ReturnId + OrderId + TrackingCodeTypeId as it's primary key. But 
a return id can have more than one order item being returned. It fails with 
duplicate key exception. 

Should we add OrderItemSeqId too in the key?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to