Skip to Content
A S

to Use first occurrence of ItemLocation only in Target - Advice please

Hi,

I am stuck in 1 place in message mapping. I have to Use only the first occurrence of ItemLocation only as detailed below.

Oh I am on PI 7.1.1

My Target structure is a flat structure.

My current mapping attempt is below-

The If condition gives me the correct match with Item Header and Item Location.

The above ID gives me all the 3 occurrences of 3 values from the source side.

Tried multiple mappings (collapse / remove and misc) but nothing is giving me the correct result.

Here copy value 0 always gives me the first itemLocation -> ItemID -> ID

For 1st Header Record, it is ok

But that is not ok for 2nd Header Record.

I have been through the forum but not finding anything that is helping…

Please advice. I am stuck.

Regards,

Archana

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 02, 2015 at 03:06 PM

    Hi Archana,

    Can you please show mw your target structure once..

    Thanks,

    Sreenivas

    Add comment
    10|10000 characters needed characters exceeded