Author: jacopoc
Date: Mon Aug 11 11:49:48 2008
New Revision: 684871
URL:
http://svn.apache.org/viewvc?rev=684871&view=revLog:
Added support for status for non serialized items to the production run issuance routine.
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml?rev=684871&r1=684870&r2=684871&view=diff==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml Mon Aug 11 11:49:48 2008
@@ -218,7 +218,10 @@
<if>
<condition>
<and>
- <if-empty field="inventoryItem.statusId"/>
+ <or>
+ <if-empty field="inventoryItem.statusId"/>
+ <if-compare operator="equals" field="inventoryItem.statusId" value="INV_AVAILABLE"/>
+ </or>
<not><if-empty field="inventoryItem.availableToPromiseTotal"/></not>
<if-compare field="inventoryItem.availableToPromiseTotal" operator="greater" value="0" type="Double"/>
</and>