Author: ashish
Date: Wed Dec 16 06:02:11 2009
New Revision: 891129
URL: http://svn.apache.org/viewvc?rev=891129&view=rev
Log:
Moved seed data to right place - Patch from Divesh (Thanks!)
Modified:
ofbiz/trunk/applications/product/data/ProductTypeData.xml
ofbiz/trunk/specialpurpose/assetmaint/data/AssetMaintDemoData.xml
Modified: ofbiz/trunk/applications/product/data/ProductTypeData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/data/ProductTypeData.xml?rev=891129&r1=891128&r2=891129&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/data/ProductTypeData.xml (original)
+++ ofbiz/trunk/applications/product/data/ProductTypeData.xml Wed Dec 16
06:02:11 2009
@@ -372,12 +372,21 @@
<ProductMeterType description="Taximeter" productMeterTypeId="TAXIMETER"/>
<ProductMeterType description="Event Data Recorder"
productMeterTypeId="EVENT_DATA_RECORDER"/>
<ProductMeterType description="Pedometer" productMeterTypeId="PEDOMETER"/>
+ <ProductMeterType description="Odometer" productMeterTypeId="ODOMETER"/>
<ProductMaintType description="Vehicle Maintenance"
productMaintTypeId="VEHICLE_MAINT" parentTypeId=""/>
<ProductMaintType description="Oil Change" productMaintTypeId="OIL_CHANGE"
parentTypeId="VEHICLE_MAINT"/>
<ProductMaintType description="Serpentine Belt Replacement"
productMaintTypeId="SERP_BELT" parentTypeId="VEHICLE_MAINT"/>
<ProductMaintType description="Re-Fuel" productMaintTypeId="REFUEL"
parentTypeId="VEHICLE_MAINT"/>
<ProductMaintType description="Replace Battery"
productMaintTypeId="REPLACE_BATTERY" parentTypeId="VEHICLE_MAINT"/>
+ <ProductMaintType description="Tune Up" productMaintTypeId="TUNE_UP"
parentTypeId="VEHICLE_MAINT"/>
+ <ProductMaintType description="Check Battery"
productMaintTypeId="CHECK_BATTERY" parentTypeId="VEHICLE_MAINT"/>
+ <ProductMaintType description="Chassis Lubrication"
productMaintTypeId="CHASSIS_LUBE" parentTypeId="VEHICLE_MAINT"/>
+ <ProductMaintType description="Rotate Tires"
productMaintTypeId="ROTATE_TIRES" parentTypeId="VEHICLE_MAINT"/>
+
+ <ProductMaintType description="HVAC Maintenance"
productMaintTypeId="HVAC_MAINT"/>
+ <ProductMaintType description="Replace Air Filter"
productMaintTypeId="HVAC_REPLACE_FILTER" parentTypeId="HVAC_MAINT"/>
+ <ProductMaintType description="Check/Recharge Refrigerant"
productMaintTypeId="HVAC_CHECK_REFR" parentTypeId="HVAC_MAINT"/>
<ProductMaintType description="Wash" productMaintTypeId="WASH"
parentTypeId=""/>
Modified: ofbiz/trunk/specialpurpose/assetmaint/data/AssetMaintDemoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/data/AssetMaintDemoData.xml?rev=891129&r1=891128&r2=891129&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/data/AssetMaintDemoData.xml (original)
+++ ofbiz/trunk/specialpurpose/assetmaint/data/AssetMaintDemoData.xml Wed Dec
16 06:02:11 2009
@@ -24,13 +24,6 @@
<Product productId="FORKLIFT_BATTERY" productTypeId="ASSET_USAGE"
productName="Forklift - Battery" internalName="Forklift - Battery"
description="Forklift - Battery Powered."/>
<Product productId="COMPANY_VEHICLE" productTypeId="ASSET_USAGE"
productName="Company Vehicle" internalName="Company Vehicle"
description="Company Vehicle."/>
<Product productId="HVAC_UNIT" productTypeId="ASSET_USAGE"
productName="Heating/Cooling Unit" internalName="Heating/Cooling Unit"
description="Heating/Cooling Unit."/>
- <ProductMaintType description="Tune Up" productMaintTypeId="TUNE_UP"
parentTypeId="VEHICLE_MAINT"/>
- <ProductMaintType description="Check Battery"
productMaintTypeId="CHECK_BATTERY" parentTypeId="VEHICLE_MAINT"/>
- <ProductMaintType description="Chassis Lubrication"
productMaintTypeId="CHASSIS_LUBE" parentTypeId="VEHICLE_MAINT"/>
- <ProductMaintType description="Rotate Tires"
productMaintTypeId="ROTATE_TIRES" parentTypeId="VEHICLE_MAINT"/>
- <ProductMaintType description="HVAC Maintenance"
productMaintTypeId="HVAC_MAINT"/>
- <ProductMaintType description="Replace Air Filter"
productMaintTypeId="HVAC_REPLACE_FILTER" parentTypeId="HVAC_MAINT"/>
- <ProductMaintType description="Check/Recharge Refrigerant"
productMaintTypeId="HVAC_CHECK_REFR" parentTypeId="HVAC_MAINT"/>
<FixedAsset fixedAssetId="DEMO_FORKLIFT_01"
instanceOfProductId="FORKLIFT_PROPANE" fixedAssetName="Forklift #1"
fixedAssetTypeId="EQUIPMENT" purchaseCost="1500" purchaseCostUomId="USD"/>
<FixedAssetGeoPoint fixedAssetId="DEMO_FORKLIFT_01" geoPointId="9000"
fromDate="2009-01-09 00:00:00.000"/>
<FixedAsset fixedAssetId="DEMO_FORKLIFT_02"
instanceOfProductId="FORKLIFT_BATTERY" fixedAssetName="Forklift #2"
fixedAssetTypeId="EQUIPMENT" purchaseCost="2000" purchaseCostUomId="USD"/>
@@ -43,7 +36,6 @@
<FixedAssetGeoPoint fixedAssetId="DEMO_HVAC_01" geoPointId="9000"
fromDate="2009-01-09 00:00:00.000"/>
<FixedAsset fixedAssetId="DEMO_HVAC_02" instanceOfProductId="HVAC_UNIT"
fixedAssetName="HVAC Unit - Second Floor" fixedAssetTypeId="EQUIPMENT"
purchaseCost="6000" purchaseCostUomId="USD"/>
<FixedAssetGeoPoint fixedAssetId="DEMO_HVAC_02" geoPointId="9000"
fromDate="2009-01-09 00:00:00.000"/>
- <ProductMeterType description="Odometer" productMeterTypeId="ODOMETER"/>
<ProductMaint productId="FORKLIFT_PROPANE" productMaintSeqId="seq01"
productMaintTypeId="TUNE_UP" maintName="Tune Up" intervalQuantity="1000"
intervalMeterTypeId="ODOMETER"/>
<ProductMaint productId="FORKLIFT_BATTERY" productMaintSeqId="seq01"
productMaintTypeId="CHECK_BATTERY" maintName="Check Battery"
intervalQuantity="1000" intervalMeterTypeId="ODOMETER"/>
<ProductMaint productId="COMPANY_VEHICLE" productMaintSeqId="seq01"
productMaintTypeId="OIL_CHANGE" maintName="Oil Change - Post Break-in"
intervalQuantity="2500" intervalMeterTypeId="ODOMETER" repeatCount="1"/>