The following is an outline of what is required when sending or receiving VICS 997 Functional Acknowledgments. For definitions of the segments, please see the VICS retail industry conventions and guidelines for EDI.

Deviation from the standard VICS 997 format may negate our ability to receive data from trading partners.

The following segments are based on VICS 4010. Refer to individual manuals for differences in standards.


Note: The Functional Acknowledgment is a required document.


Segment Summary

Header Segments

M*/O*
Segment Name
m
stTransaction Set Header

Detail Segments

M*/O*
Segment Name
m
ak1Functional Group Response Header
o
ak2Transaction Set Response Header
o
ak3Data Segment Note
o
ak4Data Element Note
o
ak5Transaction Set Response Trailer
m
ak9Functional Group Response Trailer

Summary Segments

M*/O*
Segment Name
m
seTransaction Set Trailer

Header Envelope Segments

M*/O*
Segment DataElement Value/Comments
m
isaisa01 Qualifier00
isa02 AuthorizationBlanks
isa03 Qualifier00
isa04 SecurityBlanks
isa05 Sender ID Qualifier 01 - Duns Number

08 - UCC Communication ID

12 - Telephone Number

isa06 Sender IDSender's Identifier
isa07 Receiver ID Qualifier 08 - UCC Communication ID
isa08 Receiver IDReceiver's ID
isa09 DateYYMMDD
isa10 TimeHHMM
isa11 Standard IDU - ANSI X.12
isa12 Version00401
isa13 Interchange Control Number Sequential Number
isa14 Request Acknowledgment 0 - No
isa15 Test IndicatorP - Production
isa16 Subelement Separator >
m
gsgs01 Functional Group ID FA
gs02 Application Sender ID Same as ISA06
gs03 Application Receiver ID Same as ISA08
gs04 DateCCYYMMDD
gs05 TimeHHMM
gs06 Functional Group Control Number Sequential Number
gs07 Agency X - ANSI X.12
gs08 Version004010VICS

Header Segments

M*/O*
Segment DataElement Value/Comments
m
stst01 Transaction ID997
st02 Transaction Control Number Sequential Number

Detail Segments

M*/O*
Segment DataElement Value/Comments
m
ak1AK101† Functional ID Code For Transaction Being Acknowledged
AK102† Group Control Number For Group Being Acknowledged
o
ak2ak201 Transaction Set ID Code For Transaction Being Acknowledged
ak202 Transaction Set Control Number For Transaction Being Acknowledged
o
ak3ak301 Segment ID CodeID Code of the Segment in Error
ak302 Segment Position in Transaction Numerical Count Position of Segment From Start of Transaction
ak303 Loop Identifier Code Loop Code (LS) Identifying Loop Containing Segment in Error
ak304 Segment Syntax Error Code 1 - Unrecognized Segment ID

2 - Unexpected Segment

3 - Mandatory Segment Missing

o
ak4ak401 Element Position in Segment Relative Position of Element Within Segment
ak402 Data Element Reference Number Element Reference Number from Data Element Dictionary
ak403 Data Element Syntax Error Code 1 - Mandatory Data Element Missing

2 - Conditional Required Data Element Missing

3 - Too Many Data Elements

4 - Data Element Too Short

5 - Data Element Too Long

6 - Invalid Character in Data Element

7 - Invalid Code Value

ak404 Copy of Bad Data Element Copy of the Element in Error

M*/O*
Segment DataElement Value/Comments
o
ak5ak501 Transaction Set ACK Code A - Accepted

E - Accepted with Errors

R - Rejected

ak502 Transaction Set Error Code 1 - Transaction Set Not Supported

2 - Transaction Set Trailer Missing

3 - Transaction Set Control Numbers Do Not Match

4 - Number of Included Segments Does Not Match Count

5 - One or More Segments in Error

ak503 Transaction Set Error Code See Description Above
ak504 Transaction Set Error Code See Description Above
ak505 Transaction Set Error Code See Description Above
ak506 Transaction Set Error Code See Description Above
m
ak9ak901† Group Acknowledgment Code A - Accepted

E - Accepted with Errors

P - Partially Accepted, at Least One Transaction was Rejected

R - Rejected

ak902 Number of Transactions Included
ak903 Number of Transactions Received
ak904 Number of Transactions Accepted
ak905 Group Syntax Error Code 1 - Functional Group Not Supported

2 - Functional Group Version Not Supported

3 - Functional Group Trailer Missing

4 - Functional Group Control Numbers Do Not Match

5 - Number of Included Transactions Does Not Match Count

ak906 Group Syntax Error Code See Description Above
ak907 Group Syntax Error Code See Description Above
ak908 Group Syntax Error Code See Description Above
ak909 Group Syntax Error Code See Description Above

Summary Segments

M*/O*
Segment DataElement Value/Comments
m
sese01 Number of Included Segments Number of Segments in this Transaction
se02 Transaction Set Control # Sequential Number

Trailer Envelope Segments

M*/O*
Segment DataElement Value/Comments
m
gege01 Number of Included Transactions Number of Transactions in this Group
ge02 Functional Group Control Number Sequential Number
m
ieaiea01 Number of Included Groups Number of Groups in this Interchange
iea02 Interchange Control Number Sequential Number