svn commit: r499885 - in /ofbiz/trunk/applications/ecommerce/data: DemoPurchasing.xml DemoStandardCosting.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r499885 - in /ofbiz/trunk/applications/ecommerce/data: DemoPurchasing.xml DemoStandardCosting.xml

sichen
Author: sichen
Date: Thu Jan 25 10:31:28 2007
New Revision: 499885

URL: http://svn.apache.org/viewvc?view=rev&rev=499885
Log:
updated demo data with supplier order preferences for products.  this will allow you to see MRP features more easily

Modified:
    ofbiz/trunk/applications/ecommerce/data/DemoPurchasing.xml
    ofbiz/trunk/applications/ecommerce/data/DemoStandardCosting.xml

Modified: ofbiz/trunk/applications/ecommerce/data/DemoPurchasing.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/data/DemoPurchasing.xml?view=diff&rev=499885&r1=499884&r2=499885
==============================================================================
--- ofbiz/trunk/applications/ecommerce/data/DemoPurchasing.xml (original)
+++ ofbiz/trunk/applications/ecommerce/data/DemoPurchasing.xml Thu Jan 25 10:31:28 2007
@@ -51,12 +51,12 @@
     <PartyContactMechPurpose partyId="EuroSupplier" contactMechId="9003" contactMechPurposeTypeId="PAYMENT_LOCATION" fromDate="2000-01-01 00:00:00.000"/>
 
     <!-- supplier pricing -->
-    <SupplierProduct partyId="DemoSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-1000" lastPrice="7.5" supplierProductId="GZ-1000-0" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="DemoSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-1001" lastPrice="12.99" supplierProductId="GZ-1001-0" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="DemoSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-1005" lastPrice="1399.5" supplierProductId="GZ-1005-0" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="DemoSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-1006" lastPrice="2.99" supplierProductId="GZ-1006-0" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="DemoSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-2002" lastPrice="24.0" supplierProductId="GZ-2002-0" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="DemoSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-2644" lastPrice="24.0" supplierProductId="GZ-2644-0" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="DemoSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-1000" lastPrice="7.5" supplierProductId="GZ-1000-0" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="DemoSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-1001" lastPrice="12.99" supplierProductId="GZ-1001-0" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="DemoSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-1005" lastPrice="1399.5" supplierProductId="GZ-1005-0" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="DemoSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-1006" lastPrice="2.99" supplierProductId="GZ-1006-0" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="DemoSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-2002" lastPrice="24.0" supplierProductId="GZ-2002-0" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="DemoSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-2644" lastPrice="24.0" supplierProductId="GZ-2644-0" availableFromDate="2005-01-01 00:00:00.000"/>
     <SupplierProduct partyId="DemoSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-5005" lastPrice="24.0" supplierProductId="GZ-5005-0" availableFromDate="2005-01-01 00:00:00.000"/>
     <SupplierProduct partyId="DemoSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-7000" lastPrice="499.99" supplierProductId="GZ-7000-0" availableFromDate="2005-01-01 00:00:00.000"/>
     <SupplierProduct partyId="DemoSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-8544" lastPrice="135.0" supplierProductId="GZ-8544-0" availableFromDate="2005-01-01 00:00:00.000"/>
@@ -113,13 +113,13 @@
     <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-1006" supplierProductName="US Open Gizmo" supplierProductId="USGZ-1006" lastPrice="2.396" availableFromDate="2005-01-01 00:00:00.000"/>
     <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-2002" supplierProductName="US Square Gizmo" supplierProductId="USGZ-2002" lastPrice="19.2" availableFromDate="2005-01-01 00:00:00.000"/>
     <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-2644" supplierProductName="US Round Gizmo" supplierProductId="USGZ-2644" lastPrice="19.2" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-5005" supplierProductName="US Purple Gizmo" supplierProductId="USGZ-5005" lastPrice="19.2" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-7000" supplierProductName="US Massive Gizmo" supplierProductId="USGZ-7000" lastPrice="400.00" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-8544" supplierProductName="US Big Gizmo" supplierProductId="USGZ-8544" lastPrice="108.0" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-9290" supplierProductName="US His/Her Gizmo" supplierProductId="USGZ-9290" lastPrice="40.00" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="WG-1111" supplierProductName="US Micro Chrome Widget" supplierProductId="USWG-1111" lastPrice="24.0" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="WG-5569" supplierProductName="US Tiny Chrome Widget" supplierProductId="USWG-5569" lastPrice="24.0" availableFromDate="2005-01-01 00:00:00.000"/>
-    <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="0" currencyUomId="USD" productId="WG-9943" supplierProductName="US Giant Widget" supplierProductId="USWG-9943" lastPrice="220.0" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="EuroSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-5005" supplierProductName="US Purple Gizmo" supplierProductId="USGZ-5005" lastPrice="19.2" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="EuroSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-7000" supplierProductName="US Massive Gizmo" supplierProductId="USGZ-7000" lastPrice="400.00" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="EuroSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-8544" supplierProductName="US Big Gizmo" supplierProductId="USGZ-8544" lastPrice="108.0" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="EuroSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="GZ-9290" supplierProductName="US His/Her Gizmo" supplierProductId="USGZ-9290" lastPrice="40.00" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="EuroSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="WG-1111" supplierProductName="US Micro Chrome Widget" supplierProductId="USWG-1111" lastPrice="24.0" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="EuroSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="WG-5569" supplierProductName="US Tiny Chrome Widget" supplierProductId="USWG-5569" lastPrice="24.0" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="EuroSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="WG-9943" supplierProductName="US Giant Widget" supplierProductId="USWG-9943" lastPrice="220.0" availableFromDate="2005-01-01 00:00:00.000"/>
 
     <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="10" currencyUomId="USD" productId="GZ-1000" supplierProductName="US Tiny Gizmo" supplierProductId="US1-GZ-1000" lastPrice="4.6" availableFromDate="2005-01-01 00:00:00.000"/>
     <SupplierProduct partyId="EuroSupplier" minimumOrderQuantity="10" currencyUomId="USD" productId="GZ-1001" supplierProductName="US Nan Gizmo" supplierProductId="US1-GZ-1001" lastPrice="7.23" availableFromDate="2005-01-01 00:00:00.000"/>

Modified: ofbiz/trunk/applications/ecommerce/data/DemoStandardCosting.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/data/DemoStandardCosting.xml?view=diff&rev=499885&r1=499884&r2=499885
==============================================================================
--- ofbiz/trunk/applications/ecommerce/data/DemoStandardCosting.xml (original)
+++ ofbiz/trunk/applications/ecommerce/data/DemoStandardCosting.xml Thu Jan 25 10:31:28 2007
@@ -40,6 +40,11 @@
     <!-- Cost information for the raw materials only (the ones for the finished good will be automatically computed by the costing algorithm): -->
     <CostComponent costComponentId="6000" costComponentTypeId="EST_STD_MAT_COST" productId="MAT_A_COST" fromDate="2005-12-31 00:01:00.0" costUomId="USD" cost="9"/>
     <CostComponent costComponentId="6001" costComponentTypeId="EST_STD_MAT_COST" productId="MAT_B_COST" fromDate="2005-12-31 00:01:00.0" costUomId="USD" cost="7"/>
+
+    <SupplierProduct partyId="DemoSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="MAT_A_COST" lastPrice="9.0" supplierProductId="MAT_A" supplierProductName="Material A" availableFromDate="2005-01-01 00:00:00.000"/>
+    <SupplierProduct partyId="DemoSupplier" supplierPrefOrderId="10_MAIN_SUPPL" minimumOrderQuantity="0" currencyUomId="USD" productId="MAT_B_COST" lastPrice="7.0" supplierProductId="MAT_B" supplierProductName="Material B" availableFromDate="2005-01-01 00:00:00.000"/>
+
+    
     <!-- ################################# -->
     <!-- Bill of materials definition: -->
     <ProductAssoc productId="PROD_COST" productIdTo="MAT_A_COST" productAssocTypeId="MANUF_COMPONENT" fromDate="2005-12-31 00:01:00.0" sequenceNum="10" quantity="2.0"/>