Output from the generateFA Service
The output from the wm.b2b.edi.util:generateFA service is the FA itself. The following table summarizes the information in the generated FA, including items that Module for EDI sets in the:
BizDocEnvelope that the module creates for the FA. When defining a
Trading Networks processing rule to deliver the FA, you use the BizDocEnvelope information when defining the processing rule criteria.
Interchange header of the FA.
Group header of the FA.
Transaction header (997 for ANSI X12 or CONTRL for UN/EDIFACT).
Item | Setting | Value |
BizDocEnvelope | sender | The receiver from the inbound document's interchange header |
receiver | The sender from the inbound document's interchange header |
TN document type | For ANSI X12: X12 EnvelopeFor UN/EDIFACT: EDIFACT Envelope |
EDI FA Outbound custom attribute | true |
Interchange header | sender | The receiver from the inbound document's interchange header |
receiver | The sender from the inbound document's interchange header |
control number | The value is based on the FAGeneration/generateControlNumber EDITPA variable |
Group | sender | The receiver from the inbound document's group header |
receiver | The sender from the inbound document's group header |
control number | The value is based on the FAGeneration/generateControlNumber EDITPA variable |
Transaction header | control number | 001 |
Because the generateFA service does not specify what to do with the FA that it has created, any service that you use or develop that calls the generateFA service must also invoke a service to deliver the FA to the original sender.
Each FA contains a code that indicates whether the validation was successful. This code appears in a different position for each level. For example, the code in a Transaction Set level FA will appear in AK501. For more information about the location of this code in your documents, see the documentation for your EDI standard and version.
The appropriate position of the transaction, group, or UN/EDIFACT interchange will contain one of the codes listed in the table of possible FA statuses in
Generating Functional Acknowledgments.