240Motor Carrier Package Status

This X12 Transaction Set contains the format and establishes the data contents of the Motor Carrier Package Status Transaction Set (240) for use within the context of an Electronic Data Interchange (EDI) environment. This standard can be used to provide the status of a package, packages, or group of packages considered a shipment by a motor carrier.

  • ST
    Transaction Set Header
    M必须(Mandatory)
    Repeat 1

    To indicate the start of a transaction set and to assign a control number

  • BGN
    Beginning Segment
    M必须(Mandatory)
    Repeat 1

    To indicate the beginning of a transaction set

  • N1Loop1Party Identification LOOPO可选(Optional)Repeat > 1
    N1N2N3N4
    • N1
      Party Identification
      M必须(Mandatory)
      Repeat 1

      To identify a party by type of organization, name, and code

    • N2
      Additional Name Information
      O可选(Optional)
      Repeat 2

      To specify additional names

    • N3
      Party Location
      O可选(Optional)
      Repeat 2

      To specify the location of the named party

    • N4
      Geographic Location
      O可选(Optional)
      Repeat 1

      To specify the geographic place of the named party

  • LXLoop1Transaction Set Line Number LOOPM必须(Mandatory)Repeat > 1
    LXN1Loop2EFILoop1L11Loop1
    • LX
      Transaction Set Line Number
      M必须(Mandatory)
      Repeat 1

      To reference a line number in a transaction set

    • N1Loop2Party Identification LOOPO可选(Optional)Repeat 1
      N1N2N3N4NM1NTE
      • N1
        Party Identification
        M必须(Mandatory)
        Repeat 1

        To identify a party by type of organization, name, and code

      • N2
        Additional Name Information
        O可选(Optional)
        Repeat 2

        To specify additional names

      • N3
        Party Location
        O可选(Optional)
        Repeat 2

        To specify the location of the named party

      • N4
        Geographic Location
        O可选(Optional)
        Repeat 1

        To specify the geographic place of the named party

      • NM1
        Individual or Organizational Name
        O可选(Optional)
        Repeat 1

        To supply the full name of an individual or organizational entity

      • NTE
        Note/Special Instruction
        O可选(Optional)
        Repeat 1

        To transmit information in a free-form format, if necessary, for comment or special instruction

    • EFILoop1Electronic Format Identification LOOPO可选(Optional)Repeat 1
      EFIBIN
      • EFI
        Electronic Format Identification
        M必须(Mandatory)
        Repeat 1

        To provide basic information about the electronic format of the interchange data

      • BIN
        Binary Data Segment
        M必须(Mandatory)
        Repeat 1

        To transfer binary data in a single data segment and allow identification of the end of the data segment through a count; there is no identification of the internal structure of the binary data in this segment

    • L11Loop1Business Instructions and Reference Number LOOPM必须(Mandatory)Repeat > 1
      L11MS2LSLoop1EFILoop2
      • L11
        Business Instructions and Reference Number
        M必须(Mandatory)
        Repeat 1

        To specify instructions in this business relationship or a reference number

      • MS2
        Equipment or Container Owner and Type
        O可选(Optional)
        Repeat > 1

        To specify the owner, the identification number assigned by that owner, and the type of equipment

      • LSLoop1Loop Header LOOPO可选(Optional)Repeat 1
        LSMANLoop1LE
        • LS
          Loop Header
          M必须(Mandatory)
          Repeat 1

          To indicate that the next segment begins a loop

        • MANLoop1Marks and Numbers Information LOOPO可选(Optional)Repeat > 1
          MANL11AT7CD3NM1Q7
          • MAN
            Marks and Numbers Information
            M必须(Mandatory)
            Repeat 1

            To indicate identifying marks and numbers for shipping containers

          • L11
            Business Instructions and Reference Number
            O可选(Optional)
            Repeat > 1

            To specify instructions in this business relationship or a reference number

          • AT7
            Shipment Status Details
            O可选(Optional)
            Repeat > 1

            To specify the status of a shipment, the reason for that status, the date and time of the status and the date and time of any appointments scheduled.

          • CD3
            Carton (Package) Detail
            O可选(Optional)
            Repeat > 1

            To transmit identifying codes, weights, and other related information related to an individual carton (package)

          • NM1
            Individual or Organizational Name
            O可选(Optional)
            Repeat 1

            To supply the full name of an individual or organizational entity

          • Q7
            Lading Exception Status
            O可选(Optional)
            Repeat > 1

            To specify the status of the shipment in terms of lading exception information

        • LE
          Loop Trailer
          M必须(Mandatory)
          Repeat 1

          To indicate that the loop immediately preceding this segment is complete

      • EFILoop2Electronic Format Identification LOOPO可选(Optional)Repeat 1
        EFIBIN
        • EFI
          Electronic Format Identification
          M必须(Mandatory)
          Repeat 1

          To provide basic information about the electronic format of the interchange data

        • BIN
          Binary Data Segment
          M必须(Mandatory)
          Repeat 1

          To transfer binary data in a single data segment and allow identification of the end of the data segment through a count; there is no identification of the internal structure of the binary data in this segment

  • SE
    Transaction Set Trailer
    M必须(Mandatory)
    Repeat 1

    To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Segment
X12 EDI Release 00504
To indicate the start of a transaction set and to assign a control number
Elements
  • ST01143Transaction Set Identifier Code
    ID
    M必须(Mandatory)
    Min 3 / Max 3

    Code uniquely identifying a Transaction Set

    Codes (320)
  • ST02329Transaction Set Control Number
    AN
    M必须(Mandatory)
    Min 4 / Max 9

    Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

  • ST031705Implementation Convention Preference
    AN
    O可选(Optional)
    Min 1 / Max 9

    Reference assigned to identify Implementation Convention