Generating Functional Acknowledgments
A functional acknowledgment is a transaction set sent by the receiver of an EDI transmission to the sender, acknowledging that the message has been received and its syntax is acceptable. Functional acknowledgments do not indicate that the document has been processed by the receiver.
Note: Functional acknowledgments (FAs) are not applicable to the TRADACOMS and VDA standards.
Module for EDI provides the wm.b2b.edi.util:generateFA service to generate functional acknowledgments (FAs). To generate an FA manually, you invoke the generateFA service from the service that you create to process an inbound EDI document. The generateFA service automatically determines the EDI standard of the document, performs validation using a flat file schema, and creates the FA as output.
The following table shows the type of FA that Module for EDI generates based on the EDI standard of the inbound document.
EDI Standard | Type of FA the Module Generates | Description |
ANSI X12 UCS VICS | ANSI X12 997 | The module generates an FA for each group in the inbound document. |
UN/EDIFACT EANCOM ODETTE | UN/EDIFACT CONTRL | The module generates an FA for each interchange in the inbound document. |
The generated FA reports one of the following FA statuses for a transaction, group, or UN/EDIFACT interchange:
ANSI X12 997 | UN/EDIFACT CONTRL | Description |
N | N | Not Allowed |
R | R | Rejected |
P | R | Partially Accepted (for groups only) |
E | R | Accepted, But Errors Were Noted |
A | A | Accepted |
FA | FA | EDI document is an FA 997 or CONTRL |
NR | NR | Not Required |
Note: The rest of this chapter uses the FA statuses reported when the ANSI X12 997 standard is used. Refer to this table to see the related FA status that is reported when the UN/EDIFACT CONTRL standard is used.
The value that the
generateFA service reports for the FA status depends on whether a child transaction is allowed in its envelope and the values you specify for the
syntaxErrorStatus,
logicalErrorStatus, and
childTransactionRejectedStatus input parameters. For more information, see
Determining How
Module for EDI Reports FA Status.
The generateFA service does not specify what to do with the FA that it creates. Therefore, in addition to invoking the generateFA service to generate the FA, your service should also invoke a service to deliver the FA to the sender of the original document.
For more information about... | See... |
How to have Module for EDI automatically generate FAs when you are using Trading Networks | |
How to generate a report for FA reconciliation | |
The wm.b2b.edi.util:generateFA service | webMethods Module for EDI Built-In Services Reference |