svn commit: r882131 - /ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml

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

svn commit: r882131 - /ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml

ashish-18
Author: ashish
Date: Thu Nov 19 12:46:54 2009
New Revision: 882131

URL: http://svn.apache.org/viewvc?rev=882131&view=rev
Log:
Applied patch from jira issue OFBIZ-3225 - cancelAllBackOrders scheduled service should not attempt to cancel "Completed" Orders.

-- cancelAllBackOrders scheduled service should not attempt to cancel "Completed" Orders. When this service runs for Completed Purchase Orders, it throws error as Completed cannot be cancelled.

Thanks Divesh for the contribution.

Modified:
    ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml

Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml?rev=882131&r1=882130&r2=882131&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml (original)
+++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml Thu Nov 19 12:46:54 2009
@@ -1276,6 +1276,7 @@
             <condition-list combine="and">
                 <condition-expr field-name="orderTypeId" operator="equals" value="PURCHASE_ORDER"/>
                 <condition-expr field-name="statusId" operator="not-equals" value="ORDER_CANCELLED"/>
+                <condition-expr field-name="statusId" operator="not-equals" value="ORDER_COMPLETED"/>
             </condition-list>
         </entity-condition>
         <iterate entry="currentOrder" list="orders">