on 06-01-2012 12:09 AM
Hi,
I need some direction on how to properly implement this mapping.
I have a mapping source with header node and several children nodes and a target with a similar layout. I need to populate an element in the target header with the a value from an element in only the first source child.
In this case each line item in the source may be populated with a different business unit and I need to map the business unit from only the first line item from the source to the business unit in the target header.
regards
Julian
Hi Julian,
you try this mapping
source element ---->removecontext (set context to point to source xml header node)--->copyvalue[0]------>target element
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Copy value standard function works in your case, try below mapping .
input--copyvalue(0)------------->
child note segment---->useoneAsMany---->Splitbyvalue(eachvalue)------>Traget field
child note segment----->
If you have any difficulties paste your source structure.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.