|
Home > Archive > BizTalk Server Applications Integration > February 2004 > URGENT: How to Map a 0-* Loop seqment to a 1-* loop seqment
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 |
URGENT: How to Map a 0-* Loop seqment to a 1-* loop seqment
|
|
| Ramesh Jayapal 2004-02-09, 1:36 pm |
| Hello,
Could I get help for the following mapping?.
My requirement is : my inbound document have a loop segment (<details> ) and
its cardinality is 0-* but my outbound segment (<details> ) cardinality is
1 - * and the outbound segment must contain 3 <details> element. Please
refer the following ex. to get more information of my requirement.
Here the document contents flow :
Inbound doc:
<inbound>
<details>
<reference>Quote No</reference>
<value>10000</value>
</details>
<details>
<reference>Purchase Order No</reference>
<value>20000</value>
</details>
<details>
<reference>Sales Order No</reference>
<value>30000</value>
</details>
</inbound>
Note: Cardinality of details is 0-*
Outbound doc:
<inbound>
<details>
<value>10000</value>
<value>20000</value>
<value>30000</value>
</details>
</inbound>
Note: Cardinality of details is 1-*
Looks simple right?
Quote No should map to element 1 (10000) if not exists map to *.
Purchase No should map to element 2 (20000) if not exists map to *.
Sales Order No should map to element 3 (3000) if not exists map to *.
If my inbound document is follow, how to get the following outbound doc?
Inbound doc:
<inbound>
<details>
<reference>SO</reference>
<value>20000</value>
</details>
</inbound>
Outbound doc:
<outbound>
<details>
<value>*</value>
<value>20000</value>
<value>*</value>
</details>
</outbound>
Appreciate if you guide me how to accomplish this case. Let me know if you
need more details.
Thanks & Regards,
Ramesh.
| |
| R.Balaji 2004-02-09, 9:35 pm |
| Hi,
It looks it is possible.
Can you send me the source,destination schema with your current map file.
Let me try it in my system.
Regards,
R.Balaji
"Ramesh Jayapal" <ramprosoft@hotmail.com> wrote in message
news:eqnCXz37DHA.2572@TK2MSFTNGP09.phx.gbl...
> Hello,
>
> Could I get help for the following mapping?.
>
> My requirement is : my inbound document have a loop segment (<details> )
and
> its cardinality is 0-* but my outbound segment (<details> ) cardinality is
> 1 - * and the outbound segment must contain 3 <details> element. Please
> refer the following ex. to get more information of my requirement.
>
> Here the document contents flow :
>
> Inbound doc:
>
> <inbound>
> <details>
> <reference>Quote No</reference>
> <value>10000</value>
> </details>
> <details>
> <reference>Purchase Order No</reference>
> <value>20000</value>
> </details>
> <details>
> <reference>Sales Order No</reference>
> <value>30000</value>
> </details>
> </inbound>
>
> Note: Cardinality of details is 0-*
>
> Outbound doc:
> <inbound>
> <details>
> <value>10000</value>
> <value>20000</value>
> <value>30000</value>
> </details>
> </inbound>
>
> Note: Cardinality of details is 1-*
>
> Looks simple right?
>
> Quote No should map to element 1 (10000) if not exists map to *.
> Purchase No should map to element 2 (20000) if not exists map to *.
> Sales Order No should map to element 3 (3000) if not exists map to *.
>
> If my inbound document is follow, how to get the following outbound doc?
>
> Inbound doc:
> <inbound>
> <details>
> <reference>SO</reference>
> <value>20000</value>
> </details>
> </inbound>
>
> Outbound doc:
> <outbound>
> <details>
> <value>*</value>
> <value>20000</value>
> <value>*</value>
> </details>
> </outbound>
>
> Appreciate if you guide me how to accomplish this case. Let me know if you
> need more details.
>
> Thanks & Regards,
>
> Ramesh.
>
>
>
| |
| Jan Eliasen 2004-02-09, 10:36 pm |
| On Tue, 10 Feb 2004 10:23:35 +0800, "Ramesh Jayapal"
<ramprosoft@hotmail.com> wrote:
Posting it once wasn't enough?
Anyway, I don't see any way to do this. I have played with it, and
haven't found any way to do it. Sorry.
>Hello,
>
>Could I get help for the following mapping?.
>
>My requirement is : my inbound document have a loop segment (<details> ) and
>its cardinality is 0-* but my outbound segment (<details> ) cardinality is
>1 - * and the outbound segment must contain 3 <details> element. Please
>refer the following ex. to get more information of my requirement.
>
>Here the document contents flow :
>
> Inbound doc:
>
> <inbound>
> <details>
> <reference>Quote No</reference>
> <value>10000</value>
> </details>
> <details>
> <reference>Purchase Order No</reference>
> <value>20000</value>
> </details>
> <details>
> <reference>Sales Order No</reference>
> <value>30000</value>
> </details>
> </inbound>
>
>Note: Cardinality of details is 0-*
>
>Outbound doc:
> <inbound>
> <details>
> <value>10000</value>
> <value>20000</value>
> <value>30000</value>
> </details>
> </inbound>
>
>Note: Cardinality of details is 1-*
>
>Looks simple right?
>
>Quote No should map to element 1 (10000) if not exists map to *.
>Purchase No should map to element 2 (20000) if not exists map to *.
>Sales Order No should map to element 3 (3000) if not exists map to *.
>
>If my inbound document is follow, how to get the following outbound doc?
>
>Inbound doc:
> <inbound>
> <details>
> <reference>SO</reference>
> <value>20000</value>
> </details>
> </inbound>
>
> Outbound doc:
> <outbound>
> <details>
> <value>*</value>
> <value>20000</value>
> <value>*</value>
> </details>
> </outbound>
>
>Appreciate if you guide me how to accomplish this case. Let me know if you
>need more details.
>
>Thanks & Regards,
>
>Ramesh.
>
>
--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server
|
|
|
|
|