You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/04/11 18:14:25 UTC

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

Author: jaz
Date: Wed Apr 11 09:14:24 2007
New Revision: 527564

URL: http://svn.apache.org/viewvc?view=rev&rev=527564
Log:
added availableTime (and UOM) the time this subscription is available for

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=527564&r1=527563&r2=527564
==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Wed Apr 11 09:14:24 2007
@@ -3675,6 +3675,8 @@
         <field name="thruDate" type="date-time"></field>
         <field name="purchaseFromDate" type="date-time"></field>
         <field name="purchaseThruDate" type="date-time"></field>
+        <field name="availableTime" type="numeric"></field>
+        <field name="availableTimeUomId" type="id"></field>
         <field name="useCountLimit" type="numeric"></field>
         <field name="useTime" type="numeric"></field>
         <field name="useTimeUomId" type="id"></field>
@@ -3693,6 +3695,9 @@
         </relation>
         <relation type="one" fk-name="PROD_SBRS_UTU" title="UseTime" rel-entity-name="Uom">
             <key-map field-name="useTimeUomId" rel-field-name="uomId"/>
+        </relation>
+        <relation type="one" fk-name="PROD_SBRS_UTU" title="AvailableTime" rel-entity-name="Uom">
+            <key-map field-name="availableTimeUomId" rel-field-name="uomId"/>
         </relation>
     </entity>
     <entity entity-name="Subscription" package-name="org.ofbiz.product.subscription" title="Subscription Entity">