Author: lektran
Date: Sun Jan 28 21:40:46 2007
New Revision: 500942

URL: http://svn.apache.org/viewvc?view=rev&rev=500942
Log:
Fixed demo shipping data problem where multiple ShippingCostEstimates are 
sharing a single QuantityBreak, which prevents the ShippingCostEstimates from 
being deleted via the UI 

Modified:
    ofbiz/trunk/applications/ecommerce/data/DemoShipping.xml

Modified: ofbiz/trunk/applications/ecommerce/data/DemoShipping.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/data/DemoShipping.xml?view=diff&rev=500942&r1=500941&r2=500942
==============================================================================
--- ofbiz/trunk/applications/ecommerce/data/DemoShipping.xml (original)
+++ ofbiz/trunk/applications/ecommerce/data/DemoShipping.xml Sun Jan 28 
21:40:46 2007
@@ -77,20 +77,27 @@
     <ProductStoreShipmentMeth productStoreId="9000" partyId="FEDEX" 
includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" 
roleTypeId="CARRIER" shipmentMethodTypeId="GROUND" sequenceNumber="12"/>
 
     <QuantityBreak fromQuantity="0.0" quantityBreakId="9000" 
quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9001" 
quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9002" 
quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
     <QuantityBreak fromQuantity="0.0" quantityBreakId="9003" 
quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9004" 
quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9005" 
quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9006" 
quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9007" 
quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9008" 
quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
     <QuantityBreak fromQuantity="0.0" quantityBreakId="9009" 
quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
 
     <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="5.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9000" 
shipmentMethodTypeId="AIR" carrierPartyId="UPS" carrierRoleTypeId="CARRIER" 
weightBreakId="9000" weightUnitPrice="0.2"/>
-    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="3.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9001" 
shipmentMethodTypeId="GROUND" carrierPartyId="UPS" carrierRoleTypeId="CARRIER" 
weightBreakId="9003" weightUnitPrice="0.1"/>
+    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="3.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9001" 
shipmentMethodTypeId="GROUND" carrierPartyId="UPS" carrierRoleTypeId="CARRIER" 
weightBreakId="9001" weightUnitPrice="0.1"/>
     <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="5.0" 
orderItemFlatPrice="0.0" carrierPartyId="Company" carrierRoleTypeId="CARRIER" 
orderPricePercent="0.0" shipmentCostEstimateId="9002" 
shipmentMethodTypeId="LOCAL_DELIVERY"/>
-    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="10.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9003" 
shipmentMethodTypeId="NEXT_DAY" carrierPartyId="UPS" 
carrierRoleTypeId="CARRIER" weightBreakId="9009" weightUnitPrice="0.35"/>
+    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="10.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9003" 
shipmentMethodTypeId="NEXT_DAY" carrierPartyId="UPS" 
carrierRoleTypeId="CARRIER" weightBreakId="9002" weightUnitPrice="0.35"/>
     <ShipmentCostEstimate productStoreId="9000" shipmentCostEstimateId="9004" 
shipmentMethodTypeId="STANDARD" carrierPartyId="_NA_" 
carrierRoleTypeId="CARRIER" orderFlatPrice="0.0" orderPricePercent="20.0" 
orderItemFlatPrice="0.0"/>
     <ShipmentCostEstimate productStoreId="9000" shipmentCostEstimateId="9005" 
shipmentMethodTypeId="NO_SHIPPING" carrierPartyId="_NA_" 
carrierRoleTypeId="CARRIER" orderFlatPrice="0.0" orderPricePercent="0.0" 
orderItemFlatPrice="0.0"/>
-    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="10.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9100" 
shipmentMethodTypeId="EXPRESS" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" 
weightBreakId="9000" weightUnitPrice="0.2"/>
-    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="9.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9101" 
shipmentMethodTypeId="NEXT_PM" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" 
weightBreakId="9000" weightUnitPrice="0.2"/>
-    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="5.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9102" 
shipmentMethodTypeId="SECOND_DAY" carrierPartyId="DHL" 
carrierRoleTypeId="CARRIER" weightBreakId="9000" weightUnitPrice="0.2"/>
-    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="3.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9103" 
shipmentMethodTypeId="GROUND" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" 
weightBreakId="9003" weightUnitPrice="0.1"/>
-    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="12.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9203" 
shipmentMethodTypeId="EXPRESS" carrierPartyId="FEDEX" 
carrierRoleTypeId="CARRIER" weightBreakId="9003" weightUnitPrice="0.1"/>
-    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="9.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9203" 
shipmentMethodTypeId="SECOND_DAY" carrierPartyId="FEDEX" 
carrierRoleTypeId="CARRIER" weightBreakId="9003" weightUnitPrice="0.1"/>
-    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="3.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9203" 
shipmentMethodTypeId="GROUND" carrierPartyId="FEDEX" 
carrierRoleTypeId="CARRIER" weightBreakId="9003" weightUnitPrice="0.1"/>
+    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="10.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9100" 
shipmentMethodTypeId="EXPRESS" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" 
weightBreakId="9003" weightUnitPrice="0.2"/>
+    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="9.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9101" 
shipmentMethodTypeId="NEXT_PM" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" 
weightBreakId="9004" weightUnitPrice="0.2"/>
+    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="5.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9102" 
shipmentMethodTypeId="SECOND_DAY" carrierPartyId="DHL" 
carrierRoleTypeId="CARRIER" weightBreakId="9005" weightUnitPrice="0.2"/>
+    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="3.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9103" 
shipmentMethodTypeId="GROUND" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" 
weightBreakId="9006" weightUnitPrice="0.1"/>
+    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="12.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9203" 
shipmentMethodTypeId="EXPRESS" carrierPartyId="FEDEX" 
carrierRoleTypeId="CARRIER" weightBreakId="9007" weightUnitPrice="0.1"/>
+    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="9.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9203" 
shipmentMethodTypeId="SECOND_DAY" carrierPartyId="FEDEX" 
carrierRoleTypeId="CARRIER" weightBreakId="9008" weightUnitPrice="0.1"/>
+    <ShipmentCostEstimate productStoreId="9000" orderFlatPrice="3.0" 
orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentCostEstimateId="9203" 
shipmentMethodTypeId="GROUND" carrierPartyId="FEDEX" 
carrierRoleTypeId="CARRIER" weightBreakId="9009" weightUnitPrice="0.1"/>
 </entity-engine-xml>


Reply via email to