DIRDEFDirectory definition

This Directory definition message (DIRDEF) permits the transfer of the contents of a UN/EDIFACT Directory set or parts thereof.

  • UNH
    M必须(Mandatory)
    Repeat 1

    To head, identify and specify a message.

  • BGM
    BEGINNING OF MESSAGE
    O可选(Optional)
    Repeat 1

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

  • DII
    DIRECTORY IDENTIFICATION
    M必须(Mandatory)
    Repeat 1

    To identify a directory and to give its release, status, controlling agency, language and maintenance operation.

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

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

  • FTX
    FREE TEXT
    O可选(Optional)
    Repeat 9

    To provide free form or coded text information.

  • NADLoop1NAME AND ADDRESS LOOPO可选(Optional)Repeat 9
    NADCTALoop1
    • 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.

    • CTALoop1CONTACT INFORMATION LOOPO可选(Optional)Repeat 9
      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.

  • MSGLoop1MESSAGE TYPE IDENTIFICATION LOOPO可选(Optional)Repeat 9999
    MSGFTXSGULoop1
    • MSG
      MESSAGE TYPE IDENTIFICATION
      M必须(Mandatory)
      Repeat 1

      To identify a message type and to give its class and maintenance operation.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 999

      To provide free form or coded text information.

    • SGULoop1SEGMENT USAGE DETAILS LOOPO可选(Optional)Repeat 999
      SGUFTXGRULoop1
      • SGU
        SEGMENT USAGE DETAILS
        M必须(Mandatory)
        Repeat 1

        To specify the details of the usage of a segment within a message type structure.

      • FTX
        FREE TEXT
        O可选(Optional)
        Repeat 99

        To provide free form or coded text information.

      • GRULoop1SEGMENT GROUP USAGE DETAILS LOOPO可选(Optional)Repeat 1
        GRUFTX
        • GRU
          SEGMENT GROUP USAGE DETAILS
          M必须(Mandatory)
          Repeat 1

          To specify the usage of a segment group within a message type structure and its maintenance operation.

        • FTX
          FREE TEXT
          O可选(Optional)
          Repeat 99

          To provide free form or coded text information.

  • SEGLoop1SEGMENT IDENTIFICATION LOOPO可选(Optional)Repeat 9999
    SEGFTXELU
    • SEG
      SEGMENT IDENTIFICATION
      M必须(Mandatory)
      Repeat 1

      To identify a segment and give its class and maintenance operation.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 9

      To provide free form or coded text information.

    • ELU
      DATA ELEMENT USAGE DETAILS
      O可选(Optional)
      Repeat 99

      To specify the usage of a data element.

  • CMPLoop1COMPOSITE DATA ELEMENT IDENTIFICATION LOOPO可选(Optional)Repeat 9999
    CMPFTXELU
    • CMP
      COMPOSITE DATA ELEMENT IDENTIFICATION
      M必须(Mandatory)
      Repeat 1

      To identify a composite data element and to give its class and maintenance operation.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 9

      To provide free form or coded text information.

    • ELU
      DATA ELEMENT USAGE DETAILS
      O可选(Optional)
      Repeat 99

      To specify the usage of a data element.

  • ELMLoop1SIMPLE DATA ELEMENT DETAILS LOOPO可选(Optional)Repeat 9999
    ELMFTX
    • ELM
      SIMPLE DATA ELEMENT DETAILS
      M必须(Mandatory)
      Repeat 1

      To identify a simple data element and give related details.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 9

      To provide free form or coded text information.

  • CDSLoop1CODE SET IDENTIFICATION LOOPO可选(Optional)Repeat 9999
    CDSFTXCDVLoop1
    • CDS
      CODE SET IDENTIFICATION
      M必须(Mandatory)
      Repeat 1

      To identify a code set and to give its class and maintenance operation.

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 9

      To provide free form or coded text information.

    • CDVLoop1CODE VALUE DEFINITION LOOPO可选(Optional)Repeat 9999
      CDVFTX
      • CDV
        CODE VALUE DEFINITION
        M必须(Mandatory)
        Repeat 1

        To provide information related to a code value.

      • FTX
        FREE TEXT
        O可选(Optional)
        Repeat 9

        To provide free form or coded text information.

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