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 C082 only and/or unstructured by C058 or structured by C080 thru 3207.

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

      To identify a place or a location and/or related locations.

    • 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 9

        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 C082 only and/or unstructured by C058 or structured by C080 thru 3207.

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

        To identify a place or a location and/or related locations.

      • 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 D01B
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)
    0065005200540051005701100113
    • UNH02010065Message type
      ID
      M必须(Mandatory)
      Min 0 / Max 6

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

      Codes (211)
    • UNH02020052Message version number
      ID
      M必须(Mandatory)
      Min 0 / Max 3

      Version number of a message type.

      Codes (8)
    • UNH02030054Message release number
      ID
      M必须(Mandatory)
      Min 0 / Max 3

      Release number within the current message version number.

      Codes (55)
    • UNH02040051Controlling agency, coded
      ID
      M必须(Mandatory)
      Min 0 / Max 3

      Code identifying a controlling agency.

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

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

    • UNH02060110Code list directory version number
      AN
      O可选(Optional)
      Min 0 / Max 6

      Version number of the code list directory.

    • UNH02070113Message type sub-function identification
      ID
      O可选(Optional)
      Min 0 / Max 6

      Code identifying a sub-function of a message type.

      Codes (21)
  • 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 of transfers
      N
      M必须(Mandatory)
      Min 0 / Max 2

      Number assigned by the sender indicating the transfer sequence of a message related to the same topic. The message could be an addition or a change to an earlier transfer related to the same topic.

    • UNH04020073First and last transfer
      ID
      O可选(Optional)
      Min 1 / Max 1

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

      Codes (2)
  • UNH05S016MESSAGE SUBSET IDENTIFICATIONO可选(Optional)
    0115011601180051
    • UNH05010115Message subset identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Coded identification of a message subset, assigned by its controlling agency.

    • UNH05020116Message subset version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of the message subset.

    • UNH05030118Message subset release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the message subset version number.

    • UNH05040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)
  • UNH06S017MESSAGE IMPLEMENTATION GUIDELINE IDENTIFICATIONO可选(Optional)
    0121012201240051
    • UNH06010121Message implementation guideline identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Coded identification of the message implementation guideline, assigned by its controlling agency.

    • UNH06020122Message implementation guideline version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of the message implementation guideline.

    • UNH06030124Message implementation guideline release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the message implementation guideline version number.

    • UNH06040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)
  • UNH07S018SCENARIO IDENTIFICATIONO可选(Optional)
    0127012801300051
    • UNH07010127Scenario identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Code identifying scenario.

    • UNH07020128Scenario version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of a scenario.

    • UNH07030130Scenario release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the scenario version number.

    • UNH07040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)