Author: doogie
Date: Fri Apr 2 16:47:22 2010
New Revision: 930321
URL:
http://svn.apache.org/viewvc?rev=930321&view=revLog:
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>