You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2009/11/19 13:46:55 UTC

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

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">