Data segment '<segment ID>' not defined in transaction set
'<ID>'
Description
The document contained a data segment not
in the transaction set/message as defined by the implementation guideline.
For example, consider the following ASC/X12 implementation guideline (simplified):
TAG Name Req. Repeat
ST - Transaction Set Header ------------------- M 1 --------+
BEG - Beginning Segment For Purchase Order M 1 |
PER - Administrative Communications Contact O 3 |
FOB - F.O.B Related Instructions O >1 |
N1 - Name ------------------------------------- O 200 ---+ |
N3 - Address Information O 2 | |
N4 - Geographic Location O 2 | |
-------------------------------------------------------------+---+
The following document generates the error because it contains the data segment CUR which is not part of the transaction set as defined in the above implementation guideline.
ST*850*24001
BEG*00*BY*000000114**960814
CUR*OE*LIRE <<< --- Error! CUR segment not in transaction set
PER*OC**FX*8009909999
FOB*PP
N1!BY!ABC INC.
N3*555 N. Figueroa Street
N4*Los Angeles*CA*90012