ASC X12 Validation Rules
When validating ASC X12 documents, MapForce performs the following checks:
•Whether an ISA and an IEA segment exist
•Whether ISA/I01 contains a legal authorization information qualifier.
•Whether ISA/I03 contains a legal security information qualifier.
•Whether the two ISA/I05 segments contain legal interchange ID qualifiers.
•Whether ISA/I08 contains a well-formed date value.
•Whether ISA/I09 contains a well-formed time value.
•Whether ISA/I13 contains a legal Boolean value.
•Whether ISA/I14 contains a legal interchange usage indicator.
•Whether ISA/I12 and IEA/I12 contain the same value.
•Whether IEA/I16 contains the correct number of function groups in the interchange.
Each function group is checked:
•If there is a matching GS and GE pair.
•Whether GS/373 contains a well-formed date value.
•Whether GS/337 contains a well-formed time value.
•Whether GS/28 and GE/28 contain the same value.
•Whether GE/97 contains the correct number of messages in the function group.
Each message is checked:
•If there is a matching ST and SE pair.
•Whether ST/143 contains the correct message identifier.
•Whether ST/329 and SE/329 contain the same value.
•Whether SE/96 contains the correct number of segments in the message.