format - EDI, 852 Product Transfer: N1 loop out of order? -


i have build edi report i'm working on. i'm using edi notepad validate output. while edi readable edi notepad, keep getting errors have few n1 loops out of order. gives?

i've been reading through spec afternoon trying figure out, , see no mention of n1 order anywhere. doing wrong?

here's edi in question:

isa*00*          *00*          *12*abccom         *01*999999999      *110127*1719*u*00400*000005438*0*p*>~ gs*pd*4405197800*999999999*20110127*1719*1421*x*004010vics~ st*852*000008315~ xq*g*20130807*20130807~ n1*st**11*ad6448446~ lin**ua*53233*pi*76189053560~ za*qa*0*ea~ za*qs*0*ea~ lin**ua*53234*pi*76189053430~ za*qa*0*ea~ za*qs*0*ea~ n1*st**11*bd9628542~ lin**ua*53234*pi*76189053430~ za*qa*30*ea~ za*qs*0*ea~ lin**ua*53233*pi*76189053560~ za*qa*0*ea~ za*qs*60*ea~ n1*st**11*fd0286244~ lin**ua*53233*pi*76189053560~ za*qa*180*ea~ za*qs*930*ea~ lin**ua*53234*pi*76189053430~ za*qa*390*ea~ za*qs*585*ea~ n1*st**11*bd9076008~ lin**ua*53234*pi*76189053430~ za*qa*0*ea~ za*qs*0*ea~ lin**ua*53233*pi*76189053560~ za*qa*0*ea~ za*qs*0*ea~ n1*st**11*fd0417825~ lin**ua*53234*pi*76189053430~ za*qa*30*ea~ za*qs*30*ea~ lin**ua*53233*pi*76189053560~ za*qa*0*ea~ za*qs*0*ea~ n1*st**11*bw0222264~ lin**ua*53234*pi*76189053430~ za*qa*90*ea~ za*qs*90*ea~ lin**ua*53233*pi*76189053560~ za*qa*240*ea~ za*qs*60*ea~ ctt*12~ se*46*000008315~ ge*1*1421~ iea*1*000005438~ 

according ansi standard, have n1 child of lin, not part of standard. sdq segment implemented address / quantity in detail loop.

if remove n1 segments (all 1 xq), you'll notice edi notepad won't display error. if spec has detail n1, using own "version" of standard. not uncommon, means.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -