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

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

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

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sharan Foga updated OFBIZ-5238:
-------------------------------
    Sprint: Bug Crush Event - 21/2/2015

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)