shipment_lot
- Last UpdatedNov 20, 2024
- 1 minute read
The shipment_lot table links shipments with the lots from which the items came.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
cust_id |
string40 |
N |
N |
Identify customer |
|
po_id |
string40 |
N |
N |
Identify customer PO |
|
so_line_no |
int32 |
N |
N |
Identify line in SO |
|
ship_date_utc |
tdatetime |
N |
N |
When shipped in UTC |
|
ship_date_local |
tdatetime |
N |
N |
When shipped in local time |
|
lot_no |
string40 |
N |
Y |
Lot identifier |
|
sublot_no |
string40 |
N |
Y |
Sublot identifier Note: This field is currently not used. |
|
qty_shipped |
tfloat |
N |
N |
How much shipped |
|
uom_id |
int32 |
N |
Y |
Unit of measure for shipment Note: This field is currently not used. |
|
trans_id |
int32 |
N |
Y |
Row in item_transfer, if inventory licensed. If not null, ship_date, lot_no, and qty_shipped in this table will match transfer_time, from_lot_no, and from_qty_txd in item_transfer. |
|
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 |
Y |
N |
Unique row identifier, for audit trail |
FK from cust_id, po_id, so_line_no, ship_date_utc to shipment. (Cascade delete)
FK from trans_id to item_transfer. (Set null)
FK from uom_id to uom. (Set null)
cust_id, po_id, so_line_no, ship_date_utc, lot_no, sublot_no is UK.