GetByKey Method (JobSchedExec)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified job sched exec record from the Job_Sched_exec table.
'Usage
Dim entId As Integer
Dim value As DataSet
value = JobSchedExec.GetByKey(entId)
Parameters
- entId
- Required. The ID of the entity to which the job sched exec record belongs.
Return Value
Returns a DataSet that contains the DataRow of the specified work order file record in the Job_Sched_Exec table. If no matching record for the specified job sched exec record is found, an empty DataSet is returned.