ASC X12 Version: 004010 | Transaction Set: 997 | TR3 ID: 004010X363
Example 03: Basic Functional Acknowledgment – Reject Transaction With 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 rejected the three orders. XYZ Aircraft Parts will send ABC Aerospace Corporation a 997 Functional Acknowledgment with line item detail provided. ABC Aerospace is expected to correct the transactions and re-transmit the Interchange.
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.
AK3*BZA*35**1~
The segment ID of the erroneous segment is 'BZA' at segment position 35. The segment syntax error code 1 denotes an unrecognized segment ID.
AK5*R*5~
The transaction set acknowledgment code is 'R' – Rejected with a transaction syntax error code of 5 denoting one or more segments are in error.
AK2*850*0002~
The second 850 transaction set with control number 0002 is being acknowledged.
AK3*SCH*70**8~
The segment ID of the erroneous segment is 'SCH' at segment position 70. The segment syntax error code 8 indicates that the segment has data element errors.
AK4*5**5*UNITED STATES GOVERNMENT – DEPARTMENT OF
DEFENSE LOGISTICS AGENCY – REGION 12~
The data element in error is in segment position 5. The data element syntax error code of 5 indicates that the data element is too long. Data value 'United States Government – Department of Defense Logistics Agency – Region 12' is a copy of the bad data element.
AK5*R*5~
The transaction set acknowledgment code is 'R' – Rejected 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.
AK3*DIS*33**6~
The segment ID of the erroneous segment is 'DIS' at segment position 33. The segment syntax error code 6 indicates that the segment is not in defined transaction set.
AK5*R*5~
The transaction set acknowledgment code is 'R' – Rejected with a transaction syntax error code of 5 denoting one or more segments are in error.
AK9*R*3*3*0~
The Functional Group was Rejected. There were 3 transactions in the Functional Group, with 3 received and 0 accepted.
SE*14*0001~
Indicates that transaction set control number 0001 has ended with a total of 14 segments.
Transmission
ST*997*0001~AK1*PO*11~AK2*850*0001~AK3*BZA*35**1~AK5*R*5~
AK2*850*0002~AK3*SCH*70**8~AK4*5**5*UNITED STATES GOVERNMENT –
DEPARTMENT OF DEFENSE LOGISTICS AGENCY – REGION 12~
AK5*R*5~AK2*850*0003~ AK3*DIS*33**6~AK5*R*5~AK9*R*3*3*0~
SE*14*0001~