EDI
API DocsTerminal
NEW!
Programmatically translate EDI to JSON with the EDI Core REST API
Get started in minutes →
Segment
in
X12 Release 003030

LOC Location

To describe the location in space and time of the axis of an item relative to an origin axis; euclidian geometry has been assumed with orthogonal axes; the sequence of axes has been chosen in the customary sequence of X, Y, and Z; however, it is possible to just use two dimensional space rather than three
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
128
Reference Number Qualifier
Identifier (ID)
Mandatory
2
2
-
Code qualifying the Reference Number.
LOC01 - LOC03 describes the item.
Codes (755)
02
Reference Number
String (AN)
Mandatory
1
30
-
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
03
Description
String (AN)
Optional
1
80
-
A free-form description to clarify the related data elements and their content.
04
Reference Number
String (AN)
Optional
1
30
-
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
LOC04 is a description of the positional reference point on the item.
05
Category
String (AN)
Optional
1
6
-
An alphanumeric identifier to represent the category to which the item belongs.
06
Reference Number Qualifier
Identifier (ID)
Conditional
2
2
-
Code qualifying the Reference Number.
Codes (755)
07
Reference Number
String (AN)
Conditional
1
30
-
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
P0607
08
Description
String (AN)
Optional
1
80
-
A free-form description to clarify the related data elements and their content.
LOC05 - LOC08 describes the environment in which the item is placed.
09
Reference Number
String (AN)
Optional
1
30
-
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
LOC09 is a description of the positional reference point in the environment. This is the origin of the original axes.
10
Measurement Value
Decimal number (R)
Conditional
1
10
-
The value of the measurement.
LOC10 - LOC15 describe the translation in the three dimensional space of the axes with respect to the original axes.
LOC10 is the principal X axis of the item.
LOC10 through LOC14 describe the principal XY plane of the item.
11
Unit or Basis for Measurement Code
Identifier (ID)
Optional
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
C1110
Codes (682)
12
Measurement Value
Decimal number (R)
Conditional
1
10
-
The value of the measurement.
13
Unit or Basis for Measurement Code
Identifier (ID)
Optional
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
C1312
Codes (682)
14
Measurement Value
Decimal number (R)
Conditional
1
10
-
The value of the measurement.
15
Unit or Basis for Measurement Code
Identifier (ID)
Optional
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
C1514
Codes (682)
16
Measurement Value
Decimal number (R)
Conditional
1
10
-
The value of the measurement.
LOC16 is measured with respect to the XY plane around the X axis.
17
Unit or Basis for Measurement Code
Identifier (ID)
Optional
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
C1716
All angular positions of an axis vector are measured in a counter-clockwise rotation around the original axis vector looking from the positive direction of the vector towards the origin. The angular unit is specified by the corresponding unit of measurement as in LOC17, LOC19, and LOC21.
Codes (682)
18
Measurement Value
Decimal number (R)
Conditional
1
10
-
The value of the measurement.
LOC18 is measured with respect to the YZ plane around the Y axis.
19
Unit or Basis for Measurement Code
Identifier (ID)
Optional
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
C1918
Codes (682)
20
Measurement Value
Decimal number (R)
Conditional
1
10
-
The value of the measurement.
LOC20 is measured with respect to the ZX plane around the Z axis.
21
Unit or Basis for Measurement Code
Identifier (ID)
Optional
2
2
-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
C2120
Codes (682)
22
Reference Number Qualifier
Identifier (ID)
Conditional
2
2
-
Code qualifying the Reference Number.
P2223
Codes (755)
23
Reference Number
String (AN)
Conditional
1
30
-
Reference number or identification number as defined for a particular Transaction Set, or as specified by the Reference Number Qualifier.
24
Description
String (AN)
Optional
1
80
-
A free-form description to clarify the related data elements and their content.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.