svn commit: r930321 - /ofbiz/trunk/applications/order/entitydef/entitymodel.xml

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

svn commit: r930321 - /ofbiz/trunk/applications/order/entitydef/entitymodel.xml

doogie-3
Author: doogie
Date: Fri Apr  2 16:47:22 2010
New Revision: 930321

URL: http://svn.apache.org/viewvc?rev=930321&view=rev
Log:
Add OrderItem relation on OrderItemGroup.

Modified:
    ofbiz/trunk/applications/order/entitydef/entitymodel.xml

Modified: ofbiz/trunk/applications/order/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel.xml?rev=930321&r1=930320&r2=930321&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/order/entitydef/entitymodel.xml Fri Apr  2 16:47:22 2010
@@ -760,6 +760,10 @@ under the License.
         <field name="groupName" type="name"></field>
         <prim-key field="orderId"/>
         <prim-key field="orderItemGroupSeqId"/>
+        <relation type="many" rel-entity-name="OrderItem">
+            <key-map field-name="orderId"/>
+            <key-map field-name="orderItemGroupSeqId"/>
+        </relation>
         <relation type="one" fk-name="ORDERITMGRP_HDR" rel-entity-name="OrderHeader">
             <key-map field-name="orderId"/>
         </relation>