[OFBiz] SVN: r6904 - in trunk/applications/ecommerce: . data
jacopo@svn.ofbiz.org
jacopo at svn.ofbiz.org
Fri Mar 3 11:12:03 CST 2006
Author: jacopo
Date: 2006-03-03 11:11:54 -0600 (Fri, 03 Mar 2006)
New Revision: 6904
Added:
trunk/applications/ecommerce/data/DemoStandardCosting.xml
Modified:
trunk/applications/ecommerce/ofbiz-component.xml
Log:
Added demo data file to test the new standard costing stuff.
Added: trunk/applications/ecommerce/data/DemoStandardCosting.xml
===================================================================
--- trunk/applications/ecommerce/data/DemoStandardCosting.xml 2006-03-03 17:00:08 UTC (rev 6903)
+++ trunk/applications/ecommerce/data/DemoStandardCosting.xml 2006-03-03 17:11:54 UTC (rev 6904)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<entity-engine-xml>
+ <!-- ################################# -->
+ <!-- This is an example of a fixed asset (a machine or a workcenter) with standard costing information -->
+ <FixedAsset fixedAssetId="WORKCENTER_COST" fixedAssetTypeId="GROUP_EQUIPMENT" fixedAssetName="Demo Workcenter with Standard Costs information"/>
+ <!-- This is the standard cost per hour needed to setup the fixed asset for the task -->
+ <FixedAssetStdCost fixedAssetId="WORKCENTER_COST" fixedAssetStdCostTypeId="SETUP_COST" fromDate="2005-12-31 00:01:00.0" amountUomId="USD" amount="2"/>
+ <!-- This is the standard cost per hour for the usage of the fixed asset to perform a given task -->
+ <FixedAssetStdCost fixedAssetId="WORKCENTER_COST" fixedAssetStdCostTypeId="USAGE_COST" fromDate="2005-12-31 00:01:00.0" amountUomId="USD" amount="8"/>
+
+ <!-- ################################# -->
+ <!-- ################################# -->
+ <!-- This is a finished good, PROD_COST, manufactured using 2 units of the raw material MAT_A_COST and 3 units of raw material MAT_B_COST -->
+ <!-- Finished good and raw materials definitions: -->
+ <Product productId="PROD_COST" productTypeId="FINISHED_GOOD" internalName="Demo Product for Costing" description="Demo Product for Standard Costing" billOfMaterialLevel="0"/>
+ <Product productId="MAT_A_COST" productTypeId="RAW_MATERIAL" internalName="Demo Material A for Costing" description="Demo Material A for Standard Costing" billOfMaterialLevel="1"/>
+ <Product productId="MAT_B_COST" productTypeId="RAW_MATERIAL" internalName="Demo Material B for Costing" description="Demo Material B for Standard Costing" billOfMaterialLevel="1"/>
+ <!-- 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"/>
+ <!-- ################################# -->
+ <!-- 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"/>
+ <ProductAssoc productId="PROD_COST" productIdTo="MAT_B_COST" productAssocTypeId="MANUF_COMPONENT" fromDate="2005-12-31 00:01:00.0" sequenceNum="20" quantity="3.0"/>
+ <!-- ################################# -->
+ <!-- Product Routing definition: -->
+ <!-- the routing is composed of one task -->
+ <!-- the task is executed in the fixed asset WORKCENTER_COST; the setup time is 10 minutes (600000 milliseconds); the unit task time is 5 minutes (300000 milliseconds) -->
+ <WorkEffort workEffortId="ROUTING_COST" workEffortTypeId="ROUTING" currentStatusId="ROU_ACTIVE" workEffortName="Demo Routing for Costing" description="Demo Routing for Costing" revisionNumber="1" quantityToProduce="0"/>
+ <WorkEffort workEffortId="TASK_COST" workEffortTypeId="ROU_TASK" workEffortPurposeTypeId="ROU_ASSEMBLING" currentStatusId="ROU_ACTIVE" workEffortName="Demo Routing Task for Costing" description="Demo Routing Task for Costing" revisionNumber="1" fixedAssetId="WORKCENTER_COST" estimatedMilliSeconds="300000" estimatedSetupMillis="600000"/>
+ <WorkEffortAssoc workEffortIdFrom="ROUTING_COST" workEffortIdTo="TASK_COST" workEffortAssocTypeId="ROUTING_COMPONENT" sequenceNum="10" fromDate="2005-12-31 00:01:00.0"/>
+ <WorkEffortGoodStandard workEffortId="ROUTING_COST" productId="PROD_COST" workEffortGoodStdTypeId="ROU_PROD_TEMPLATE" statusId="WEGS_CREATED" fromDate="2005-12-31 00:01:00.0"/>
+</entity-engine-xml>
\ No newline at end of file
Property changes on: trunk/applications/ecommerce/data/DemoStandardCosting.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ "Date Rev Author URL Id"
Name: svn:eol-style
+ native
Modified: trunk/applications/ecommerce/ofbiz-component.xml
===================================================================
--- trunk/applications/ecommerce/ofbiz-component.xml 2006-03-03 17:00:08 UTC (rev 6903)
+++ trunk/applications/ecommerce/ofbiz-component.xml 2006-03-03 17:11:54 UTC (rev 6904)
@@ -49,6 +49,7 @@
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoTaxAuthority.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoOrderPeopleData.xml"/>
<entity-resource type="data" reader-name="demo" loader="main" location="data/DemoMarketing.xml"/>
+ <entity-resource type="data" reader-name="demo" loader="main" location="data/DemoStandardCosting.xml"/>
<webapp name="ecommerce"
title="ECommerce"
server="default-server"
More information about the Svn
mailing list