Class Job
Wraps a job.
Inherited Members
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class Job : HasCustomFieldValues
Constructors
Job(Int32)
Creates a job object intended to be used to update a job.
Declaration
public Job(int jobId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | jobId_ | Identifies an existing job. |
Job(Int32, String, Int32)
Creates a job object intended to be used to create a new job.
Declaration
public Job(int accountId_, string jobName_, int processId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | accountId_ | Account to which the job will belong. |
| System.String | jobName_ | Name to use for the new job. |
| System.Int32 | processId_ | Process to use when creating the job. |
Properties
AccountId
Account to which this job belongs.
Declaration
public int AccountId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
AccountName
Account to which this job belongs.
Declaration
public string AccountName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Address
Job address.
When querying for a job, this will be set to Nothing if there is no job address.
Declaration
public Address Address { get; set; }
Property Value
| Type | Description |
|---|---|
| Address |
Contacts
List of contacts taken from the account.
Declaration
public JobContactContainer Contacts { get; }
Property Value
| Type | Description |
|---|---|
| JobContactContainer |
CreationDate
Creation date.
Declaration
public DateTime CreationDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
JobId
Job id.
Declaration
public int JobId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
JobName
Job name.
Declaration
public string JobName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
JobPhases
Phases for this job.
Declaration
public List<JobPhase> JobPhases { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<JobPhase> |
JobStatus
Status of the job.
Declaration
public Job.JobStatus_Enum JobStatus { get; }
Property Value
| Type | Description |
|---|---|
| Job.JobStatus_Enum |
Notes
Notes.
Declaration
public string Notes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ProcessId
JTProcess to which this Job is assigned.
Declaration
public int ProcessId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ProcessName
Name of the JTProcess to which this Job is assigned.
Declaration
public string ProcessName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SalespersonId
Salesperson Id.
When you set this property, the SalespersonName property is automatically cleared.
Declaration
public int? SalespersonId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
SalespersonName
Salesperson name.
When you set this property, the SalespersonId property is automatically cleared.
Declaration
public string SalespersonName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |