Re: Functoid

#16856

Hi,
Thank you for your help.
I tried Cumulative Concatenate Functoid. I am getting wrong out put. Look at my schema

|-Detail
  |-Detail01
    |-POId
    |-PatnerId   
  |-Detail02
    |-Msg

Detail can occure o – 100 times. Detail02 can occure 0- 50 times for each Detail01.
Let Say my input schema is:

<Detail>
   <Detail01>
       <POId> 552233 </POId>
       <PartnerId> IBM_Lenovo </PartnerId>
   <Detail02>
       <Msg> PC – Dul Core</Msg>
   </Detail02>
   <Detail02>
       <Msg> 250GB Hardrive, 2G Mem </Msg>
   </Detail02>
   </Detail01>
   <Detail01>
       <POId> 552235 </POId>
       <PartnerId> CISCO </PartnerId>
   <Detail02>
       <Msg> Network Card</Msg>
   </Detail02>
   <Detail02>
       <Msg> Via Purelator Please</Msg>
   </Detail02>
   </Detail01>
 </Detail>

I want to concatenate each MSG for their POIds. If I use Cumulative Concatenate Functoid, I am getting the out put :
" PC – Dul Core 250GB Hardrive, 2G Mem Network Card Via Purelator Please"

I want the out put : "PC – Dul Core 250GB Hardrive" and "2G Mem Network Card Via Purelator Please". So I can store those msg in the table related to their POId.

Any help?

Siva