[EDI-L Mailing List Archive Home] [Message List] [Reply To This Message]

RE: x12 loops - when they start and what segment they contain

From: "Shan Harter" <shan@...>
Date: Thu Jul 17, 2003  8:17 pm
Subject: RE: [EDI-L] x12 loops - when they start and what segment they contain
You will have to define the X12 type tree of sorts to outline which segments
can loop and then how many. In any case you will need a "master." perhaps
reading an
eds file (foresight or edifacs or your own proprietary).

Then for actual data you will need to simply look for the ("check" in your
code) for the next iteration.
There is no advanced warning in the segments of how many loops that will
occur, so you'll have to do a "count" of them when you
encounter them.

only GS tells how many ST's are in the loop, only ISA tells how many GS's
are in the envelope. SE only tells you how many segments exist including
document (ST-SE).

Shan

-----Original Message-----
From: evhorig [mailto: Sent: Thursday, July 17, 2003 1:05 PM
To: Subject: [EDI-L] x12 loops - when they start and what segment they contain




If any programmers(or anyone else for that matter)have
any ideas for recognizing when X12 'loops' start and
what segments they contain, I'd appreciate the info.

More specifically, I'm working with 837 EDI data.

Thanks,

Troy


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada.
Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.

http://www.c1trackingcom/l.asp?cid=5510
<http://www.c1tracking.com/l.asp?cid=5510>
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/OIFolB/TM
<http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/OIFolB/TM>
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
Message Identifiers: <SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>,
<OFF-TOPIC>
Access the list online at: http://groups.yahoo.com/group/EDI-L
<http://groups.yahoo.com/group/EDI-L>


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
<http://docs.yahoo.com/info/terms/>




[Non-text portions of this message have been removed]




 
EDI to XML Mapping for EDIFACT/X12 Convert EDIFACT/X12 Schemas to XML Schema Legacy Data Conversion Tools Access Relational Data as XML Visual XSLT and XQuery Mapping Tools Simplify EDI Data Integration with Stylus Studio XML Enterprise Suite - Free Download!
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.