job_step_grp
- Last UpdatedNov 20, 2024
- 1 minute read
The job_step_grp table provides the ability to override job step groups for specific job instances. It gets a copy of oper_step_grp data (if any) when the job is instantiated.
The ‘repeatability’ field is used to specify the repeatability of steps in this group. This field is set = 0 for setup and teardown steps that are only performed once during the execution of the job, = 1 if the steps should be repeated for each lot that is produced. Future settings could be used to specify steps that need to be performed at shift start only etc.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
wo_id |
string40 |
Y |
N |
Identify work order |
|
oper_id |
string40 |
Y |
N |
Identify operation |
|
seq_no |
int32 |
Y |
N |
Identify row in job table |
|
step_grp_id |
int32 |
Y |
N |
Identify step group |
|
step_grp_desc |
string80 |
N |
N |
Description for this step group |
|
step_grp_seq |
int32 |
N |
N |
Sequence to perform step groups. Same seq means groups can be done concurrently. |
|
repeatability |
int32 |
N |
N |
Enumeration of ways in which steps in this group are to be repeated: 0 = only performed once during the execution of the job, as for setup and teardown steps; 1 = steps should be repeated for each lot that is produced (default) |
|
last_edit_comment |
string254 |
N |
Y |
Reserved for internal use to indicate why this record was changed |
|
last_edit_by |
string40 |
N |
Y |
Who last changed this record |
|
last_edit_at |
tdatetime |
N |
N |
When this record was last changed |
|
row_id |
ID 1 |
N |
N |
Unique row identifier, for audit trail. |
FK from wo_id, oper_id, seq_no to job. (Cascade delete)