on 09-16-2009 7:12 PM
Hi All,
i want to convert Kilograms to Pounds, Cubic centimeters to Cubic Feet, Milli meters to Inches,
Please help me on this how can we do thin in Mapping
Regards
Hi Vamsi,
You can use fix values in mappping.
Or
You can use value mapping. See this blog on this:
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi vamsi,
we can write UDF and convert the units to be mapped to target field. since these are all standards and not tend to change just like currency . UDF can help you out.
Thanks,
Ram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to convert values from one unit to another, write three UDFs, one for each conversion.
Kilograms to Pounds,
Cubic centimeters to Cubic Feet,
Milli meters to Inches
and if you want to just convert the fields date from word "Kilograms" to "Pounds" and so on, then go for fixed value mapping or the value mapping.
Pooja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vamsi,
Actually these are simple conversions, and you can achieve them with the standard Arithmetic functions in the message mapping.
e.g to convert kg to pount you can use the MULTIPLY function and multiple the KG field with 2.20462262 to convert it into pound.
1 kilogram = 2.20462262 pounds
INPUT(in KG).....
multiply.........TARGET(pount)
Constant(2.20462262 )
For rest, I think you can easily google and find out the conversion rule. Its just simple multiplication and divison functions.
Pooja
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.