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

CAL Calendar

To identify the calendar and working shift details for the plan or schedule
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
128
Reference Number Qualifier
Identifier (ID)
Mandatory
2
2
-
Code qualifying the Reference Number.
CAL01 identifies whether a reference number is a calendar or shift.
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
Unit of Time Period or Interval
Identifier (ID)
Optional
2
2
-
Code indicating the time period or interval
Codes (23)
04
Date/Time Qualifier
Identifier (ID)
Optional
3
3
-
Code specifying type of date or time, or both date and time.
Codes (475)
05
Date
Date (DT)
Optional
6
6
-
Date (YYMMDD).
06
Time
Time (TM)
Optional
4
6
-
Time expressed in 24-hour clock time (HHMMSS) (Time range: 000000 through 235959)
07
Time Code
Identifier (ID)
Optional
2
2
-
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time. Since + is a restricted character, + and - are substituted by P and M in the codes that follow.
Codes (39)
08
Ship/Delivery or Calendar Pattern Code
Identifier (ID)
Optional
1
2
-
Code which specifies the routine shipments, deliveries, or calendar pattern.
Codes (40)
09
Date/Time Qualifier
Identifier (ID)
Optional
3
3
-
Code specifying type of date or time, or both date and time.
Codes (475)
10
Date
Date (DT)
Optional
6
6
-
Date (YYMMDD).
11
Time
Time (TM)
Optional
4
6
-
Time expressed in 24-hour clock time (HHMMSS) (Time range: 000000 through 235959)
12
Time Code
Identifier (ID)
Optional
2
2
-
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time. Since + is a restricted character, + and - are substituted by P and M in the codes that follow.
Codes (39)
13
Ship/Delivery or Calendar Pattern Code
Identifier (ID)
Optional
1
2
-
Code which specifies the routine shipments, deliveries, or calendar pattern.
Codes (40)
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.