svn commit: r1091340 - in /ofbiz/branches/release10.04/applications/manufacturing: script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml servicedef/services_production_run.xml

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

svn commit: r1091340 - in /ofbiz/branches/release10.04/applications/manufacturing: script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml servicedef/services_production_run.xml

jacopoc
Author: jacopoc
Date: Tue Apr 12 09:31:48 2011
New Revision: 1091340

URL: http://svn.apache.org/viewvc?rev=1091340&view=rev
Log:
Backported bug fix from trunk rev. 1091339:

Fixed bug that was causing, under some circumstances (failIfItemsAreNotAvailable set to N with not enough inventory on hand), negative qoh.


Modified:
    ofbiz/branches/release10.04/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
    ofbiz/branches/release10.04/applications/manufacturing/servicedef/services_production_run.xml

Modified: ofbiz/branches/release10.04/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml?rev=1091340&r1=1091339&r2=1091340&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml (original)
+++ ofbiz/branches/release10.04/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml Tue Apr 12 09:31:48 2011
@@ -152,7 +152,7 @@ under the License.
                 <if>
                     <condition>
                         <or>
-                            <if-compare field="parameters.failIfItemsAreNotAvailable" operator="equals" value="Y" type="String"/>
+                            <if-empty field="parameters.failIfItemsAreNotOnHand"/>
                             <if-compare field="parameters.failIfItemsAreNotOnHand" operator="equals" value="Y" type="String"/>
                         </or>
                     </condition>

Modified: ofbiz/branches/release10.04/applications/manufacturing/servicedef/services_production_run.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release10.04/applications/manufacturing/servicedef/services_production_run.xml?rev=1091340&r1=1091339&r2=1091340&view=diff
==============================================================================
--- ofbiz/branches/release10.04/applications/manufacturing/servicedef/services_production_run.xml (original)
+++ ofbiz/branches/release10.04/applications/manufacturing/servicedef/services_production_run.xml Tue Apr 12 09:31:48 2011
@@ -191,9 +191,9 @@ under the License.
             with type PRUNT_PROD_NEEDED is retrieved and used to get the quantity; its status is also updated to COMPLETED after
             the issuance is done.
             If locationSeqIds are provided, then the items are only issued from the inventory items associated to the locations.
-            If failIfItemsAreNotAvailable is set to "Y" (the default is "N") then the service fails if there isn not enough inventory available:
+            If failIfItemsAreNotAvailable is set to "Y" (the default is "Y") then the service fails if there is not enough inventory available:
             no reservation will be stolen.
-            If failIfItemsAreNotOnHand is set to "Y" (the default is "N") then the service fails if there isn not enough inventory:
+            If failIfItemsAreNotOnHand is set to "Y" (the default is "Y") then the service fails if there is not enough inventory:
             no items with negative qoh will be created.
         </description>
         <attribute name="workEffortId" type="String" mode="IN" optional="false"/>