Author: jacopoc
Date: Sun Oct 15 03:45:29 2006
New Revision: 464153

URL: http://svn.apache.org/viewvc?view=rev&rev=464153
Log:
Seed data that define the allowed status transitions for production runs.

Modified:
    incubator/ofbiz/trunk/applications/workeffort/data/WorkEffortTypeData.xml

Modified: 
incubator/ofbiz/trunk/applications/workeffort/data/WorkEffortTypeData.xml
URL: 
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/workeffort/data/WorkEffortTypeData.xml?view=diff&rev=464153&r1=464152&r2=464153
==============================================================================
--- incubator/ofbiz/trunk/applications/workeffort/data/WorkEffortTypeData.xml 
(original)
+++ incubator/ofbiz/trunk/applications/workeffort/data/WorkEffortTypeData.xml 
Sun Oct 15 03:45:29 2006
@@ -236,7 +236,14 @@
     <StatusItem description="Completed" sequenceId="04" statusCode="COMPLETED" 
statusId="PRUN_COMPLETED" statusTypeId="PRODUCTION_RUN"/>
     <StatusItem description="Closed" sequenceId="05" statusCode="CLOSED" 
statusId="PRUN_CLOSED" statusTypeId="PRODUCTION_RUN"/>
     <StatusItem description="Cancelled" sequenceId="10" statusCode="CANCELLED" 
statusId="PRUN_CANCELLED" statusTypeId="PRODUCTION_RUN"/>
-    
+
+    <StatusValidChange statusId="PRUN_CREATED" statusIdTo="PRUN_DOC_PRINTED" 
transitionName="Confirm"/>
+    <StatusValidChange statusId="PRUN_CREATED" statusIdTo="PRUN_RUNNING" 
transitionName="Start"/>
+    <StatusValidChange statusId="PRUN_DOC_PRINTED" statusIdTo="PRUN_RUNNING" 
transitionName="Start"/>
+    <StatusValidChange statusId="PRUN_RUNNING" statusIdTo="PRUN_COMPLETED" 
transitionName="Complete"/>
+    <StatusValidChange statusId="PRUN_COMPLETED" statusIdTo="PRUN_CLOSED" 
transitionName="Close"/>
+    <StatusValidChange statusId="PRUN_CREATED" statusIdTo="PRUN_CANCELLED" 
transitionName="Cancel"/>
+
     <!-- ProductionRun Inventory assignement status -->
     <WorkEffortGoodStandardType workEffortGoodStdTypeId="ROU_PROD_TEMPLATE" 
description="Product and Routing Association" hasTable="N" parentTypeId=""/>
     <WorkEffortGoodStandardType workEffortGoodStdTypeId="PRUN_PROD_DELIV" 
description="Production Run and Product to Deliver Association" hasTable="N" 
parentTypeId=""/>


Reply via email to