on 04-14-2010 7:31 AM
Hi All;
I want to do following mapping basically but I dont know which context function I should use.
it maybe the opposite of "useOneAsMany" or something else.
<order>
<documentNo>123456</documentNo>
<documentLine>10<documentLine>
</order>
To
<FieldList>
<field name="documentNo">123456</field>
<field name="documentLine">10</field>
</FieldList>
In your target structure, use function "dublicate subtree" an the node fiield.
Assign documentNo to the first, documentLine to the second
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Stefan ;
I will give you ten-points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If u have only 2 of therecords,
<order>
<documentNo>123456</documentNo>
<documentLine>10<documentLine>
</order>
To
<FieldList>
<field name="documentNo">123456</field>
<field name="documentLine">10</field>
</FieldList>
Thtz fine, u can hard code the value and concatenate with the strings...
But say if u have lot many fields for every field u cannot map like that...
Duplicating the target is fine..... but if have dyanamic number of records in source vt then???
U need a small UDF to do so...
If u face any prblm in writing UDF let us know..
Babu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.