cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping: convert multiple tables w/ common key to single one w/ that key?

Former Member
0 Kudos

Hi,

I need to map this message containing customer information in multiple lists, to a single customer list based on the customer key.

Example:

SOURCE:

Root

...ACCOUNTS... 1

........ITEM... 0-unbound

............CUSTID... 1

............NAME ... 0-1

...PHONES ... 1

........ITEM ... 0-unbound

............CUSTID ... 1

............AREACODE ... 0-1

............NUMBER ... 0-1

...EMAILADDRS...

........ITEM ... 0-unbound

............CUSTID ... 1

............EMAIL ... 0-1

TARGET:

Root

...CUSTOMERS ...1

.......ITEM...0-unbound

...........CUSTID ... 1

...........NAME ... 1

...........PHONES...1

................PHONEITEM...0-unbound

....................AREACODE...0-1

....................NUMBER...0-1

...........EMAILS...1

................EMAILITEM...0-unbound

....................EMAILADDR...0-1

Has anyone done this and can tell me how or at least point me in the right direction? I've been checking the forums but have not seen such an example with multiple tables. I saw a simpler one that uses function SplitByValue, but I'm not sure it can be applied here.

Thanks in advance.

Carlos

View Entire Topic
VijayKonam
Active Contributor
0 Kudos

You have to use Remove Contexts for this type of mapping.