Hi All
Can somebody help me in the below mapping
Source Structure:
ID , Centre has 1.1 occurrence whereas Address has 0.. Unbounded
Organization
ID
Centre
Address1
ID : 002
Street: Street1
Address2
ID: 003
Street2 : Street2
Address8
ID : 008
Street: Street8
Address12
ID: 003
Street2 : Street2
Address11
ID : 002
Street: Street1
Address12
ID: 003
Street2 : Street2
Organization
ID
Centre
Address1
ID : 004
Street: Street4
Address2
ID: 005
Street2 : Street5
Address3
ID: 006
Street2 : Street6
I need to create multiple target Fields "STREET" based on the condition
Condition:
If org==>ID has highest value then consider the corresponding "Centre" and "Address" and create the target "STREET",
if Centre==> Address ==> id = 002 then street 1 ===> Target "STREET"
if Centre==> Address ==> id = 003 then street 2 ===> Target "STREET"
if Centre==> Address ==> id = 004 then street 4 ===> Target "STREET"
if Address==> ID does not exists or no vlaue create empty STREET
Note : If there are multiple ids with same value consider the ADDRESS node whichever comes first
Thank you