Click here to Skip to main content
15,880,796 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a flat file with around 90 lines of input data. the inpu xsd file created has elements like appid, forename,dob,surname, ENAME etc. So my flatfile would look like as below.
1 abc 10/11/2007 xyz
1 qbc 10/11/2007 xyz, HP
1 dbc 10/11/2007 xyz
2 hbc 10/11/2007 xyz
3 afc 10/11/2007 xyz
4 gbc 10/11/2007 xyz
4 wbc 10/11/2007 xyz

here the there are around 3 lines having same authid, so these 3 records need to be dispalyed as a single record in the single output xml generated.the output xml looks as below.

OUTPUT XML FILE
HTML
<BATCH>
<HEADER>
<COUNT>1<COUNT>
</HEADER>
<CUSTOMERS>
<CUSTOMER>
<AUTHID>1</AUTHID>
<FORENAME>ABC</FORENAME>
<DOB>10/11/2007</DOB>
<LASTNAME>XYZ<LASTNAME>
<CUST_EMP>
<ENAME>HP</ENAME>
</CUST_EMP>
</CUSTOMER>
</CUSTOMERS>
</BATCH>


SO as shown under CUSTOMER i need to get all details displayed related to authid 1. so it is like theer is main customer who has employment details,address details,joint customer details etc which all will be linked based on the authid.CUSTOMER RECORD NEED TO BE GENERATED FOR EVERY AUTHID, SO IN THIS THEER WILL BE 4 CUSTOMER RECORDS.

Note: the employement/address details etc need to be checked and mapped to destination schema in map files using a Type field in the source schema.

So how to achieve this in biztalk server 2004? Can anyone please help/suggest on this issue.
Posted
Updated 16-May-12 8:38am
v2

1 solution

1) create a flatfile schema
2) Create a flatfile pipeline

Follow the link for to know exaclty what are the properties to set

http://msdn.microsoft.com/en-us/library/aa578441.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900