UN-EDIFACT EDIs are having UNB…UNZ segments for the Header, Trailer details
It has the following Elements in their UNB, UNZ segments
UNB
S001
0001 Default Value is UNOA
0002 Default Value is 2
S002
0004 Sender Id (Default Value is YML)
S003
0010 Recipient Id (Default Value is HIT)
S004
0017 Date of Preparation
0019 Time of Preparation
0020 Interchange Control Sequence No. (will generate automatically)
UNH
0062 Message Reference Number (for each file start from 0001)
S009
0065 Message Type
0052 Message Type Version Number
0054 Message Type Release Number
0051 Controlling Agency
0057
0068
S010
UNT
0074 Number of segments in a message
0062 Message Reference Number (same value as UNH.0062)
UNZ
0036 Interchange Control count
0020 Interchange Control Reference (same value as UNB.0020)
Groups
Group is a collection of segments, which will be repeated one or more than one times.
It can be Mandatory/Optional as per requirement.
It can not be child for Segment, Element and Composite Element.
Segment
Segment is collection of Elements, which will be repeated one ore more than one times.
It can be a child for Groups.
It can not be child for Element and Composite Element.
Element
Element is a data field, which is having the datas. It can be Number, Character.
It can be controlled by the length.
It can be a child for Segment.
It can not be child for Group
Composite Element
Composite Element is a collection of Elements. It is having more than one elements.
It can be a child for Segment.
It can not be child for Group.
STANDARD UN EDIFACT DELIMITERS
End of the Line -- ' (Single Quote)
Between Segment and Element -- + (Plus Sign)
Between Elements -- + (Plus Sign)
Between Elements in a Composite Element -- : (Colon)
Escape Character -- ? (Question Mark)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.