Delete Method (JobHistory)
- Last UpdatedNov 06, 2025
- 1 minute read
The Delete() method deletes the specified job history record.
Note: Use extreme caution when deleting a job history record, since it also removes all the statistics for the job that were recorded in the Job_Hour_History table.
public static void Delete(
int sessionId,
int entityId,
string woId,
string operId,
int seqNo,
DateTime jobStartUtc
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- entityId
- Required. Holds the entity ID of the job.
- woId
- Required. Holds the work order ID of the job.
- operId
- Required. Holds the operation ID of the job.
- seqNo
- Required. Holds the sequence number of the job.
- jobStartUtc
- Required. Holds the start date/time (in UTC format) of the job.