Section title: X12 EDI Examples
back to previous

ASC X12 Version: 004010 | Transaction Set: 997 | TR3 ID: 004010X363

Example 05: Basic Functional Acknowledgment – Accepted With Error Detail

XYZ Aircraft Parts is acknowledging 3 purchase orders from ABC Aerospace Corporation that were transmitted in one Functional Group with a GS Control Number of 11. XYZ Aircraft Parts has processed and accepted the 3 orders. However, some errors were encountered during processing, the information of which is being provided in the transmission. XYZ Aircraft Parts will send ABC Aerospace Corporation a 997 Functional Acknowledgment with line item detail provided. ABC Aerospace Corporation need not correct and resend the Functional Group, but is requested to review and fix the data on their side.

Transmission Explanation

Table 1

ST*997*0001~

Indicates the start of the transaction set and assigns a transaction set control number of 0001.

AK1*PO*11~

Purchase Order Functional Group number 11 is being acknowledged.

AK2*850*0001~

The 850 transaction set with control number 0001 is being acknowledged.

AK5*A~

The transaction set acknowledgment code is 'A' – Accepted.

AK2*850*0002~

The second 850 transaction set with control number 0002 is being acknowledged.

AK3*DTM*5**8~

The segment ID of the erroneous segment is 'DTM' at segment position 5. The segment syntax error code 8 indicates that the segment has data element errors.

AK4*2**4*180931~

The data element in error is in position 2. The data element syntax error code of 4 indicates that the data element is too short. The invalid date value is 180930. (The value should be 20180930.)

AK5*A*5~

The transaction set acknowledgment code is 'A' – Accepted with a transaction syntax error code of 5 denoting one or more segments are in error.

AK2*850*0003~

The third 850 transaction set with control number 0003 is being acknowledged.

AK5*A~

The transaction set acknowledgment code is 'A' – Accepted.

AK9*E*3*3*3~

The Functional Group was accepted, but errors have been noted. There were 3 transaction sets in the Functional Group, with 3 purchase orders were received and 3 accepted.

SE*12*0001~

Indicates that transaction set control number 0001 has ended with a total of 12 segments.

Transmission

ST*997*0001~AK1*PO*11~AK2*850*0001~AK5*A~AK2*850*0002~
AK3*DTM*5**8~AK4*2**4*180930~AK5*A*5~AK2*850*0003~AK5*A~
AK9*E*3*3*3~SE*12*0001~