Document toolboxDocument toolbox

14.1 sp158_job_oper_dependencies

Each record in this table represents an operative dependency between two jobs in the schedule. The operative constraint indicates whether both jobs in the dependency should be assigned to the same, different or any operative.

HouseKeeping

This table is tidied by sp_dbtidy's Job group.


 

Table Definition

Field
Type
Default
Nullable
target_job_nonumber(9)   (error)
dependent_job_nonumber(9)   (error)
operative_constraintnumber(1)  (error)
dependency_group_nonumber(9)  (error)

Keys 

primary_key(dependency_group_id, target_job_no, dependent_job_no) 
foreign key(dependency_group_no) references 14.1 sp156_job_dependency_groups(dependency_group_no) 
foreign key (target_job_no) references 14.1 sp111_jobs (job_no) 
foreign key(dependent_job_no) references sp111_jobs(job_no)

Column Descriptions

FieldDescription
target_job_noThe job number for the target job in the dependency.
dependent_job_noThe job number for the dependent job in the dependency. 
operative_constraint

Specifies whether the target and dependent job must be carried out by the same or different operatives or whether any operative assignment is okay.

0 – None.

1 – Same.

2 – Different

dependency_group_noCross-references sp156_job_dependency_groups. dependency_group_no.