xml to edi 810

Can anyone tell me if it is possible to map directly from an xml document that contains many invoices to a standard x12_4010_810 document without having to debatch the xml document.

My xml document has the following structure

<Invoices>

<Invoice>

...

</Invoice>

<Invoice>

...

</Invoice>

<Invoice>

...

</Invoice>

</Invoices>

I would like for this xml structure to translate directly to my 810 having many invoices in the same transaction set.

[1500 byte] By [Itsmeuda] at [2008-1-7]
# 1

When you state "many invoices in the same transaction set" do you really mean the same INTERCHANGE ? If indeed all the invoices are going to the same trading partner and you do want a single 810 then, yes each "invoice" could be placed in a separate IT1 loop.

If however, you really mean interchange and all the invoices in your input file are for the same company, if not then the anser is certainly - NO. Even if they are, although it may be possible to acheive this, it will not be easy and you will lose all the built in functionality for tracking etc. Given that debatching is trivial and the supplied EDI batching orchestrations can reassemble the individual transaction sets in the appropriate interchanges, I would certainley recommend doing that.

regards Richard

Richard at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk EDI and AS2...