Segment
X12 EDI Release 00504
Describes an event context in terms of the application or implementation contexts in force at the time the event occurred and the position in the EDI stream at which that context was activated
Elements
  • CTX01C998Context IdentificationM必须(Mandatory)
    99999998
    • CTX01019999Context Name
      AN
      M必须(Mandatory)
      Min 0 / Max 35

      Holds the name or 'tag' of a context

    • CTX01029998Context Reference
      AN
      O可选(Optional)
      Min 1 / Max 35

      Holds a reference to or for a context

  • CTX02721Segment ID Code
    ID
    O可选(Optional)
    Min 2 / Max 3

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

  • CTX03719Segment Position in Transaction Set
    N
    O可选(Optional)
    Min 1 / Max 10

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

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

    The loop ID number given on the transaction set diagram is the value for this data element in segments LS and LE

  • CTX05C030Position in SegmentO可选(Optional)
    72215281686
    • CTX0501722Element Position in Segment
      N
      M必须(Mandatory)
      Min 0 / Max 2

      This is used to indicate the relative position of a simple data element, or the relative position of a composite data structure with the relative position of the component within the composite data structure, in error; in the data segment the count starts with 1 for the simple data element or composite data structure immediately following the segment ID

    • CTX05021528Component Data Element Position in Composite
      N
      O可选(Optional)
      Min 1 / Max 2

      To identify the component data element position within the composite that is in error

    • CTX05031686Repeating Data Element Position
      N
      O可选(Optional)
      Min 1 / Max 4

      To identify the specific repetition of a data element that is in error

  • CTX06C999Reference in SegmentO可选(Optional)
    725725
    • CTX0601725Data Element Reference Number
      N
      M必须(Mandatory)
      Min 0 / Max 4

      Reference number used to locate the data element in the Data Element Dictionary

    • CTX0602725Data Element Reference Number
      N
      O可选(Optional)
      Min 1 / Max 4

      Reference number used to locate the data element in the Data Element Dictionary