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

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

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

jacopoc
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>