Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

A question about Graphical Mapping

$
0
0

Dear friends,

 

I’ve a question about a graphical mapping in PI…

 

I’ve the below mapping. Based on the values for Quantity and Date_Type, I’ve to create two Items at the source structure. The occurence of Items is 2..2

 

mapping.jpg

 

So based on the value 100 and 200 for Date_type, I’ve to take the matching Quantity from the source and map that to the first and second occurrence of the target. This behavior can repeat itself...

 

result.jpg

 

So in this example I ‘ve to get the following result:

 

            <Register>

                        <Item>

                                   <Items>

                                               <Quantity>0</Quantity>

                                   </Items>

                                   <Items>

                                               <Quantity>1000</Quantity>

                                   </Items>

                        </Item>

            </Register>


            <Register>

                        <Item>

                                   <Items>

                                               <Quantity>100</Quantity>

                                   </Items>

                                   <Items>

                                               <Quantity>300</Quantity>

                                   </Items>

                        </Item>

            </Register>


Kan you please tell me how to achieve this?

 

Your help is greatly appreciated,

 

Kind regards,

 

John


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>