Appendix A: Object Location
All data segment, composite element and data element entities in the SEF file
can be identified by their location. Each location is unique, and
basically describes the hierarchical position of an entity in the
guideline. The hierarchical syntax that describes objects in their
location are as follows:
Object in an
ASC/X12 Transaction Set or UN/EDIFACT Message
Objects in a Transaction Set or Message are described using the following
syntax:
<location> := <transaction set/message ID> "/" <data
segment ordinal> "///" [<element ordinal>]
<element ordinal> := <simple element ordinal> | <composite
element ordinal> ["-" <component element ordinal>]
For example,
ORDRSP/2///3 is the location of the data element 1225 in the UN/EDIFACT ORDRSP
Purchase Order Response Message.
ORDRSP is the UN/EDIFACT Message ID.
2 is the ordinal position of the data segment BGM in the message.
3 is the ordinal position of the data element 1225 in the data segment.
850/22///4-1 is the location of component data element 355 in the ASC/X12 810
Purchase Order Transaction Set.
850 is the ASC/X12 Transaction Set ID.
22 is the ordinal position of the data segment MEA in the transaction set.
4 is the ordinal position of the composite element C001 in the data segment.
1 is the ordinal position of the component element 355 in the composite
element.
ORDERS/4/// is the location of the data segment PAI in the UN/EDIFACT ORDERS
Purchase Order Message.
ORDERS is the UN/EDIFACT Message ID.
4 is the ordinal position of the data segment PAI.
ORDERS/6///3 is the location of the composite element C273 in the UN/EDIFACT
ORDERS Purchase Order Message.
ORDERS is the UN/EDIFACT Message ID.
6 is the ordinal position of the data segment IMD in the message.
3 is the ordinal position of the composite element C273 in the data segment.
Object in a Data Segment Dictionary
Objects in a Data Segment Dictionary are described using the following syntax.
<location> := "//" <data segment ID> "//"
[<element ordinal>]
<element ordinal> := <simple element ordinal> | <composite
element ordinal> ["-" <component element ordinal>]
For example,
//N4// is the location of the data segment in the dictionary.
N4 is the data segment ID in the dictionary.
//MEA//4 is the location of the composite element C001 in data segment MEA.
MEA is the data segment in the dictionary.
4 is the ordinal position of the composite element C001 in the data segment.
//UNB//2-3 is the location of component element 0008 in data segment UNB.
UNB is the data segment in the dictionary.
2 is the ordinal position of the composite element S002 in the data segment.
3 is the ordinal position of the component element 0008 in the composite
element.
Object in a Composite Element
Dictionary
Objects in a Composite Element Dictionary are described using the following
syntax:
<location> := "///" <composite element ID> "/"
[<component element ordinal>]
For example,
///S001/ is the location of the composite element in the Composite Element
Dictionary.
S001 is the composite element ID.
///S002/2 is the location of the component element 0007 in the composite
element S002.
S002 is the composite element ID in the dictionary.
2 is the ordinal number of the data element 0007 in the composite element.
Object in a Data Element Dictionary
Objects in a Data Element Dictionary are described using the following syntax:
<location> := "///" <data element ID> "/"
For example,
///128/ is the data element in the Data Element Dictionary.
128 is the data element ID.
///1001/ is the data element in the Data Element Dictionary.
1001 is the data element ID.