cancel
Showing results for 
Search instead for 
Did you mean: 

PI message mapping - header level data will not repeat in line item level

fisher_li
Participant
0 Kudos

Hey, PI/XI mapping guru,

     I mapped a field in PO header level (source occurence 1:1) to a field in PO line item level (result occurence 0:unbound).

     The header data only show once in first line item in the result and it will not repeat in the following line items.

     What should I do in the message mapping, so the data can repeat itself in all line item level (0:unbound)?

     Thank you in advance!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Just search SDN with "UseOneAsMany" function, you will get to know how u need to map

Thanks

Amit Srivastava

fisher_li
Participant
0 Kudos

Thank you, Amit!

I used the node function "UseOneAsMany" as you said.

I put the intended output field from source in the field 1 of the "UseOneAsMany" node and the PO line item number in the field 2 and make sure field 1 and field 2 have the same context value.

Put the PO line item number in the field 3 again but leave the context as its' default value.

point the output of "UseOneAsMany" node to my target field in the result.

Answers (0)