The action code in the implementation acknowledgment indicates the action taken by the receiver on the different levels of the received EDI document by the receiver. Basically, the receiver indicates if the functional group or transaction set in the subject document has been accepted or rejected. Framework EDI (FREDI) will automatically store an action code in the reporting level based on errors discovered in the corresponding referenced level of the subject document.
Accepting or Rejecting a Transaction Set
The action code in the implementation acknowledgment, that indicates if the transaction set has been accepted or rejected, is stored in the Transaction Set Acknowledgment Code (717), which is a data element in the Implementation Transaction Set Response Trailer (IK5) data segment. FREDI stores the action code automatically in the data element based on the result of a syntactical check as well as the settings made on this optional feature:
Only one of the following codes is used:
A - The transaction set has been accepted. Syntax verification found no errors.
R - There were errors found in the transaction set, and it is rejected. The option OptAcknowledgment_AcceptSetWithErrors has been set to FALSE.
E - There were errors found in the transaction set, but the transaction set has been accepted. The option OptAcknowledgment_AcceptSetWithErrors has been set to TRUE.
NOTE: The option OptAcknowledgment_PartialAcceptGroup
has no relevance in the acknowledgment of a transaction set.
Accepting or Rejecting a Functional Group
The following action code in the implementation acknowledgment indicates if the functional group has been accepted or rejected.
A - The functional group has been accepted. Syntax verification found no errors.
R - There were errors found in the functional group control header envelopes (GS/GE) and/or at least one underlying transaction set has been rejected. The functional group has been rejected.
E - There were errors found in the functional group control header envelopes (GS/GE) and/or one or more rejected transaction sets in the underlying functional group, but the functional group has been accepted.
P - The functional group is partially accepted. At least one transaction set has been rejected, and the rest accepted.
The Functional Group Acknowledge Code (715) element in the Functional Group Response Trailer (AK9) data segment stores the value of the action code. FREDI stores only one of the above codes in the data element based on the result of a syntactical check of the functional group as well as the settings made on these optional features:
The following setting combination results in one of the action code above:
IK5 (DE717) | OptAcknowledgment_PartialAcceptGroup | OptAcknowledgment_AcceptGroupWithErrors | AK9 (DE715) |
All "A" | (N/A) | (N/A) | "A" |
All "R" | (N/A) | (N/A) | "R" |
All "E" | (N/A) | (N/A) | "E" |
All "A" and "E" | (N/A) | (N/A) | "E" |
"A" and "R" | FALSE | FALSE | "R" |
"A" and "R" | FALSE | TRUE | "E" |
"A" and "R" | TRUE | FALSE | "P" |
"A" and "R" | TRUE | TRUE | "P" |
"E" and "R" | FALSE | FALSE | "R" |
"E" and "R" | FALSE | TRUE | "E" |
"E" and "R" | TRUE | FALSE | "P" |
"E" and "R" | TRUE | TRUE | "P" |
See Also: