CAL Calendar
To identify the calendar and working shift details for the plan or schedule
Position
Element
Name
Type
Requirement
Min
Max
Repeat
CAL-01
Reference Identification Qualifier
Identifier (ID)
Mandatory
2
3
-
Code qualifying the Reference Identification
CAL01 identifies whether a reference number is a calendar or shift.
CAL-02
Reference Identification
String (AN)
Mandatory
1
80
-
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
CAL-03
Unit of Time Period or Interval
Identifier (ID)
Optional
2
2
-
Code indicating the time period or interval
CAL-04
Date/Time Qualifier
Identifier (ID)
Optional
3
3
-
Code specifying type of date or time, or both date and time
CAL-05
Date
Date (DT)
Optional
8
8
-
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
CAL-06
Time
Time (TM)
Optional
4
8
-
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
CAL-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
CAL-08
Ship/Delivery or Calendar Pattern Code
Identifier (ID)
Optional
1
2
-
Code which specifies the routine shipments, deliveries, or calendar pattern
CAL-09
Date/Time Qualifier
Identifier (ID)
Optional
3
3
-
Code specifying type of date or time, or both date and time
CAL-10
Date
Date (DT)
Optional
8
8
-
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
CAL-11
Time
Time (TM)
Optional
4
8
-
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
CAL-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
CAL-13
Ship/Delivery or Calendar Pattern Code
Identifier (ID)
Optional
1
2
-
Code which specifies the routine shipments, deliveries, or calendar pattern
CAL-14
Quantity Qualifier
Identifier (ID)
Conditional
2
2
-
Code specifying the type of quantity
CAL-15
Quantity
Decimal number (R)
Conditional
1
15
-
Numeric value of quantity
CAL-16
Free-form Description
String (AN)
Optional
1
45
-
Free-form descriptive text