The only addition would be a note that a default was used if there were
dated but they did not match.

Jacopo Cappellato sent the following on 9/24/2008 9:11 AM:
> "convertUom" service, given a uomId (from) and a uomIdTo and an amount,
> tries to convert the amount from uomId to uomIdTo.
> In order to do this it searches for the conversion factor by looking in
> the following entities:
> 
> 1) UomConversion, if no record is found then
> 2) UomConversionDated
> 
> It seems to me that it would be better to reaserch the values in the
> following order:
> 
> 1) UomConversionDated, if no record is found then
> 2) UomConversion
> 
> The dated version should be more specific, if none is found then the
> no-dated version is searched
> 
> What do you think?
> 
> Jacopo
> 

Reply via email to