svn commit: r464218 - /incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml

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

svn commit: r464218 - /incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml

jacopoc
Author: jacopoc
Date: Sun Oct 15 08:57:54 2006
New Revision: 464218

URL: http://svn.apache.org/viewvc?view=rev&rev=464218
Log:
Small formattin cleanup.

Modified:
    incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml

Modified: incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml?view=diff&rev=464218&r1=464217&r2=464218
==============================================================================
--- incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml (original)
+++ incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/routing/RoutingServices.xml Sun Oct 15 08:57:54 2006
@@ -85,27 +85,27 @@
             </else>
         </if-not-empty>
         <if-not-empty field-name="routingGS">
-                <clear-field field-name="lookupRouting"/>
-                    <set from-field="routingGS.workEffortId" field="lookupRouting.workEffortId"/>
-                    <find-by-primary-key entity-name="WorkEffort" value-name="routing" map-name="lookupRouting"/>
-                <else>
-                    <!-- The default routing is used when no explicit routing is associated to the product
-                         and the ignoreDefaultRouting is not equals to Y -->
-                    <if>
-                        <condition>
-                        <or>
-                            <if-empty field-name="parameters.ignoreDefaultRouting"/>
-                            <if-compare field-name="parameters.ignoreDefaultRouting" operator="equals" value="N"/>
-                        </or>
-                        </condition>
-                        <then>
-                            <clear-field field-name="lookupRouting"/>
-                            <set value="DEFAULT_ROUTING" field="lookupRouting.workEffortId"/>
-                            <find-by-primary-key entity-name="WorkEffort" value-name="routing" map-name="lookupRouting"/>
-                        </then>
-                    </if>
-                </else>
-            </if-not-empty>
+            <clear-field field-name="lookupRouting"/>
+            <set from-field="routingGS.workEffortId" field="lookupRouting.workEffortId"/>
+            <find-by-primary-key entity-name="WorkEffort" value-name="routing" map-name="lookupRouting"/>
+            <else>
+                <!-- The default routing is used when no explicit routing is associated to the product
+                     and the ignoreDefaultRouting is not equals to Y -->
+                <if>
+                    <condition>
+                    <or>
+                        <if-empty field-name="parameters.ignoreDefaultRouting"/>
+                        <if-compare field-name="parameters.ignoreDefaultRouting" operator="equals" value="N"/>
+                    </or>
+                    </condition>
+                    <then>
+                        <clear-field field-name="lookupRouting"/>
+                        <set value="DEFAULT_ROUTING" field="lookupRouting.workEffortId"/>
+                        <find-by-primary-key entity-name="WorkEffort" value-name="routing" map-name="lookupRouting"/>
+                    </then>
+                </if>
+            </else>
+        </if-not-empty>
         <if-not-empty field-name="routing">
             <set from-field="routing.workEffortId" field="lookupTasks.workEffortIdFrom"/>
             <string-to-list string="sequenceNum" list-name="tasksOrder"/>