svn commit: r684871 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml

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

svn commit: r684871 - /ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryIssueServices.xml

jacopoc
Author: jacopoc
Date: Mon Aug 11 11:49:48 2008
New Revision: 684871

URL: http://svn.apache.org/viewvc?rev=684871&view=rev
Log:
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>