Hi,

When I call the service : createPaymentFromPreference

*** Error is :
[ ModelService.java:545:ERROR] [ModelService.validate] : {convertUom} : (IN) 
Required test error: org.ofbiz.service.ServiceValidationException: Type check 
failed for field [convertUom.originalValue]; expected type is [Double]; actual 
type is [java.math.BigDecimal]

The entity "OrderPaymentPreference" contains a field "maxAmount" with type 
BigDecimal
I put a BigDecimal in : paymentPreference.set("maxAmount", new 
BigDecimal(string));

I don't know where does error come from !!  


Eric 

Reply via email to