To process inbound EDI documents , i’ve used the service : wm.b2b.edi.envelopeProcess to consume the entire EDI document
and convert all of its envelope header segments, including transaction set
header segments, into an IData object named Values.
The issue is after invoking the service , i’m getting only ISA records , and i couldn’t see any group segment (GS) and transaction set (ST) segments within ISA segment . I’m getting just ‘code’ field in ISA segments whereas rest of the data goes into unDefData element as follows:
ISA*00* *00* *01*001325851 *01*050357789M *000110*1425*U*00400*000000035*0*P*>GS*QM*001325851*050357789M*20000110*1425*767*X*004010ST*214*000000035B10*R6514545NA*00000064631M*SCACN1*SF*Big Fred and Little Al ABC CompanyN2*AKA Van Artsdalen MfgN3*800 Any StreetN4*Any Town*MN*55060-0000LX*1AT7*AF*NS***20000110*1341*LTMS1*Any Town*MNMS2*SCAC*0067291*TFL11*14781-55060*SIL11*1*QNAT8*G*L*16880*640*8*E*960SPO*202831 REPL*1022*PC*1008*L*40320SE*14*000000035GE*1*35IEA*1*000000035
How could the document be suitably processed to get GS as well as ST segments under the ISA segment. :rolleyes:
Due to this problem, i couldn’t loop over ‘Values/ISA/GS’ as well as ‘Values/ISA/ST’ segments ( before using wm.b2b.edi.util.getEDIstring)
A Dev Guy …