so_wo_link
- Last UpdatedNov 20, 2024
- 1 minute read
Note: This table is currently not used.
The so_wo_link table allows a many-to-many relationship between sales orders and work orders.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
cust_id |
string40 |
Y |
N |
Identify customer |
|
po_id |
string40 |
Y |
N |
Identify customer PO |
|
so_line_no |
int32 |
Y |
N |
Identify line in SO |
|
wo_id |
string40 |
Y |
N |
Identify work order to fulfill line |
|
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 cust_id, po_id, so_line_no to so_line. (Cascade delete)
FK from wo_id to wo. (Cascade delete)