On Nov 16, 2005, at 3:47 AM, zarkrax wrote: > I am new to EDI Messaging, and was wondering if I wanted to send two > invoices in one file, do you do it in this way? > > (This is stripped down example) > > +UNB' > +UNH' > +BGM' > ..... First INVOICE GOES HERE > +UNT' > +UNZ' > +UNB' > +UNH' > +BGM' > ..... Second INVOICE GOES HERE > +UNT' > +UNZ' > > Is this structure correct, I am right in thinking I would only be > able to send one invoice in one interchange?
What you have above are TWO interchanges each containing a single INVOIC. There is nothing wrong of doing so. However, if you want to send the two messages in one single interchange you would structure it this way: +UNB' +UNH' +BGM' ..... First INVOICE GOES HERE +UNT' +UNH' +BGM' ..... Second INVOICE GOES HERE +UNT' +UNZ' Since both messages are of the same type (INVOIC) you could use a functional group, but this is nto mandatory, if so the interchange would be structure this way: +UNB' +UNG' +UNH' +BGM' ..... First INVOICE GOES HERE +UNT' +UNH' +BGM' ..... Second INVOICE GOES HERE +UNT' +UNE' +UNZ' For more detailed information about the EDIFACT syntax check out: http://www.gefeg.com/jswg/ -Klaus ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/OIFolB/TM --------------------------------------------------------------------~-> . Please use the following Message Identifiers as your subject prefix: <SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC> Access the list online at: http://groups.yahoo.com/group/EDI-L Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/EDI-L/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
