You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Deepak Agarwal (JIRA)" <ji...@apache.org> on 2013/06/22 11:59:20 UTC

[jira] [Created] (OFBIZ-5238) TrackingCodeOrderReturn primary key composition inadequate

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