on 02-12-2010 1:07 PM
Hello Experts,
I need to do some mapping changes in XI.
Source
P1
-
Child1 ---1...unbounded
--- Child2
P2
...child1
...child2
... child3
I need to map the data of every first child of every parent....how should i do.....
Thanks
Vishal
Hi,
P1
----Child1 ---1...unbounded
--- Child2
P2
...child1
...child2
... child3
U need a small UDF here...
Child1>UDF>Target Node.
UDF will be,
all values of context.
Input: child1,result,container
output: void
-
result.addValue(child1[0]) // only 1 line of code.
-
I hope this will solve ur prblm... If still any prblm,pl post the prblm in detail
Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello ,
Let me explain in detail.
All child segments are multiple ship-to addresses ...I need to map all the addresses to target
I need to mark first address ( child1 of every parent ) as standard address in target field.
I have created the UDF to decide first child....but i guess counter is intialised for each mapping.
for (int i =1;i<=city.length;i++)
{
result.addValue("COUNTER=" + i );
}
Thanks,
Vishal
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.