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

Christian Carlow updated OFBIZ-5356:
------------------------------------

    Comment: was deleted

(was: I don't mean to "open a can of worms" because I realize the amount of 
work that would be entailed, but wouldn't having single field primary keys for 
all tables be better database design?  It would definitely allow for the unique 
record selection of any Lookup entity list.)

> Ability to select Lookup records having more than one primary key field
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-5356
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5356
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS
>    Affects Versions: Release Branch 12.04
>            Reporter: Christian Carlow
>             Fix For: Release Branch 12.04
>
>
> Having the ability to select a record from Lookup records containing more 
> than one primary-key field would be quite useful.
> I have the need to select a single OrderItem from a list of OrderItems 
> associated with more than one OrderHeader.  I also need to be able to select 
> a single ShipmentItem from a list containing multiple Shipments.
> Having single field primary keys for these tables would provide a solution 
> but would entail a lot of work to make the system use the new primary keys.
> Another way would be to allow for Lookup controls the ability to have 
> multiple keys associated with them.
> Either way, seems like a lot of work to make this happen.
> Anyone have a different solution?



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to