Hi adrian,
There is a risk to change " by ' when we change bsh by groovy
engine on flexible string ?
When I convert old customer specific code as you did, I replace also the
string " .
productMaintValue.getBigDecimal('intervalQuantity') is really more readable than
productMaintValue.getBigDecimal("intervalQuantity")
Just to be sure that I didn't to take a wrong way.
Cheers,
Nicolas
Le 05/04/2013 00:01, [email protected] a écrit :
- <set field="nextIntervalQty"
value="${bsh:maxIntervalQty.add(productMaintValue.getBigDecimal("intervalQuantity"));}"
type="BigDecimal"/>
+ <set field="nextIntervalQty"
value="${groovy:maxIntervalQty.add(productMaintValue.getBigDecimal("intervalQuantity"));}"
type="BigDecimal"/>
--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/