Arden 997 Status

From UG

Jump to: navigation, search


Contents

Example

ISA*00*          *00*          *ZZ*ELARUS         *02*JAFR           *130925*1604*U*00400*000000932*0*P*>~
GS*FA*ELARUS1*JAFR*20130925*1604*896*X*004010~
ST*997*0001~
AK1*IM*100237~
AK2*110*0001~
AK5*A~
AK9*A*1*1*1~
SE*6*0001~
GE*1*896~
IEA*1*000000932~

997 explained


ISA*00*          *00*          *ZZ*ELARUS         *02*JAFR           *131022*1914*U*00400*000000998*0*P*>~
GS*FA*ELARUS3*JAFR*20131022*1914*939*X*004010~
ST*997*0001~
 //
 // START
 //
AK1*IM*109274~ //
AK2*310*0001~
AK3*DTM*20**8~
 // AK304 Error Code = 8. Meaning: "Segment has data element errors"
AK4*2*373*8*        ~
 // AK403 Error Code = 8. Meaning: "Invalid date"
AK5*R*5~
 // AK501 Error Code = R. Meaning: "Rejected"
 // AK502..506 Error Code = 5. Meaning: "One or more segments in error"
AK9*R*1*1*0~
 // AK901 Error Code = R. Meaning: "Rejected"
 // AK905..909 Error Code = ??
 //
 // END
 //
SE*8*0001~
GE*1*939~
IEA*1*000000998~


STRUCTURE:

ISA (Interchange Control Header)
GS (Functional Group Header)
ST (Transaction Set Header)

Six different segment types in the ìbodyî of the transaction (between the ST and SE segments).
AK1 (Functional Group Response Header)
AK2 (Transaction Set Response Header)
AK3 (Data Segment Note)
AK4 (Element Segment Note)
AK5 (Transaction Set Response Trailer)
AK9 (Functional Group Response Trailer)

SE (Transaction Set Trailer)
GE (Functional Group Trailer)
IEA (Interchange Control Trailer)


NOTES:
// AK1 & AK9 must be present
// group of transactions (e.g. IN-Invoices), individual transactions (e.g. 810-Invoices).

Links: 
http://msdn.microsoft.com/en-us/library/bb226438.aspx

Resouces

Example 2

ISA*00* *00* *ZZ*ELARUS *02*JAFR *131022*1814*U*00400*000000996*0*P*>~GS*FA*ELARUS2*JAFR*20131022*1814*890*X*004010~ST*997*0001~AK1*IM*108489~AK2*210*0001~AK5*A~AK2*210*0002~AK5*A~AK2*210*0003~AK5*A~AK2*210*0004~AK5*A~AK2*210*0005~AK5*A~AK9*A*5*5*5~SE*14*0001~GE*1*890~IEA*1*000000996~

Personal tools