Tuesday, November 25, 2008

Significance of AK1, AK2, AK9 in X12 for the document Type 997

The document type 997 refers to the Functionall acknowledgement of the X12 business message.

The primary purpose of a Functional Acknowledgement is to acknowledge the receipt of Business Message indicating if the message received was syntactically correct or Not. The result of a Functional Acknowledgement indicated if the incoming message is

A - Accepted
E - Accepted, But Errors Were Noted.
M - Rejected, Message Authentication Code (MAC) Failed
P - Partially Accepted, At Least One Transaction Set Was Rejected
R - Rejected
W - Rejected, Assurance Failed Validity Tests
X - Rejected, Content After Decryption Could Not Be Analyzed


Negative Functional Acknowledgements are used to report X12 syntax errors. This would not
indicate implementation guide syntax errors

A FA message has various segments, indicating various inferences w.r.t to original incoming
business message, and here are few important ones:


AK1

AK1 is used to respond to the functional group header and to start the acknowledgement for a
functional group. There shall be one AK1 segment for the functional group that is being
acknowledged. In this, AK102 is the control number assigned to the group being acknowledged.

This is used to correlate the group segment of the original incoming message. This indicates
the control number assigned by the sender of the original transmission. This value corresponds
to the value sent in GS06 for the original transmission.

Since the Group segment is NOT mandatory in an EDI document, the FA correlates only if the
control number for group segment is present in the original message


AK2

AK2 is used to start the acknowledgement of a transaction set within the received functional
group. The AK2 segments shall appear in the same order as the transaction sets in the
functional group that has been received and is being acknowledged.

In this, AK202 is the control number assigned to the transaction being acknowledged, This is
the control number of the original business message, which is in ST02 for the original
transmission. AK2 loop will also contain AK5 segment indicating the acceptance and rejection of
message based on syntac of transactionset. The exact segment in AK5 is, AK501. The codes will
be the one among the mentioned above (A, E, M, P, R, W, X)

AK9

This segment would represent the Functional Group Response Trailer.

AK901 represents the code indicating accept or reject condition based on the syntax editing of
the functional group. The codes will be the one among the mentioned above (A, E, M, P, R, W, X)

Welcome to EDI Gurus

Greetings and a warm welcome to the EDI Aspirants. :)

Here is an effort to put together and share the knowledge of various Business Verticals involving EDI Document.

This blog would try to cover almost everything about EDI, interms of

1. Helping the user community to in solving the business usecases using EDI
2. Explaining significance on various document types available
3. Also, not the least the respective implementation mechanisms on Oracle AS B2B for the various usecases
4. Compitative EDI Offering from various vendors.
5. and many more .... :)

Last but not the least and most unique about this effort is even you can be part of the blogging community. Why wait, shoot a mail to edi@edigurus.com for adding your cool stuff in EDI.

Happy Blogging !!