Shift table |
Use the Shift table to define and manage work shifts for an organization.
Note |
---|
This table supports Response integrations for Fleet accounts. |
Each shift provides the following information that describes the work hours in a single day (24-hour period):
You can create shifts for fixed or variable start times. For fixed shifts, you specify only the start time and duration of the shift. For variable shifts that can start and end within a given time period, specify both the start and end time. For example, for an 8-hour shift that can start between 8:00 AM and 10:00 AM, specify EarliestStartTime=8:00:00 and LatestEndTime=18:00:00.
After you set up the work shifts, you can complete the following additional shift management tasks:
This topic contains the following sections:
To Create a shift, at a minimum the following columns must be provided:
To Update or Delete a Shift, only the Id is required.
When you write templates that access this table, follow these requirements:
Specify the Symbolic Name for the table version to use:
TableID = Shift-1.0
Specify an Intent that this table supports:
Input templates: In your [Output] section, be sure to map an input value to every table column that is flagged as being a primary key or required.
This list includes each column's name, which you use in expressions to retrieve or create data, and data type, which defines how the data is retrieved and set.
Note |
---|
If a column of data type Id is a primary key OR if it refers to other tables (Id <OtherTable>), then you can map it to an external key or, in some cases, a Telogis key. |
Column | Data Type | Description |
---|---|---|
Id | Id | (primary key) The ID of the shift. |
Name | Text | (Telogis key) The name of the shift. |
EarliestStartTime | TimeInterval | (required) The earliest time that the driver can begin work. |
LatestEndTime | TimeInterval | For variable shifts, the latest time that the driver can stop working. |
NormalDuration | TimeInterval | (required) The duration for which the driver can be paid at the normal rate, before triggering overtime. |
MaximumDuration | TimeInterval | (required) The maximum duration that the driver shift can be scheduled for, including overtime. |
Additional columns:
Column | Data Type | Description |
---|---|---|
Custom.name | Text | Specifies a user-defined custom column name to store additional information in the table. If the column name contains non-alphanumeric characters, enclose the value in brackets, for example Custom.[Special column]. |