Hello,

Here is the sequence I have to work with.

ISA~00~
GS~
ST~
BEG~
REF~
TD5~
MSG~
N1~
N3~
N4~
PER~
N1~
N3~
N4~
PO1~
PID~
DTM~
DTM~
SE~


Stephen

From: Doug Anderson [mailto:[email protected]]
Sent: Tuesday, May 29, 2012 3:12 PM
To: 'Brian Lehrhoff'; Stephen Martin; edi-l
Subject: RE: [EDI-L] Valid Sequence

Well... if the MSG is buried in the N9 loop, the sequence is not valid unless 
there is an N9 segment also included in the sequence.  The first segment of a 
loop is mandatory if any segments within the loop are used.  So, if Stephen is 
talking about the header (Table 1), no that is not valid.  Also note that there 
is a TD5 in position 390 as well as position 240 of the header.

That said, there is a TD5 within the PO1 loop in position 250 of Table 2..  
Following the TD5 in the same looping structure is an MSG segment in position 
289.  Following the MSG there is a N1 loop in position 350, also within the PO1 
loop.  So, TD5 - MSG - N1 is valid in Table 2 under these circumstances.  
Another TD5 appears in position 430 in Table 2.

Which of course leaves a question that only Stephen can answer, where is the 
TD5 - MSG - N1 appearing in the data stream.  It would be helpful if Stephen 
provided a complete ordered segment listing since the TD5 appears in so many 
places in the 850 transaction set.

Thanks

Doug

Doug Anderson
Chair ANSI ASC X12 Transportation Subcommittee
Vice President Sales Support
Kleinschmidt Inc.
847-405-7457 (Office direct)
847-826-3531 (cell)
www.kleinschmidt.com<http://www.kleinschmidt.com/>
www.facebook.com/kleinschmidtinc<http://www.facebook.com/kleinschmidtinc>

-----Original Message-----
From: Brian Lehrhoff [mailto:[email protected]]
Sent: Tuesday, May 29, 2012 1:27 PM
To: Stephen Martin; Brian Lehrhoff; edi-l
Subject: Re: [EDI-L] Valid Sequence


according to the X12 spec, that's a valid document.  the MSG is buried in the 
N9 loop, but it sits

right between the TD5 and N1 in the header.  i'd check your maps and see if the 
mapper deleted
the unused segments (as they usually do) and now this is a used segment.  
should be easy to repair the
map and put it back.


Brian Lehrhoff, EA ([email protected]<mailto:blehrhof%40cybernex.net>)
Messaging Consultant 201-913-4506
Upgrade your Quickbooks for 20% off at http://ea.brianlehrhoff.com
Circular 230 Notice is located at http://ea.brianlehrhoff.com/230notice.html

________________________________
From: Stephen Martin <[email protected]<mailto:Stephen.Martin%40gfi.com>>
To: Brian Lehrhoff <[email protected]<mailto:blehrhof%40cybernex.net>>; 
edi-l <[email protected]<mailto:edi-l%40yahoogroups.com>>
Sent: Tuesday, May 29, 2012 1:48 PM
Subject: RE: [EDI-L] Valid Sequence

-          what version?

ANSI X12 850 4010

Stephen

From: [email protected]<mailto:EDI-L%40yahoogroups.com> 
[mailto:[email protected]<mailto:EDI-L%40yahoogroups.com>] On Behalf Of 
Brian Lehrhoff
Sent: Tuesday, May 29, 2012 1:43 PM
To: Stephen Martin; edi-l
Subject: Re: [EDI-L] Valid Sequence

what version?

Brian Lehrhoff, EA 
([email protected]<mailto:blehrhof%40cybernex.net><mailto:blehrhof%40cybernex.net>)
Messaging Consultant 201-913-4506
Upgrade your Quickbooks for 20% off at http://ea.brianlehrhoff.com
Circular 230 Notice is located at http://ea.brianlehrhoff.com/230notice.html

________________________________
From: Stephen Martin 
<[email protected]<mailto:Stephen.Martin%40gfi.com><mailto:Stephen.Martin%40gfi.com>>
To: "EDI-L@yahoogroups. com 
([email protected]<mailto:EDI-L%40yahoogroups.com><mailto:EDI-L%40yahoogroups.com>)"
 
<[email protected]<mailto:EDI-L%40yahoogroups.com><mailto:EDI-L%40yahoogroups.com>>
Sent: Thursday, May 24, 2012 3:58 PM
Subject: [EDI-L] Valid Sequence

Hello,

I have an EDI PO 850 sequence in this order:

...
TD5
MSG
N1
...

But I am receiving an out of sequence error.

On removing the MSG segment ( adjusting segment count etc.. ) the message goes 
through.

Where in the segment order would a MSG segment usually be placed?

Thanks

Stephen

DISCLAIMER The information contained in this electronic mail may be 
confidential or legally privileged. It is for the intended recipient(s) only. 
Should you receive this message in error, please notify the sender by replying 
to this mail. Please do not read, copy, forward or store this message unless 
you are an intended recipient of it - unauthorized use of contents is strictly 
prohibited. Unless expressly stated, opinions in this message are those of the 
individual sender and not of GFI. While all care has been taken, GFI is not 
responsible for the integrity or the contents of this electronic mail and any 
attachments included within. (GFI2012)

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

------------------------------------

...
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS> IS 
REQUIRED in the subject line as a prefix.Yahoo! Groups Links

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

DISCLAIMER The information contained in this electronic mail may be 
confidential or legally privileged. It is for the intended recipient(s) only. 
Should you receive this message in error, please notify the sender by replying 
to this mail. Please do not read, copy, forward or store this message unless 
you are an intended recipient of it - unauthorized use of contents is strictly 
prohibited. Unless expressly stated, opinions in this message are those of the 
individual sender and not of GFI. While all care has been taken, GFI is not 
responsible for the integrity or the contents of this electronic mail and any 
attachments included within. (GFI2012)

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

------------------------------------

...
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS> IS 
REQUIRED in the subject line as a prefix.Yahoo! Groups Links

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





DISCLAIMER The information contained in this electronic mail may be 
confidential or legally privileged. It is for the intended recipient(s) only. 
Should you receive this message in error, please notify the sender by replying 
to this mail. Please do not read, copy, forward or store this message unless 
you are an intended recipient of it - unauthorized use of contents is strictly 
prohibited. Unless expressly stated, opinions in this message are those of the 
individual sender and not of GFI. While all care has been taken, GFI is not 
responsible for the integrity or the contents of this electronic mail and any 
attachments included within. (GFI2012)


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



------------------------------------

...
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>

Job postings are welcome, but for job postings or requests for work: <JOBS> IS 
REQUIRED in the subject line as a prefix.Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/EDI-L/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> 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/

Reply via email to