You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jo...@apache.org on 2007/04/01 07:02:15 UTC

svn commit: r524532 - /ofbiz/trunk/applications/product/entitydef/entitymodel.xml

Author: jonesde
Date: Sat Mar 31 22:02:14 2007
New Revision: 524532

URL: http://svn.apache.org/viewvc?view=rev&rev=524532
Log:
Added inventoryItemId to Subscription, intended mainly to model a subscription that is applicable only on a certain serialized InventoryItem

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

Modified: ofbiz/trunk/applications/product/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitymodel.xml?view=diff&rev=524532&r1=524531&r2=524532
==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Sat Mar 31 22:02:14 2007
@@ -3707,6 +3707,7 @@
         <field name="orderItemSeqId" type="id"></field>
         <field name="productId" type="id"></field>
         <field name="productCategoryId" type="id"></field>
+        <field name="inventoryItemId" type="id"></field>
         <field name="subscriptionTypeId" type="id"></field>
         <field name="externalSubscriptionId" type="id"></field>
         <field name="fromDate" type="date-time"></field>
@@ -3760,6 +3761,9 @@
         </relation>
         <relation type="one" fk-name="SUBSC_PROD_CAT" rel-entity-name="ProductCategory">
             <key-map field-name="productCategoryId"/>
+        </relation>
+        <relation type="one" fk-name="SUBSC_INV_ITM" rel-entity-name="InventoryItem">
+            <key-map field-name="inventoryItemId"/>
         </relation>
         <relation type="one" fk-name="SUBSC_TO_TYPE" rel-entity-name="SubscriptionType">
             <key-map field-name="subscriptionTypeId"/>