This project has moved and is read-only. For the latest updates, please go here.

856 (ASN) example data files showing errors when opened with Liaison EDI Notepad application

Jan 9, 2013 at 9:49 PM

For example, when I opened Exampl1.txt, I got the following errors:

(Example2.txt, Example3.txt etc. also seems to have similar issues)

At envelope 01/201495124->01/207663412, Ctrl=000000001
 
At group 207663412->201495124, Ctrl=1
  
At message 856:123456 Ctrl=0001
  
HL - is out of order
  
REF - is out of order
  
N1 - doesn't belong in this set
  
N3 - doesn't belong in this set
  
N4 - doesn't belong in this set
  
N1 - doesn't belong in this set
  
N3 - doesn't belong in this set
  
N4 - doesn't belong in this set
  
HL - is out of order
  
PRF - is out of order
  
HL - is out of order
  
LIN - is out of order
  
SN1 - is out of order
  
HL - is out of order
  
LIN - is out of order
  
SN1 - is out of order
  
HL - is out of order
  
LIN - is out of order
  
SN1 - is out of order
  
SE - is out of order

Jan 12, 2013 at 10:58 PM

Found a sample to work with

ISA*01*0000000000*01*ABCCO     *12*4405197800     *01*999999999      *111206*1719*-*00406*000000049*0*P*>
GS*SH*4405197800*999999999*20111206*1045*49*X*004060
ST*856*0008
BSN*14*829716*20111206*142428*0002
HL*1**S
TD1*PCS*2****A3*60.310*LB
TD5**2*XXXX**XXXX
REF*BM*999999-001
REF*CN*5787970539
DTM*011*20111206
N1*SH*1 EDI SOURCE
N3*31875 SOLON RD
N4*SOLON*OH*44139
N1*OB*XYZ RETAIL
N3*P O BOX 9999999
N4*ATLANTA*GA*31139-0020**SN*9999
N1*SF*1 EDI SOURCE
N3*31875 SOLON ROAD
N4*SOLON*OH*44139
HL*2*1*O
PRF*99999817***20111205
HL*3*2*I
LIN*1*VP*87787D*UP*999999310145
SN1*1*24*EA
PO4*1*24*EA
PID*F****BLUE WIDGET
HL*4*2*I
LIN*2*VP*99887D*UP*999999311746
SN1*2*6*EA
PO4*1*6*EA
PID*F****RED WIDGET
CTT*4*30
SE*31*0008
GE*1*49
IEA*1*000000049
 

Jan 12, 2013 at 11:10 PM

WHen I try to parse this, I am getting the following error:

Segment 'N1*SH*1 EDI SOURCE' in segment position 9 within transaction '0008' cannot be identified within the supplied specification for transaction set 856.
Parameter name: 856

Feb 17, 2013 at 7:33 PM
This has been fixed with this changeset: http://x12parser.codeplex.com/SourceControl/changeset/23146.

If you know of a specification with the "SH" entity code, please post a link so that I can make sure there are no other missing entity codes.
Feb 18, 2013 at 6:22 PM
Thanks a lot for all your latest changes. I will get the latest code and test them asap.

Regards
Shanthu