Segment
X12 EDI Release 00302
To report errors in a data segment and to identify the location of the data segment.
Elements
  • AK301721Segment ID Code
    ID
    M必须(Mandatory)
    Min 2 / Max 3

    Code defining the segment ID of the data segment in error. See Appendix A - Number 77.

  • AK302719Segment Position in Transaction Set
    N
    M必须(Mandatory)
    Min 1 / Max 6

    The numerical count position of this data segment from the start of the transaction set: the transaction set header is count position 1.

  • AK303447Loop Identifier Code
    AN
    O可选(Optional)
    Min 1 / Max 4

    Code identifying a loop within the transaction set which is bounded by the related LS and LE segments (corresponding LS and LE segments must have the same value for loop identifier). (Note: The loop ID number given on the transaction set diagram is recommended as the value for this data element in segments LS and LE.)

  • AK304720Segment Syntax Error Code
    ID
    O可选(Optional)

    Code indicating error found based on the syntax editing of a segment

    Codes (7)
  • AK305720Segment Syntax Error Code
    ID
    O可选(Optional)

    Code indicating error found based on the syntax editing of a segment

    Codes (7)
  • AK306720Segment Syntax Error Code
    ID
    O可选(Optional)

    Code indicating error found based on the syntax editing of a segment

    Codes (7)
  • AK307720Segment Syntax Error Code
    ID
    O可选(Optional)

    Code indicating error found based on the syntax editing of a segment

    Codes (7)
  • AK308720Segment Syntax Error Code
    ID
    O可选(Optional)

    Code indicating error found based on the syntax editing of a segment

    Codes (7)