GetJobStates Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetJobs() method retrieves the job states that are valid for a job.
'Declaration
Public Shared Function GetJobStates() As DataSet
public static DataSet GetJobStates()
Return Value
Returns a DataSet that contains all the records in the Job State table.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
state_cd |
An integer that is the job state code. |
|
state_desc |
A string that describes the job state. |
|
color |
An integer that is the RGB value of the color that should be displayed for the job state. |
|
last-edit_comment |
A string that contains comments about why the record was added or updated. |
|
last_edit_by |
A string that is the ID of the user who added or last updated this record. |
|
Last_edit_at |
A datetime that indicates when the record was added or last updated. |