|
Home > Archive > BizTalk Server Administration > February 2004 > Looping Issue-Very Urgent!!!
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Looping Issue-Very Urgent!!!
|
|
| Rohith cr 2004-02-08, 8:40 am |
| ADVERTISEMENT
Hi Folks,
I have a problem with Looping functonality...i tried all BizTalk
functoids..know my approach on script functoid
I am solved some what still i am not success in my destination!!
It is very Urgent for my client...Here it is:
My Output files Looks Like this:
<Body QID="Q111" PON="SDF90" ......>
<Item Num="33" Des="sgsg">
<Item Num="34" Des="fsd">
<Item Num="355" Des="dgsd">
<Item Num="300" Des="fdsfdf">
<Item Num="398" Des="fdf">
<ItemTotal Total="5">
</Body>
<Body QID="Q222" PON="SDF90" ......>
<Item Num="333" Des="srrrgsg">
<Item Num="346" Des="fsd">
<Item Num="3565" Des="hhhdgsd">
<Item Num="3060" Des="fdnnsfdf">
<Item Num="3968" Des="fddrrf">
<ItemTotal Total="5">
</Body>
.......
My Source File:
<ElementType name="Transactional" content="eltOnly" model="closed"
order="seq">
<b:RecordInfo />
<element type="QUOTE_ID" minOccurs="0" maxOccurs="1" />
<element type="QUOTE_TOTAL_LIST_PRICE" minOccurs="0"
maxOccurs="1" />
<element type="PO_NUMBER" minOccurs="0" maxOccurs="1" />
<element type="PO_DATE" minOccurs="0" maxOccurs="1" />
<element type="PO_DESCRIPTION" minOccurs="0" maxOccurs="1" />
<element type="QUOTE_START_DATE" minOccurs="0" maxOccurs="1" />
<element type="QUOTE_REFERENCE_NUMBER" minOccurs="0"
maxOccurs="1" />
<element type="QUOTE_END_DATE" minOccurs="0" maxOccurs="1" />
<element type="QUOTE_TOTAL_DISCOUNTS" minOccurs="0"
maxOccurs="1" />
<element type="QUOTE_DESCRIPTION" minOccurs="0" maxOccurs="1" />
<element type="QUOTE_HEADER_DISCOUNT" minOccurs="0"
maxOccurs="1" />
<element type="ITEM_LINE_NUMBER" minOccurs="0" maxOccurs="1" />
<element type="ITEM_NO_OF_MONTHS" minOccurs="0" maxOccurs="1" />
<element type="ITEM_QTY" minOccurs="0" maxOccurs="1" />
<element type="ITEM_START_DATE" minOccurs="0" maxOccurs="1" />
<element type="ITEM_END_DATE" minOccurs="0" maxOccurs="1" />
<element type="ITEM_DISCOUNT" minOccurs="0" maxOccurs="1" />
<element type="ITEM_UNIT_PRICE" minOccurs="0" maxOccurs="1" />
</ElementType>
I Tried all Looping/Iteration...functoids....
Not success in Multiple <body><line items>
Any Idea How to do...any script would would be gr8....
Thanks
R-
Sent via http://www.biztalkug.com
everything about BizTalk Server
| |
| Jan Eliasen 2004-02-08, 8:40 am |
| On Mon, 29 Dec 2003 08:00:30 -0500, Rohith cr <cr_rohith@yahoo.com>
wrote:
First of all, which version of BizTalk are you using?
Secondly, I see no connection between your input and your output. If
we are to help you, please give us an example of the input along with
how the output for that input is supposed to be. Thanks.
>
>
>Hi Folks,
>
>I have a problem with Looping functonality...i tried all BizTalk
>functoids..know my approach on script functoid
>
>I am solved some what still i am not success in my destination!!
>
>It is very Urgent for my client...Here it is:
>
>My Output files Looks Like this:
>
><Body QID="Q111" PON="SDF90" ......>
><Item Num="33" Des="sgsg">
><Item Num="34" Des="fsd">
><Item Num="355" Des="dgsd">
><Item Num="300" Des="fdsfdf">
><Item Num="398" Des="fdf">
><ItemTotal Total="5">
></Body>
><Body QID="Q222" PON="SDF90" ......>
><Item Num="333" Des="srrrgsg">
><Item Num="346" Des="fsd">
><Item Num="3565" Des="hhhdgsd">
><Item Num="3060" Des="fdnnsfdf">
><Item Num="3968" Des="fddrrf">
><ItemTotal Total="5">
></Body>
>......
>
>My Source File:
>
><ElementType name="Transactional" content="eltOnly" model="closed"
>order="seq">
><b:RecordInfo />
><element type="QUOTE_ID" minOccurs="0" maxOccurs="1" />
><element type="QUOTE_TOTAL_LIST_PRICE" minOccurs="0"
>maxOccurs="1" />
><element type="PO_NUMBER" minOccurs="0" maxOccurs="1" />
><element type="PO_DATE" minOccurs="0" maxOccurs="1" />
><element type="PO_DESCRIPTION" minOccurs="0" maxOccurs="1" />
><element type="QUOTE_START_DATE" minOccurs="0" maxOccurs="1" />
><element type="QUOTE_REFERENCE_NUMBER" minOccurs="0"
>maxOccurs="1" />
><element type="QUOTE_END_DATE" minOccurs="0" maxOccurs="1" />
><element type="QUOTE_TOTAL_DISCOUNTS" minOccurs="0"
>maxOccurs="1" />
><element type="QUOTE_DESCRIPTION" minOccurs="0" maxOccurs="1" />
><element type="QUOTE_HEADER_DISCOUNT" minOccurs="0"
>maxOccurs="1" />
><element type="ITEM_LINE_NUMBER" minOccurs="0" maxOccurs="1" />
><element type="ITEM_NO_OF_MONTHS" minOccurs="0" maxOccurs="1" />
><element type="ITEM_QTY" minOccurs="0" maxOccurs="1" />
><element type="ITEM_START_DATE" minOccurs="0" maxOccurs="1" />
><element type="ITEM_END_DATE" minOccurs="0" maxOccurs="1" />
><element type="ITEM_DISCOUNT" minOccurs="0" maxOccurs="1" />
><element type="ITEM_UNIT_PRICE" minOccurs="0" maxOccurs="1" />
></ElementType>
>
>I Tried all Looping/Iteration...functoids....
>
>Not success in Multiple <body><line items>
>
>Any Idea How to do...any script would would be gr8....
>
>Thanks
>R-
>
>
>Sent via http://www.biztalkug.com
>everything about BizTalk Server
--
Jan Eliasen, representing himself and not the company he works for
| |
| Rohith cr 2004-02-08, 8:40 am |
| My Output files Looks Like this:
<Body QID="Q111" PON="SDF90" ......>
<Item Num="33" Des="sgsg">
<Item Num="34" Des="fsd">
<Item Num="355" Des="dgsd">
<Item Num="300" Des="fdsfdf">
<Item Num="398" Des="fdf">
<ItemTotal Total="5">
</Body>
<Body QID="Q222" PON="SDF90" ......>
<Item Num="333" Des="srrrgsg">
<Item Num="346" Des="fsd">
<Item Num="3565" Des="hhhdgsd">
<Item Num="3060" Des="fdnnsfdf">
<Item Num="3968" Des="fddrrf">
<ItemTotal Total="5">
</Body>
.......
My Source File:
<ElementType name="Transactional" content="eltOnly" model="closed"
order="seq">
<b:RecordInfo />
<element type="QUOTE_ID" minOccurs="0" maxOccurs="1" />
<element type="QUOTE_TOTAL_LIST_PRICE" minOccurs="0"
maxOccurs="1" />
<element type="PO_NUMBER" minOccurs="0" maxOccurs="1" />
<element type="PO_DATE" minOccurs="0" maxOccurs="1" />
<element type="PO_DESCRIPTION" minOccurs="0" maxOccurs="1" />
<element type="QUOTE_START_DATE" minOccurs="0" maxOccurs="1" />
<element type="QUOTE_REFERENCE_NUMBER" minOccurs="0"
maxOccurs="1" />
<element type="QUOTE_END_DATE" minOccurs="0" maxOccurs="1" />
<element type="QUOTE_TOTAL_DISCOUNTS" minOccurs="0"
maxOccurs="1" />
<element type="QUOTE_DESCRIPTION" minOccurs="0" maxOccurs="1" />
<element type="QUOTE_HEADER_DISCOUNT" minOccurs="0"
maxOccurs="1" />
<element type="ITEM_LINE_NUMBER" minOccurs="0" maxOccurs="1" />
<element type="ITEM_NO_OF_MONTHS" minOccurs="0" maxOccurs="1" />
<element type="ITEM_QTY" minOccurs="0" maxOccurs="1" />
<element type="ITEM_START_DATE" minOccurs="0" maxOccurs="1" />
<element type="ITEM_END_DATE" minOccurs="0" maxOccurs="1" />
<element type="ITEM_DISCOUNT" minOccurs="0" maxOccurs="1" />
<element type="ITEM_UNIT_PRICE" minOccurs="0" maxOccurs="1" />
</ElementType>
I Tried all Looping/Iteration...functoids....
Not success in Multiple <body><line items>
Any Idea How to do...any script would would be gr8....
Thanks
R-
Sent via http://www.biztalkug.com
everything about BizTalk Server
| |
| Jan Eliasen 2004-02-08, 8:40 am |
| On Tue, 30 Dec 2003 12:00:36 -0500, Rohith cr <cr_rohith@yahoo.com>
wrote:
I am sorry, but I am still not seeing the connection. I need a
specification of where the "33" in the output comes from - I can not
find it in the input. Also, it seems that what you have written here
as your input is a documentspecification and not an example input,
whereas the output is an example and not a specification... or is this
on purpose? If you have the BizTalk documentspecifications for the
input and output, please post them. That would help a lot. And a
better description of the mapping you would like done would also be
helpfull.
>My Output files Looks Like this:
>
><Body QID="Q111" PON="SDF90" ......>
><Item Num="33" Des="sgsg">
><Item Num="34" Des="fsd">
><Item Num="355" Des="dgsd">
><Item Num="300" Des="fdsfdf">
><Item Num="398" Des="fdf">
><ItemTotal Total="5">
></Body>
><Body QID="Q222" PON="SDF90" ......>
><Item Num="333" Des="srrrgsg">
><Item Num="346" Des="fsd">
><Item Num="3565" Des="hhhdgsd">
><Item Num="3060" Des="fdnnsfdf">
><Item Num="3968" Des="fddrrf">
><ItemTotal Total="5">
></Body>
>......
>
>My Source File:
>
><ElementType name="Transactional" content="eltOnly" model="closed"
>order="seq">
><b:RecordInfo />
><element type="QUOTE_ID" minOccurs="0" maxOccurs="1" />
><element type="QUOTE_TOTAL_LIST_PRICE" minOccurs="0"
>maxOccurs="1" />
><element type="PO_NUMBER" minOccurs="0" maxOccurs="1" />
><element type="PO_DATE" minOccurs="0" maxOccurs="1" />
><element type="PO_DESCRIPTION" minOccurs="0" maxOccurs="1" />
><element type="QUOTE_START_DATE" minOccurs="0" maxOccurs="1" />
><element type="QUOTE_REFERENCE_NUMBER" minOccurs="0"
>maxOccurs="1" />
><element type="QUOTE_END_DATE" minOccurs="0" maxOccurs="1" />
><element type="QUOTE_TOTAL_DISCOUNTS" minOccurs="0"
>maxOccurs="1" />
><element type="QUOTE_DESCRIPTION" minOccurs="0" maxOccurs="1" />
><element type="QUOTE_HEADER_DISCOUNT" minOccurs="0"
>maxOccurs="1" />
><element type="ITEM_LINE_NUMBER" minOccurs="0" maxOccurs="1" />
><element type="ITEM_NO_OF_MONTHS" minOccurs="0" maxOccurs="1" />
><element type="ITEM_QTY" minOccurs="0" maxOccurs="1" />
><element type="ITEM_START_DATE" minOccurs="0" maxOccurs="1" />
><element type="ITEM_END_DATE" minOccurs="0" maxOccurs="1" />
><element type="ITEM_DISCOUNT" minOccurs="0" maxOccurs="1" />
><element type="ITEM_UNIT_PRICE" minOccurs="0" maxOccurs="1" />
></ElementType>
>
>I Tried all Looping/Iteration...functoids....
>
>Not success in Multiple <body><line items>
>
>Any Idea How to do...any script would would be gr8....
>
>Thanks
>R-
>
>
>Sent via http://www.biztalkug.com
>everything about BizTalk Server
--
Jan Eliasen, representing himself and not the company he works for
|
|
|
|
|