Click or drag to resize
JobType table
Print this page

The JobType table provides access to an organization's job types, such as STOP, DEPOT, or any other job types defined. Use the Job table to assign a job type to a job.

Note Note

This table supports Response integrations for Fleet accounts.

This topic contains the following sections:

Requirements

When you write templates that access this table, follow these requirements:

  1. Specify the Symbolic Name for the table version to use:

    TableID = JobType-1.0

  2. Specify an Intent that this table supports:

    • Retrieve
    • Create

  3. Retrieve templates: This table does not require the use of a fetcher. However, the following fetchers are available to optimize your query and are listed from most efficient to least:
    1. Id (Equals/In)
      [Filter]
      Id(ExtId) = Equals(Id1)   # You can filter on literals or on variables from the [User] or [Calculated] sections.
      [Filter]
      Id(ExtId) = In(["Id1","Id2","Id3"])
JobType column descriptions

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 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 job type.
Name Text (Telogis key) The name of the job type.
ListColor Color The background color displayed for the job type in vehicle lists.
DefaultTimeOnSite TimeInterval (read-only) The default time on site value to use when creating jobs from within the Fleet UI.

Additional columns:

Column Data Type Description
CustomerId Id (read-only, all Fleet tables) The ID of the customer/owner.
CustomerFullName Text (read-only, all Fleet tables) The human-readable full name of the customer/owner.
Custom 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].