Arden 997 Status

From UG

Revision as of 22:25, 23 October 2013 by Alex (Talk | contribs)
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*000000997*0*P*>~GS*FA*ELARUS2*JAFR*20131022*1814*891*X*004010~ST*997*0001~AK1*IM*108492~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~AK2*210*0006~AK5*A~AK2*210*0007~AK5*A~AK2*210*0008~AK5*A~AK2*210*0009~AK5*A~AK2*210*0010~AK5*A~AK2*210*0011~AK5*A~AK2*210*0012~AK5*A~AK2*210*0013~AK5*A~AK2*210*0014~AK5*A~AK2*210*0015~AK5*A~AK2*210*0016~AK5*A~AK2*210*0017~AK5*A~AK2*210*0018~AK5*A~AK2*210*0019~AK5*A~AK2*210*0020~AK5*A~AK2*210*0021~AK5*A~AK2*210*0022~AK5*A~AK2*210*0023~AK5*A~AK2*210*0024~AK5*A~AK2*210*0025~AK5*A~AK2*210*0026~AK5*A~AK2*210*0027~AK5*A~AK2*210*0028~AK5*A~AK2*210*0029~AK5*A~AK2*210*0030~AK5*A~AK2*210*0031~AK5*A~AK2*210*0032~AK5*A~AK2*210*0033~AK5*A~AK2*210*0034~AK5*A~AK2*210*0035~AK5*A~AK2*210*0036~AK5*A~AK2*210*0037~AK5*A~AK2*210*0038~AK5*A~AK2*210*0039~AK5*A~AK2*210*0040~AK5*A~AK2*210*0041~AK5*A~AK2*210*0042~AK5*A~AK2*210*0043~AK5*A~AK2*210*0044~AK5*A~AK2*210*0045~AK5*A~AK2*210*0046~AK5*A~AK2*210*0047~AK5*A~AK2*210*0048~AK5*A~AK2*210*0049~AK5*A~AK2*210*0050~AK5*A~AK2*210*0051~AK5*A~AK2*210*0052~AK5*A~AK2*210*0053~AK5*A~AK2*210*0054~AK5*A~AK2*210*0055~AK5*A~AK2*210*0056~AK5*A~AK2*210*0057~AK5*A~AK2*210*0058~AK5*A~AK2*210*0059~AK5*A~AK2*210*0060~AK5*A~AK2*210*0061~AK5*A~AK2*210*0062~AK5*A~AK2*210*0063~AK5*A~AK2*210*0064~AK5*A~AK2*210*0065~AK5*A~AK2*210*0066~AK5*A~AK2*210*0067~AK5*A~AK2*210*0068~AK5*A~AK2*210*0069~AK5*A~AK2*210*0070~AK5*A~AK2*210*0071~AK5*A~AK2*210*0072~AK5*A~AK2*210*0073~AK5*A~AK2*210*0074~AK5*A~AK2*210*0075~AK5*A~AK2*210*0076~AK5*A~AK2*210*0077~AK5*A~AK2*210*0078~AK5*A~AK2*210*0079~AK5*A~AK2*210*0080~AK5*A~AK2*210*0081~AK5*A~AK2*210*0082~AK5*A~AK2*210*0083~AK5*A~AK2*210*0084~AK5*A~AK2*210*0085~AK5*A~AK2*210*0086~AK5*A~AK2*210*0087~AK5*A~AK2*210*0088~AK5*A~AK2*210*0089~AK5*A~AK9*A*89*89*89~SE*182*0001~GE*1*891~IEA*1*000000997~

Personal tools