oper_ent_route
- Last UpdatedNov 20, 2024
- 1 minute read
The oper_ent_route table defines the flow of produced quantities from one entity for one operation to another. It is used to populate the job_route table when a job is instantiated from a process.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
process_id |
string40 |
Y |
N |
Identify process |
|
oper_id |
string40 |
Y |
N |
Identify operation for this process |
|
ent_id |
int32 |
Y |
N |
Entity on which operation being done |
|
input_oper_id |
string40 |
Y |
N |
Identify predecessor operation and entity; no record in this table for first operation of a route |
|
input_ent_id |
int32 |
Y |
N |
|
|
input_percent |
tfloat |
N |
N |
How much of predecessor’s production comes here (Default = 100% = 1.00) |
|
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 |
|
mod_id |
timestamp |
N |
N |
A binary number that increments each time the row is modified. |
|
row_id |
ID 1 |
N |
N |
Unique row identifier, for audit trail. |
FK from process_id, oper_id, ent_id to oper_ent_link. (Cascade delete implemented by SP)
FK process_id, input_oper_id, input_ent_id to oper_ent_link. (Cascade delete implemented by SP)