Re: Dev - UoM Conversion Enhancement
Posted by
Jacopo Cappellato on
URL: http://ofbiz.116.s1.nabble.com/Dev-UoM-Conversion-Enhancement-tp167105p167112.html
Carl, Adrian, Si, others,
I'd suggest to have a look at the CustomMethod and CustomMethodType
entities (defined in the framework/common component). You could add a
"customMethodId" field to the UomConversion entity.
Then in the CustomMethod entity we simply map the logical name
(customMethodId) to the service name that implements the conversion
(customMethodName).
This pattern is already used to implement the manufacturing formulae for
bom and route calculations.
Jacopo
Adrian Crum wrote:
> Si,
>
> That's similar to the approach I was suggesting. I added an additional layer
> though. Your suggestion would be simpler and easier to implement.
>
> Carl,
>
> We have to convert LF to BF just like you. My suggestion was intended to
> accomodate additional UOM conversions down the road.
>
>
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev