Re: Flat File repeating
- From: wendld <GenieLifts@xxxxxxxxxxxxxx>
- Date: Tue, 16 Jan 2007 14:23:03 -0800
I don't care if I get one output file or two. The data is comming in as 1 XML
Document. The problem is that the way it is grouping on the output makes it
so there is no way to determine which invoices go with which check.
"Leonid Ganeline" wrote:
Please, give more detail..
Is it:
This is what I want:
Company,comp1
Check No,123
Invoice No,Invoice Amt
123,1234
Company,comp2
Check No,456
Invoice No,Invoice Amt
456,5678
789,9876
- the one output message or two?
--
Regards,
Leonid Ganeline
BizTalk Developer,
Microsoft Certified Technology Specialist: BizTalk Server 2006
http://geekswithblogs.net/leonidganeline/
"wendld" <GenieLifts@xxxxxxxxxxxxxx> wrote in message
news:82890BD9-BF5E-4731-9B5E-18B6DA8BCD3D@xxxxxxxxxxxxxxxx
I have a message I am trying to format into a csv file. I have everything
working, but the format is off when I get multiple records. Please see my
examples below and let me know if there is a way to correct this.
Basically
even though the check element repeates in the XML the structure of the
file
does not. The labels are added using string functoids and are not part of
the
XML.
XML looks like:
<RemitInfo>
<Check>
<company>comp1</company>
<checknum>123</checknum>
<Invoice>
<InvoiceNum>123</InvoiceNum>
<InvoiceAmount>1234</InvoiceAmount>
</Invoice>
</Check>
<Check>
<company>comp2</company>
<checknum>456</checknum>
<Invoice>
<InvoiceNum>456</InvoiceNum>
<InvoiceAmount>5678</InvoiceAmount>
</Invoice>
<Invoice>
<InvoiceNum>789</InvoiceNum>
<InvoiceAmount>9876</InvoiceAmount>
</Invoice>
</Check>
</RemitInfo>
This is what I wind up with
Company,comp1
Company,comp2
Check No,123
Check No,456
Invoice No,Invoice Amt
123,1234
456,5678
789,9876
This is what I want:
Company,comp1
Check No,123
Invoice No,Invoice Amt
123,1234
Company,comp2
Check No,456
Invoice No,Invoice Amt
456,5678
789,9876
- Follow-Ups:
- Re: Flat File repeating
- From: Greg Forsythe [MVP]
- Re: Flat File repeating
- References:
- Re: Flat File repeating
- From: Leonid Ganeline
- Re: Flat File repeating
- Prev by Date: Chief Architect for the WebSphere works now in Microsoft
- Next by Date: BizTalk Server 2006 Management Pack for MOM 2005 Licensie
- Previous by thread: Re: Flat File repeating
- Next by thread: Re: Flat File repeating
- Index(es):
Relevant Pages
|
Loading