hr.x_item_units_of_measure
Schema: hr
English table: hr.x_item_units_of_measure
Italian original table: hr.x_tipi_articoli_unita_misura
Description: Lookup table for item units of measure (e.g., PCS, KG, Boxes). Service table.
Overview
- Columns: 4
- Primary key: id
- Outgoing foreign keys: 1
- Incoming foreign keys: 1
- Indexes: 2
Columns
| English column | Italian original column | Type | Null | Default / Generated | Description |
|---|
id | id | integer | NO | | Surrogate primary key. |
xium_id | tipoartmis_id | integer | NO | | Identifier of the related xium record. |
xium_description | tipoartmis_descrizione | character varying(50) | NO | | Description text. |
tenant_id | tenant_id | integer | YES | | Tenant identifier for data isolation. |
Relationships
Outgoing foreign keys
| Constraint | Local columns | References | Referenced columns | On update | On delete |
|---|
fk_xium_tenant | tenant_id | cloud.tenants | ten_internal_id | RESTRICT | CASCADE |
Referenced by
| From table | Foreign key | Source columns | Target columns |
|---|
hr.inventory_items | fk_inventory_items_unit_type_id | itm_unit_type_id, tenant_id | xium_id, tenant_id |
Constraints
- Primary key:
pk_x_item_units_of_measure → id
- Unique:
c_uk_xium_id_tenant → xium_id, tenant_id
Indexes
| Name | Unique | Method | Columns / expression |
|---|
idx_xium_id_tenant_lookup | NO | btree | tenant_id, xium_id |
idx_xium_tenant_base | NO | btree | tenant_id |
Navigation