EDI

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

242 Data Status Tracking

Functional Group DS

This Draft Standard for Trial Use contains the format and establishes the data contents of the Data Status Tracking Transaction Set (242) within the context of an Electronic Data Interchange (EDI) environment. This management transaction set is the vehicle by which the transmission status information is conveyed by a service request handler to the interchange sender, interchange receiver, or both; it can be used to provide status information regarding interchange as it flows from an interchange sender through one or more service request handlers to an interchange receiver during its transmission cycle. It can be used by the interchange sender or interchange receiver to request from a service request handler ad hoc or periodic reports containing status information regarding interchanges.

Heading

Sequence
Segment
Name
Max use
0100
Transaction Set HeaderMandatory
Max 1
To indicate the start of a transaction set and to assign a control number
0200
Beginning SegmentMandatory
Max 1
To indicate the beginning of a transaction set
0300
Report Selection Segment
Max 1
To identify report selection criteria
0400
Date or Time or Period
Max 10
To specify any or all of a date, a time, or a time period
The DTP segment is used to provide date/times or date/time ranges associated with the report being requested or provided, for example the start and end dates and time of the report.
0500
Reference Identification
Max 10
To specify identifying information
The REF segment contains reference numbers to further identify the report or specify the report request.
0600
Message Text
Max 1
To provide a free-form format that allows the transmission of text information
The MSG segment contains the report title.
HL Loop
Repeat >1
0700
Hierarchical Level
Max 1
To identify dependencies among and the content of hierarchically related groups of data segments
HL identifies the appropriate hierarchical interchange level: HL03 indicates Interchange (IN), Functional Group (FG), Transaction Set (TS). All levels are optional. All hierarchical levels that are used must be used in the hierarchical order that they are listed.
0800
Interchange Identification Segment
Max 1
To uniquely identify interchange control structures
0900
Name
Max 1
To identify a party by type of organization, name, and code
The N1 segment identifies the source of the following status information.
1000
Reference Identification
Max 10
To specify identifying information
The REF segment contains reference numbers assigned by the party identified in the N1 segment that further identifies the interchange, functional group or transaction set.
1100
Quantity
Max >1
To specify quantity information
The QTY segments can be used to report aggregate counts (e.g., number of functional groups and segments) that were contained in the interchange, functional group or transaction set that is being tracked.
STS Loop
Repeat >1
1200
Interchange Status Segment
Max 1
To identify activity taken with an interchange
The STS segment provides status as reported by the source identified in the preceding N1 loop.
1300
Name
Max 1
To identify a party by type of organization, name, and code
The N1 segment identifies the source of the status information included; provided only if the source is different from that in the HL loop N1 segment.
1400
Reference Identification
Max 10
To specify identifying information
The REF segment provides reference numbers assigned by the party identified in the N1 segment that further identifies the status or error reported in STS (e.g., file number, message Id).
1500
Quantity
Max >1
To specify quantity information
The QTY segments can be used to report aggregate counts from the status report that were contained in the interchange, functional group or transaction set that is being tracked.
1600
Transaction Set TrailerMandatory
Max 1
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
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.