You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/12/19 21:30:31 UTC

svn commit: r728137 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml

Author: jleroux
Date: Fri Dec 19 12:30:31 2008
New Revision: 728137

URL: http://svn.apache.org/viewvc?rev=728137&view=rev
Log:
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(&quot;intervalQuantity&quot;)}" type="BigDecimal"/>
+            <set field="nextIntervalQty" value="${bsh:maxIntervalQty + productMaintValue.getDouble(&quot;intervalQuantity&quot;)}" 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">