Docstoc

The Envelope

Document Sample
The Envelope Powered By Docstoc
					                             The Envelope




The Envelope comprises the following information:

UNA Segment        Identifies the special characters used. It is required only
                   if characters other than the standard ones are used.

UNB Segment        This identifies the character set used, the interchange
                   sender and receiver, the date and time that the
                   interchange was sent and whether or not the
                   interchange was a test.

UNZ Segment        Marks the end of an interchange.
                   Contains a control total, the number of messages in the
                   interchange




A copy of each envelope segment follows:
Segment:   UNA Service string advice
             Position:    0010
              Group:
               Level:     0
              Usage:      Conditional
             Max Use:     1
               Notes:     Identifies the special characters used. It is required only if characters other than
                          the standard ones are used.


                          Example:     UNA:+.? '

                          Note that there is a space between the question mark and the apostrophe.


                                     Data Element Summary
                Data    Component
              Element    Element Name
             Attributes
Must Use         01       U001    Component element separator                                  O an..1
                                  Separator for individual component elements within a data element.
                                  The standard is a colon. An entry is required if any other character is
                                  used; otherwise a space may be left in this position.



Must Use         02        U002      Segment tag and data element separator                        O an..1
                                     Separator of segment tag from first data element in the segment and of data
                                     elements, or their grouped component elements, in a segment from each other.
                                     The standard is a plus sign. An entry is required if any other character is
                                     used; otherwise a space may be left in this position.



Must Use         03        U003      Decimal indicator                                            O an..1
                                     Indicator for a decimal place.
                                     The standard is a full stop. An entry is required if any other character is
                                     used; otherwise a space may be left in this position.



Must Use         04        U004      Release character                                                 O an..1
                                     Character that precedes any of the component element characters appearing in
                                     this segment to signify that the next single character is not to be interpreted a
                                     syntax separator, terminator or release character.
                                     The standard is a question mark. An entry is required if any other
                                     character is used; otherwise a space may be left in this position.



Must Use         05        U005      Reserved for future use                                          O    an..1
                                     A space must be left in this position.



Must Use         06        U006      Segment terminator                                               O    an..1
                                     Terminator for a segment
The standard is an apostrophe. An entry is required if any other
character is used; otherwise a space may be left in this position.
           Segment:      UNB Interchange header
           Position:     0010
             Group:
              Level:     0
             Usage:      Mandatory
           Max Use:      1
             Notes:      This identifies the character set used, the interchange sender and receiver, the date
                         and time that the interchange was sent and whether or not the interchange was a
                         test.

                         Example:     UNB+UNOB:2+AHF00000+HIC00000+990816:1546+00005++++++1'

                         Note that the presence of consecutive + data element separators is intended. The
                         UN/EDIFACT structure expects five data elements are between numbers 0020 and 0035.
                         These elements are not used in this system. The consecutive + indicators reflect these
                         null elements.


                                    Data Element Summary
              Data    Component
            Element    Element Name
           Attributes
Must Use      S001              SYNTAX IDENTIFIER                                               M
                                Identification of the agency controlling the syntax and indication of syntax
                                level.
                                This data element has two component elements, both of which must be
                                used.



Must Use                 0001       Syntax identifier                                             M a4
                                    Coded identification of the agency controlling a syntax and syntax level used
                                    in an interchange.
                                    This component element has the fixed value UNOB.

                                        UNOB             UN/ECE level B
                                                         As defined in ISO 9735.
                                                         Standard UN/EDIFACT terminology.



Must Use                 0002       Syntax version number                                           M n1
                                    Version number of the syntax identified in the syntax identifier (0001).
                                    This component element has the fixed value 2.

                                        2                Version 2
                                                         ISO 9735:1990.
                                                         Standard UN/EDIFACT terminology.



Must Use     S002                   INTERCHANGE SENDER                                             M
                                    Identification of the sender of the interchange.
                                    This data element has just one component element.
Must Use          0004   Sender identification                                         M an..35
                         Name or coded representation of the sender of a data interchange.
                         The interchange sender’s minor customer ID.



Must Use   S003          INTERCHANGE RECIPIENT                                       M
                         Identification of the recipient of the interchange.
                         This data element has just one component element.



Must Use          0010   Recipient identification                                       M an..35
                         Name or coded representation of the recipient of a data interchange.
                         The interchange receiver’s minor customer ID.



Must Use   S004          DATE/TIME OF PREPARATION                                M
                         Date/time of preparation of the interchange.
                         This data element has two component elements, both of which must be
                         used.



Must Use          0017   Date of preparation                                          M n6
                         Local date when an interchange or a functional group was prepared.
                         Six digits must be entered in the format YYMMDD.



Must Use          0019   Time of preparation                                          M n4
                         Local time of day when an interchange or a functional group was prepared.
                         Four digits must be entered in the format HHMM.



Must Use   0020          INTERCHANGE CONTROL REFERENCE                              M an..14
                         Unique reference assigned by the sender to an interchange.
                         The reference number which distinguishes this interchange from any
                         other. These numbers are usually allocated in sequence by the sender of
                         the interchange.



           0035          TEST INDICATOR                                            C n1
                         Indication that the interchange is a test.
                         This element may be omitted if the interchange is NOT a test. Otherwise
                         the value 1 should be used.
           Segment:     UNZ Interchange trailer
           Position:    0040
             Group:
              Level:    0
             Usage:     Mandatory
           Max Use:     1
             Notes:     Marks the end of an interchange.
                        Contains a control total, the number of messages in the interchange.

                        Example:     UNZ+84+0005'


                                   Data Element Summary
              Data    Component
            Element    Element Name
           Attributes
Must Use      0036              INTERCHANGE CONTROL COUNT                                     M n..6
                                Count either of the number of messages or, if used, of the number of functional
                                groups in an interchange.
                                The number of messages in the interchange.



Must Use     0020                  INTERCHANGE CONTROL REFERENCE                              M an..14
                                   Unique reference assigned by the sender to an interchange.
                                   A repetition of the reference number allocated by the sender of the
                                   interchange and included in the UNB segment of the interchange header.

				
DOCUMENT INFO
Shared By:
Categories:
Tags: Envelope
Stats:
views:37
posted:5/5/2010
language:English
pages:6
Description: The Envelope