Determining If the Child Transaction is Allowed in Its Envelope
When setting the FA status for a child transaction, the generateFA service first determines whether the child transaction is allowed in its group (and, therefore, its envelope). For example, it is not valid for an ANSI X12 997 transaction to be in an ANSI X12 PO group. Similarly, it is not valid for a UN/EDIFACT CONTRL to be in an ORDERS group.
If the child transaction is:
Allowed, the
generateFA service determines the values of the
syntaxErrorStatus,
logicalErrorStatus, and
childTransactionRejectedStatus parameters for the child transaction.
Not allowed, the
generateFA service sets the FA status to "Not Allowed" and does not determine the rest of the statuses.