AK3 Data Segment Note

To report errors in a data segment and to identify the location of the data segment.

Position
Element
Name
Type
Requirement
Min
Max
Repeat
AK3-01
Segment ID Code
Identifier (ID)
Mandatory
2
3
-
Code defining the segment ID of the data segment in error. See Appendix A - Number 77.
AK3-02
Segment Position in Transaction Set
Numeric (N0)
Mandatory
1
6
-
The numerical count position of this data segment from the start of the transaction set: the transaction set header is count position 1.
AK3-03
Loop Identifier Code
Identifier (ID)
Optional
1
4
-
Code identifying a loop within the transaction set which is bounded by the related LS and LE segments (corresponding LS and LE segments must have the same value for loop identifier). (Note: The loop ID number given on the transaction set diagram is recommended as the value for this data element in segments LS and LE.)
AK3-04
Segment Syntax Error Code
Identifier (ID)
Optional
1
3
-
Code indicating error found based on the syntax editing of a segment
AK3-05
Segment Syntax Error Code
Identifier (ID)
Optional
1
3
-
Code indicating error found based on the syntax editing of a segment
AK3-06
Segment Syntax Error Code
Identifier (ID)
Optional
1
3
-
Code indicating error found based on the syntax editing of a segment
AK3-07
Segment Syntax Error Code
Identifier (ID)
Optional
1
3
-
Code indicating error found based on the syntax editing of a segment
AK3-08
Segment Syntax Error Code
Identifier (ID)
Optional
1
3
-
Code indicating error found based on the syntax editing of a segment

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is 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.