AK3 Data Segment Note

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

Position
Element
Name
Type
Requirement
Min
Max
Repeat
AK301
Segment ID Code
Identifier (ID)
Mandatory
2
3
1
Code defining the segment ID of the data segment in error (See Appendix A - Number 77)
AK302
Segment Position in Transaction Set
Numeric (N0)
Mandatory
1
6
1
The numerical count position of this data segment from the start of the transaction set: the transaction set header is count position 1
AK303
Loop Identifier Code
String (AN)
Optional
1
4
1
The loop ID number given on the transaction set diagram is the value for this data element in segments LS and LE
AK304
Segment Syntax Error Code
Identifier (ID)
Optional
1
3
1
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.