Skip to Content
0
Former Member
May 15, 2007 at 06:54 AM

Sender file adapter - content conversion problem

12 Views

Hi there

Facing a unique problem here -

I have a csv file that has the structure -

Header

Item (could be multiples)

Component (could be multiples)

Trailer

Header

Item (could be multiples)

Component (could be multiples)

Trailer

Header

Item (could be multiples)

Component (could be multiples)

Trailer

Control (This is the last record)

As you see there are multiple Header records and for each header there can be many item records and for each item record there could be many component records. For each header record there is also one trailer record.

At the end of the file there is also a control record.

I would like to convert it to something like this using "file content conversion" -

<Invoices>

<Invoice>

<header>

<item>

<component>

<trailer>

</Invoice>

<Invoice>

<header>

<item>

<component>

<component>

<trailer>

</Invoice>

etc

and then

<Control>

</Control>

</Invoice>

Is this possible using the "File Content Conversion"

Thanks a lot

Salil

I would like