on 05-05-2010 10:39 AM
Hi
I have a mapping field. Source has a field ABC and target has a field XYZ.
If ABC= 006, then A, elseif ABC= 002 or 003 or 004 then M, else if ABC = 005 then D.
I guess we need to use the Boolean function " if then else " I am not able to get it right.
Can someone help me with the mapping
Regards
Use FixedValues function.
Maintain the Name- value pairs as follows
Name-Value
006-A
002-M
003-M
004-M
005-D
Pass input as your ABC field and output as XYZ field.
Regards,
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As Ravi said use fixedvalue function , u can find this function under conversation functions.. drag this to mapping area ,, double click it. give the key and value as ravi mentioned.. choose " USE Key" option as "behaviour if lookup fails".
so mapping will look like
Abc> fixedvalue->xyz
regards,
Balaji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aijith,
Ravi already proposed one ption to achieve your requirement try with that,it is very easy.
other option is writing smal UDF it will work.
if you want UDF code let me know,but first try ravi option.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.