Commit 310bbafd authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* unify all accept solvers to one Accept Solver.

* unify all adopt solvers to one Adopt Solver.
* create one Unify Solver.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32269 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 148e8b26
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_view</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>configuration</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configuration</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Solver_viewConfiguration</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_view</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>view</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>View</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/TargetSolver_view</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_view</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>configuration</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>2.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Configuration</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Solver_viewConfiguration</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ActionInformation" module="Products.CMFCore.ActionInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>action</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>action_type/object_view</string>
</tuple>
</value>
</item>
<item>
<key> <string>category</string> </key>
<value> <string>object_view</string> </value>
</item>
<item>
<key> <string>condition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>icon</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>view</string> </value>
</item>
<item>
<key> <string>permissions</string> </key>
<value>
<tuple>
<string>View</string>
</tuple>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Action Information</string> </value>
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>View</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
<value> <int>1</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="Expression" module="Products.CMFCore.Expression"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/TargetSolver_view</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -48,15 +48,12 @@
<item>Variation Divergence Tester</item>
</portal_type>
<portal_type id="Solver Process">
<item>Destination Replacement Solver</item>
<item>Accept Solver</item>
<item>Adoption Solver</item>
<item>Production Reduction Solver</item>
<item>Quantity Accept Solver</item>
<item>Quantity Adoption Solver</item>
<item>Quantity Split Solver</item>
<item>Resource Adoption Solver</item>
<item>Resource Replacement Solver</item>
<item>Solver Decision</item>
<item>Start Date Replacement Solver</item>
<item>Unify Solver</item>
</portal_type>
<portal_type id="Solver Tool">
<item>Solver Process</item>
......
......@@ -23,22 +23,6 @@
<key> <string>configuration_form_id</string> </key>
<value> <string>Solver_viewConfiguration</string> </value>
</item>
<item>
<key> <string>configuration_property_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>delivery_solver</string> </key>
<value>
<tuple>
<string>FIFO</string>
<string>LIFO</string>
<string>MinPrice</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The Accept Solver solves the divergence by accepting the decision and updating a simulation movement.</string> </value>
......@@ -57,7 +41,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Quantity Accept Solver</string> </value>
<value> <string>Accept Solver</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
......@@ -65,14 +49,6 @@
<none/>
</value>
</item>
<item>
<key> <string>line_exclusive</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>line_grouping</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>permission</string> </key>
<value>
......@@ -85,11 +61,7 @@
</item>
<item>
<key> <string>solver_action_title</string> </key>
<value> <string>Accept new quantity</string> </value>
</item>
<item>
<key> <string>tested_property</string> </key>
<value> <string>quantity</string> </value>
<value> <string>Accept new value</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -21,11 +21,11 @@
</item>
<item>
<key> <string>configuration_form_id</string> </key>
<value> <string>QuantityReplacementSolver_viewConfiguration</string> </value>
<value> <string>Solver_viewConfiguration</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The quantity adoption solver resets the quantity value of the delivery movement to the total of the quantity values of related simulations. It eventually updates the delivery_ratio in the simulations.</string> </value>
<value> <string>The adoption solver resets the value of the delivery movement to the total of the values of related simulations. It eventually updates the delivery_ratio in the simulations.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
......@@ -41,7 +41,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Quantity Adoption Solver</string> </value>
<value> <string>Adoption Solver</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
......@@ -61,11 +61,7 @@
</item>
<item>
<key> <string>solver_action_title</string> </key>
<value> <string>Replace Quantity</string> </value>
</item>
<item>
<key> <string>tested_property</string> </key>
<value> <string>quantity</string> </value>
<value> <string>Replace value</string> </value>
</item>
</dictionary>
</pickle>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="SolverTypeInformation" module="Products.ERP5Type.Document.SolverTypeInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>configuration_form_id</string> </key>
<value> <string>Solver_viewConfiguration</string> </value>
</item>
<item>
<key> <string>configuration_property_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>delivery_solver</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The Destination Replacement Solver forces the source of delivery related simulation movements to the destination value of the delivery movement, yet preserving its original value as a recordable property.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addAcceptSolver</string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple>
<string>target_solver</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Destination Replacement Solver</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>line_exclusive</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>line_grouping</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>permission</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Solver Type</string> </value>
</item>
<item>
<key> <string>solver_action_title</string> </key>
<value> <string>Replace Destination</string> </value>
</item>
<item>
<key> <string>tested_property</string> </key>
<value> <string>destination</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="SolverTypeInformation" module="Products.ERP5Type.Document.SolverTypeInformation"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>configuration_form_id</string> </key>
<value> <string>Solver_viewConfiguration</string> </value>
</item>
<item>
<key> <string>configuration_property_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>delivery_solver</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The Resource Replacement Solver forces the source of delivery related simulation movements to the resource value of the delivery movement, yet preserving its original value as a recordable property.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addAcceptSolver</string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple>
<string>target_solver</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Resource Replacement Solver</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>line_exclusive</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>line_grouping</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>permission</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Solver Type</string> </value>
</item>
<item>
<key> <string>solver_action_title</string> </key>
<value> <string>Replace Resource</string> </value>
</item>
<item>
<key> <string>tested_property</string> </key>
<value> <string>resource</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -23,21 +23,9 @@
<key> <string>configuration_form_id</string> </key>
<value> <string>Solver_viewConfiguration</string> </value>
</item>
<item>
<key> <string>configuration_property_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>delivery_solver</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>The Start Date Replacement Solver forces the source of delivery related simulation movements to the start_date value of the delivery movement, yet preserving its original value as a recordable property.</string> </value>
<value> <string>The Unify Solver solves the divergence by unifying the value with a selected one and updating a simulation movement.</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
......@@ -53,7 +41,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Start Date Replacement Solver</string> </value>
<value> <string>Unify Solver</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
......@@ -61,14 +49,6 @@
<none/>
</value>
</item>
<item>
<key> <string>line_exclusive</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>line_grouping</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>permission</string> </key>
<value>
......@@ -81,11 +61,7 @@
</item>
<item>
<key> <string>solver_action_title</string> </key>
<value> <string>Replace Start Date</string> </value>
</item>
<item>
<key> <string>tested_property</string> </key>
<value> <string>start_date</string> </value>
<value> <string>Unify value</string> </value>
</item>
</dictionary>
</pickle>
......
<workflow_chain>
<chain>
<type>Accept Solver</type>
<workflow>solver_workflow</workflow>
</chain>
<chain>
<type>Adoption Solver</type>
<workflow>solver_workflow</workflow>
</chain>
<chain>
<type>Category Membership Divergence Tester</type>
<workflow>edit_workflow</workflow>
......@@ -7,10 +15,6 @@
<type>DateTime Divergence Tester</type>
<workflow>edit_workflow</workflow>
</chain>
<chain>
<type>Destination Replacement Solver</type>
<workflow>solver_workflow</workflow>
</chain>
<chain>
<type>Float Divergence Tester</type>
<workflow>edit_workflow</workflow>
......@@ -23,14 +27,6 @@
<type>Production Reduction Solver</type>
<workflow>solver_workflow</workflow>
</chain>
<chain>
<type>Quantity Accept Solver</type>
<workflow>solver_workflow</workflow>
</chain>
<chain>
<type>Quantity Adoption Solver</type>
<workflow>solver_workflow</workflow>
</chain>
<chain>
<type>Quantity Cancel Solver</type>
<workflow>solver_workflow</workflow>
......@@ -40,21 +36,13 @@
<workflow>solver_workflow</workflow>
</chain>
<chain>
<type>Resource Adoption Solver</type>
<workflow>solver_workflow</workflow>
</chain>
<chain>
<type>Resource Replacement Solver</type>
<workflow>solver_workflow</workflow>
<type>String Divergence Tester</type>
<workflow>edit_workflow</workflow>
</chain>
<chain>
<type>Start Date Replacement Solver</type>
<type>Unify Solver</type>
<workflow>solver_workflow</workflow>
</chain>
<chain>
<type>String Divergence Tester</type>
<workflow>edit_workflow</workflow>
</chain>
<chain>
<type>Variation Divergence Tester</type>
<workflow>edit_workflow</workflow>
......
Accept Solver | configuration
Accept Solver | view
Adoption Solver | configuration
Adoption Solver | view
Category Membership Divergence Tester | configuration
Category Membership Divergence Tester | predicate
Category Membership Divergence Tester | view
DateTime Divergence Tester | configuration
DateTime Divergence Tester | predicate
DateTime Divergence Tester | view
Destination Replacement Solver | configuration
Destination Replacement Solver | view
Float Divergence Tester | configuration
Float Divergence Tester | predicate
Float Divergence Tester | view
Net Converted Quantity Divergence Tester | configuration
Net Converted Quantity Divergence Tester | predicate
Net Converted Quantity Divergence Tester | view
Quantity Accept Solver | configuration
Quantity Accept Solver | view
Quantity Adoption Solver | configuration
Quantity Adoption Solver | view
Quantity Cancel Solver | configuration
Quantity Cancel Solver | view
Quantity Split Solver | configuration
Quantity Split Solver | view
Resource Adoption Solver | configuration
Resource Adoption Solver | view
Resource Replacement Solver | configuration
Resource Replacement Solver | view
Solver Decision | configuration
Solver Decision | view
Solver Process | target_solver
......@@ -35,11 +29,11 @@ Solver Type | solver_view
Solver Type | translation_view
Solver Type | update_local_roles
Solver Type | view
Start Date Replacement Solver | configuration
Start Date Replacement Solver | view
String Divergence Tester | configuration
String Divergence Tester | predicate
String Divergence Tester | view
Unify Solver | configuration
Unify Solver | view
Variation Divergence Tester | configuration
Variation Divergence Tester | predicate
Variation Divergence Tester | view
\ No newline at end of file
......@@ -34,15 +34,12 @@ Payment Rule | Float Divergence Tester
Payment Rule | Net Converted Quantity Divergence Tester
Payment Rule | String Divergence Tester
Payment Rule | Variation Divergence Tester
Solver Process | Destination Replacement Solver
Solver Process | Accept Solver
Solver Process | Adoption Solver
Solver Process | Production Reduction Solver
Solver Process | Quantity Accept Solver
Solver Process | Quantity Adoption Solver
Solver Process | Quantity Split Solver
Solver Process | Resource Adoption Solver
Solver Process | Resource Replacement Solver
Solver Process | Solver Decision
Solver Process | Start Date Replacement Solver
Solver Process | Unify Solver
Solver Tool | Solver Process
Solver Type | Action Information
Solver Type | Role Information
......
Accept Solver
Adoption Solver
Category Membership Divergence Tester
DateTime Divergence Tester
Destination Replacement Solver
Float Divergence Tester
Net Converted Quantity Divergence Tester
Production Reduction Solver
Quantity Accept Solver
Quantity Adoption Solver
Quantity Cancel Solver
Quantity Split Solver
Resource Adoption Solver
Resource Replacement Solver
Solver Decision
Solver Process
Solver Tool
Solver Type
Start Date Replacement Solver
String Divergence Tester
Unify Solver
Variation Divergence Tester
\ No newline at end of file
Accept Solver | solver_workflow
Adoption Solver | solver_workflow
Category Membership Divergence Tester | edit_workflow
DateTime Divergence Tester | edit_workflow
Destination Replacement Solver | solver_workflow
Float Divergence Tester | edit_workflow
Net Converted Quantity Divergence Tester | edit_workflow
Production Reduction Solver | solver_workflow
Quantity Accept Solver | solver_workflow
Quantity Adoption Solver | solver_workflow
Quantity Cancel Solver | solver_workflow
Quantity Split Solver | solver_workflow
Resource Adoption Solver | solver_workflow
Resource Replacement Solver | solver_workflow
Start Date Replacement Solver | solver_workflow
String Divergence Tester | edit_workflow
Unify Solver | solver_workflow
Variation Divergence Tester | edit_workflow
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment