Author: jacopoc
Date: Thu Aug 30 10:48:18 2007
New Revision: 571257
URL:
http://svn.apache.org/viewvc?rev=571257&view=revLog:
Fixed bug where an order with one item partially backordered and maySplit set to Y was not available for picking.
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml?rev=571257&r1=571256&r2=571257&view=diff==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml Thu Aug 30 10:48:18 2007
@@ -183,6 +183,10 @@
<or>
<if-empty field-name="orderItemShipGrpInvRes.quantityNotAvailable"/>
<if-compare field-name="orderItemShipGrpInvRes.quantityNotAvailable" operator="equals" value="0" type="Double"/>
+ <and>
+ <if-compare field-name="orderItemShipGrpInvRes.quantity" operator="greater" value="0" type="Double"/>
+ <if-compare field-name="orderItemShipGroup.maySplit" operator="equals" value="Y"/>
+ </and>
</or>
</condition>
<then>