Author: jacopoc
Date: Tue Jul 11 21:17:57 2006
New Revision: 421113
URL:
http://svn.apache.org/viewvc?rev=421113&view=revLog:
Fixed a few bugs in the new mkt package stuff.
Modified:
incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
Modified: incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml?rev=421113&r1=421112&r2=421113&view=diff==============================================================================
--- incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml (original)
+++ incubator/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml Tue Jul 11 21:17:57 2006
@@ -257,7 +257,7 @@
<condition>
<or>
<if-empty field-name="parameters.quantity"/>
- <if-compare field-name="parameters.quantity" operator="greater" to-field-name="inventoryItem.quantityOnHandTotal" type="Double"/>
+ <if-compare-field field-name="parameters.quantity" operator="greater" to-field-name="inventoryItem.quantityOnHandTotal" type="Double"/>
</or>
</condition>
<then>
@@ -289,7 +289,7 @@
<field-to-result field-name="deductAmount" result-name="quantityIssued"/>
</then>
<else>
- <calculate field-name="quantity" map-name="issuanceCreateMap"><number value="1"/></calculate>
+ <calculate field-name="deductAmount"><number value="0"/></calculate>
<field-to-result field-name="deductAmount" result-name="quantityIssued"/>
</else>
</if>