GENRALGeneral purpose

A message to enable the transmission of textual information.

  • UNH
    M必须(Mandatory)
    Repeat 1

    To head, identify and specify a message.

  • BGM
    BEGINNING OF MESSAGE
    M必须(Mandatory)
    Repeat 1

    To indicate the type and function of a message and to transmit the identifying number.

  • DTM
    DATE/TIME/PERIOD
    O可选(Optional)
    Repeat 1

    To specify date, and/or time, or period.

  • RFFLoop1REFERENCE LOOPO可选(Optional)Repeat 10
    RFFDTM
    • RFF
      REFERENCE
      M必须(Mandatory)
      Repeat 1

      To specify a reference.

    • DTM
      DATE/TIME/PERIOD
      O可选(Optional)
      Repeat 10

      To specify date, and/or time, or period.

  • NADLoop1NAME AND ADDRESS LOOPO可选(Optional)Repeat 2
    NADLOCRFFLoop2CTALoop1
    • NAD
      NAME AND ADDRESS
      M必须(Mandatory)
      Repeat 1

      To specify the name/address and their related function, either by CO82 only and/or unstructured by CO58 or structured by CO80 thru 3207.

    • LOC
      PLACE/LOCATION IDENTIFICATION
      O可选(Optional)
      Repeat 5

      To identify a country/place/location/related location one/related location two.

    • RFFLoop2REFERENCE LOOPO可选(Optional)Repeat 10
      RFFDTM
      • RFF
        REFERENCE
        M必须(Mandatory)
        Repeat 1

        To specify a reference.

      • DTM
        DATE/TIME/PERIOD
        O可选(Optional)
        Repeat 10

        To specify date, and/or time, or period.

    • CTALoop1CONTACT INFORMATION LOOPO可选(Optional)Repeat 5
      CTACOM
      • CTA
        CONTACT INFORMATION
        M必须(Mandatory)
        Repeat 1

        To identify a person or a department to whom communication should be directed.

      • COM
        COMMUNICATION CONTACT
        O可选(Optional)
        Repeat 1

        To identify a communication number of a department or a person to whom communication should be directed.

  • FTXLoop1FREE TEXT LOOPO可选(Optional)Repeat 100
    FTXNADLoop2
    • FTX
      FREE TEXT
      M必须(Mandatory)
      Repeat 1

      To provide free form or coded text information.

    • NADLoop2NAME AND ADDRESS LOOPO可选(Optional)Repeat 100
      NADLOCRFFLoop3CTALoop2
      • NAD
        NAME AND ADDRESS
        M必须(Mandatory)
        Repeat 1

        To specify the name/address and their related function, either by CO82 only and/or unstructured by CO58 or structured by CO80 thru 3207.

      • LOC
        PLACE/LOCATION IDENTIFICATION
        O可选(Optional)
        Repeat 5

        To identify a country/place/location/related location one/related location two.

      • RFFLoop3REFERENCE LOOPO可选(Optional)Repeat 10
        RFFDTM
        • RFF
          REFERENCE
          M必须(Mandatory)
          Repeat 1

          To specify a reference.

        • DTM
          DATE/TIME/PERIOD
          O可选(Optional)
          Repeat 10

          To specify date, and/or time, or period.

      • CTALoop2CONTACT INFORMATION LOOPO可选(Optional)Repeat 5
        CTACOM
        • CTA
          CONTACT INFORMATION
          M必须(Mandatory)
          Repeat 1

          To identify a person or a department to whom communication should be directed.

        • COM
          COMMUNICATION CONTACT
          O可选(Optional)
          Repeat 5

          To identify a communication number of a department or a person to whom communication should be directed.

  • UNT
    M必须(Mandatory)
    Repeat 1

    To end and check the completeness of a message.

Segment
EDIFACT EDI Release D96A
To head, identify and specify a message.
Elements
  • UNH010062MESSAGE REFERENCE NUMBER
    AN
    M必须(Mandatory)
    Min 0 / Max 14

    Unique message reference assigned by the sender.

  • UNH02S009MESSAGE IDENTIFIERM必须(Mandatory)
    00650052005400510057
    • UNH02010065Message type identifier
      ID
      M必须(Mandatory)
      Min 0 / Max 6

      Code identifying a type of message and assigned by its controlling agency.

      Codes (126)
    • UNH02020052Message type version number
      AN
      M必须(Mandatory)
      Min 0 / Max 3

      Version number of a message type.

    • UNH02030054Message type release number
      AN
      M必须(Mandatory)
      Min 0 / Max 3

      Release number within the current message type version number (0052).

    • UNH02040051Controlling agency
      ID
      M必须(Mandatory)
      Min 0 / Max 2

      Code to identify the agency controlling the specification, maintenance and publication of the message type.

      Codes (20)
    • UNH02050057Association assigned code
      AN
      O可选(Optional)
      Min 0 / Max 6

      A code assigned by the association responsible for the design and maintenance of the message type concerned, which further identifies the message.

  • UNH030068COMMON ACCESS REFERENCE
    AN
    O可选(Optional)
    Min 0 / Max 35

    Reference serving as a key to relate all subsequent transfers of data to the same business case or file.

  • UNH04S010STATUS OF THE TRANSFERO可选(Optional)
    00700073
    • UNH04010070Sequence message transfer number
      N
      M必须(Mandatory)
      Min 0 / Max 2

      Number assigned by the sender indicating the numerical sequence of one or more transfers.

    • UNH04020073First/last sequence message transfer indication
      ID
      O可选(Optional)
      Min 1 / Max 1

      Indication used for the first and last message in a sequence of the same type of message relating to the same topic.

      Codes (2)