Author: jleroux
Date: Fri Dec 19 12:30:31 2008
New Revision: 728137
URL:
http://svn.apache.org/viewvc?rev=728137&view=revLog:
Fix a bug I introduced recently (wrong util in place of bsh)
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml
Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml?rev=728137&r1=728136&r2=728137&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml Fri Dec 19 12:30:31 2008
@@ -357,7 +357,7 @@
<set field="maxIntervalQty" from-field="maintValue.intervalQuantity" type="Double"/>
</if-compare-field>
</iterate>
- <set field="nextIntervalQty" value="${util:maxIntervalQty + productMaintValue.getDouble("intervalQuantity")}" type="BigDecimal"/>
+ <set field="nextIntervalQty" value="${bsh:maxIntervalQty + productMaintValue.getDouble("intervalQuantity")}" type="BigDecimal"/>
<if-compare-field field="nextIntervalQty" operator="less-equals" to-field="meterValue.meterValue" type="Double">
<set field="maintDue" value="false"/>
<if-compare field="repeatCount" operator="greater" value="0" type="Long">