uom_conv
- Last UpdatedNov 20, 2024
- 1 minute read
The uom_conv table defines how to convert quantities from one unit of measure to another. There will normally be a pair of records for each pair of units of measure, since conversions are bidirectional.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
from_uom_id |
int32 |
N |
N |
Starting unit of measure |
|
to_uom_id |
int32 |
N |
N |
Resulting unit of measure |
|
item_id |
string40 |
N |
Y |
Item for which conversion is valid; null if for all items |
|
factor |
tfloat |
N |
N |
Factor by which to multiply from quantity, default = 1 |
|
offset |
tfloat |
N |
N |
Offset to add to multiplied quantity to obtain final result, default = 0 |
|
spare1 |
string80 |
N |
Y |
Use defined by language term 809 |
|
spare2 |
string80 |
N |
Y |
Use defined by language term 810 |
|
spare3 |
string80 |
N |
Y |
Use defined by language term 811 |
|
spare4 |
string80 |
N |
Y |
Use defined by language term 812 |
|
last_edit_comment |
string254 |
N |
Y |
Reserved for internal use to indicate why this record was changed |
|
last_edit_by |
string40 |
N |
N |
Who last changed this record |
|
last_edit_at |
tdatetime |
N |
N |
When this record was last changed |
|
row_id |
ID 1 |
Y |
N |
Unique row identifier, for audit trail. |
FK from from_uom_id to uom. (Cascade delete implemented by SP)
FK from to_uom_id to uom. (Cascade delete)
FK from item_id to item. (Cascade delete)
from_uom_id, to_uom_id, item_id is UK.