Author: jleroux
Date: Sat Apr 25 21:50:08 2009
New Revision: 768611

URL: http://svn.apache.org/viewvc?rev=768611&view=rev
Log:
A patch from Joe Eckard "Clarify Non-Serialized Inventory Reservations / Add 
Flexibility " https://issues.apache.org/jira/browse/OFBIZ-2291  - OFBIZ-2291

Modified:
    
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml

Modified: 
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml?rev=768611&r1=768610&r2=768611&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml
 (original)
+++ 
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml
 Sat Apr 25 21:50:08 2009
@@ -412,7 +412,8 @@
                 <if>
                     <condition>
                         <and>
-                            <if-empty field="inventoryItem.statusId"/>
+                            <if-compare field="inventoryItem.statusId" 
operator="not-equals" value="ON_HOLD_NS"/>
+                            <if-compare field="inventoryItem.statusId" 
operator="not-equals" value="DEFECTIVE_NS"/>
                             <not><if-empty 
field="inventoryItem.availableToPromiseTotal"/></not>
                             <if-compare 
field="inventoryItem.availableToPromiseTotal" operator="greater" value="0" 
type="BigDecimal"/>
                         </and>


Reply via email to