cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Error

Former Member
0 Kudos

Hello Gurus,

I have a problem with a mapping. The situation is as following:

I have an ORDER interface where the source contains the following nodes:

HEADER

--some fields

--Extra Data

ITEMS

The target contains:

HEADER

ITEMS

Now I want to add the date from the node 'Extra Data' to a field on the target ITEMS. The Extra Data contains 1 to unbounded items. So I determinate the value a I need. But than that value needs to be put in all the Line Items in the target, but only the first one contains the correct value from the source. For all the other lines the field is blank.

Has anyone got an idea?

Best regards,

Guido

Accepted Solutions (1)

Accepted Solutions (1)

prabhu_s2
Active Contributor
0 Kudos

u mean to say that the only the first value for date in 'Extra Data' needs to be mapped? if yes, check with oneasmany function

Answers (1)

Answers (1)

Former Member
0 Kudos

Use OneasMany Node function for your ExtratDate field. First remove all the elements which are empty and put only one value from the ExtractData and use this nodefunction for each item. So the date will be repeated for each and every Item with the same value.

Warm Regards,

vijay