You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2010/04/01 12:41:14 UTC

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

Author: jleroux
Date: Thu Apr  1 10:41:14 2010
New Revision: 929912

URL: http://svn.apache.org/viewvc?rev=929912&view=rev
Log:
Deprecate Facility.squareFootage the right way.

The right associated script is
update FACILITY set facility_size=square_footage;
update FACILITY set facility_size_uom_id='AREA_ft2';



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?rev=929912&r1=929911&r2=929912&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Thu Apr  1 10:41:14 2010
@@ -992,7 +992,8 @@ under the License.
         <field name="defaultInventoryItemTypeId" type="id"></field>
         <field name="facilityName" type="name"></field>
         <field name="primaryFacilityGroupId" type="id"></field>
-        <field name="facilitySize" type="fixed-point"></field>
+        <field name="oldSquareFootage" type="numeric" col-name="SQUARE_FOOTAGE"></field>      
+        <field name="facilitySize" type="fixed-point"></field>      
         <field name="facilitySizeUomId" type="id"></field>
         <field name="productStoreId" type="id"></field>
         <field name="defaultDaysToShip" type="numeric"><description>In the absence of a product specific days to ship in ProductFacility, this will be used</description></field>