You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2008/08/11 20:53:25 UTC

svn commit: r684873 - /ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml

Author: jacopoc
Date: Mon Aug 11 11:53:25 2008
New Revision: 684873

URL: http://svn.apache.org/viewvc?rev=684873&view=rev
Log:
Added support for status for non serialized items to the production run issuance routine.

Modified:
    ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml

Modified: ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml?rev=684873&r1=684872&r2=684873&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml (original)
+++ ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml Mon Aug 11 11:53:25 2008
@@ -265,7 +265,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>
                         <if-compare field="inventoryItem.inventoryItemTypeId" operator="equals" value="NON_SERIAL_INV_ITEM"/>
                     </and>
                 </condition>