Difference between revisions of "OE.INVENTORIES (table)"
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- valign="top" |
| '''Table | | '''Table | ||
| OE.INVENTORIES | | OE.INVENTORIES | ||
Line 8: | Line 8: | ||
| '''Description | | '''Description | ||
| Tracks availability of products by product_it and warehouse_id. | | Tracks availability of products by product_it and warehouse_id. | ||
− | |||
|} | |} | ||
− | |||
=== Columns === | === Columns === | ||
Line 20: | Line 18: | ||
| '''Default | | '''Default | ||
| '''Description | | '''Description | ||
− | + | ||
− | |- | + | |- valign="top" |
| PRODUCT_ID | | PRODUCT_ID | ||
| NUMBER(6, 0) | | NUMBER(6, 0) | ||
Line 27: | Line 25: | ||
| | | | ||
| Part of concatenated primary key, references product_information.product_id. | | Part of concatenated primary key, references product_information.product_id. | ||
− | |- | + | |- valign="top" |
| WAREHOUSE_ID | | WAREHOUSE_ID | ||
| NUMBER(3, 0) | | NUMBER(3, 0) | ||
Line 33: | Line 31: | ||
| | | | ||
| Part of concatenated primary key, references warehouses.warehouse_id. | | Part of concatenated primary key, references warehouses.warehouse_id. | ||
− | |- | + | |- valign="top" |
| QUANTITY_ON_HAND | | QUANTITY_ON_HAND | ||
| NUMBER(8, 0) | | NUMBER(8, 0) | ||
Line 46: | Line 44: | ||
| '''Primary Key | | '''Primary Key | ||
| '''Columns | | '''Columns | ||
− | |- | + | |- valign="top" |
| INVENTORY_IX | | INVENTORY_IX | ||
| WAREHOUSE_ID, PRODUCT_ID | | WAREHOUSE_ID, PRODUCT_ID | ||
Line 57: | Line 55: | ||
| '''Type | | '''Type | ||
| '''Columns | | '''Columns | ||
− | + | ||
− | |- | + | |- valign="top" |
| INV_PRODUCT_IX | | INV_PRODUCT_IX | ||
| | | | ||
Line 70: | Line 68: | ||
| '''Expression | | '''Expression | ||
| '''Description | | '''Description | ||
− | + | ||
− | |- | + | |- valign="top" |
| INVENTORY_QOH_NN | | INVENTORY_QOH_NN | ||
| "QUANTITY_ON_HAND" IS NOT NULL | | "QUANTITY_ON_HAND" IS NOT NULL | ||
| | | | ||
− | |- | + | |- valign="top" |
| INVENTORY_WAREHOUSE_ID_NN | | INVENTORY_WAREHOUSE_ID_NN | ||
| "WAREHOUSE_ID" IS NOT NULL | | "WAREHOUSE_ID" IS NOT NULL | ||
Line 87: | Line 85: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- valign="top" |
| [[OE.PRODUCT_INFORMATION_(table)|OE.PRODUCT_INFORMATION]] | | [[OE.PRODUCT_INFORMATION_(table)|OE.PRODUCT_INFORMATION]] | ||
| PRODUCT_ID | | PRODUCT_ID | ||
| PRODUCT_ID | | PRODUCT_ID | ||
− | |- | + | |- valign="top" |
| [[OE.WAREHOUSES_(table)|OE.WAREHOUSES]] | | [[OE.WAREHOUSES_(table)|OE.WAREHOUSES]] | ||
| WAREHOUSE_ID | | WAREHOUSE_ID | ||
| WAREHOUSE_ID | | WAREHOUSE_ID | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |
Latest revision as of 10:34, 27 August 2011
wikibot[edit]
Table | OE.INVENTORIES |
Description | Tracks availability of products by product_it and warehouse_id. |
Columns[edit]
Column | Data Type | Nullable | Default | Description |
PRODUCT_ID | NUMBER(6, 0) | not null | Part of concatenated primary key, references product_information.product_id. | |
WAREHOUSE_ID | NUMBER(3, 0) | not null | Part of concatenated primary key, references warehouses.warehouse_id. | |
QUANTITY_ON_HAND | NUMBER(8, 0) | not null |
Primary Key[edit]
Primary Key | Columns |
INVENTORY_IX | WAREHOUSE_ID, PRODUCT_ID |
Indexes[edit]
Index | Type | Columns |
INV_PRODUCT_IX | PRODUCT_ID |
Check Constraints[edit]
Check Constraint | Expression | Description |
INVENTORY_QOH_NN | "QUANTITY_ON_HAND" IS NOT NULL | |
INVENTORY_WAREHOUSE_ID_NN | "WAREHOUSE_ID" IS NOT NULL |
Foreign Keys[edit]
Relation | Column | Referenced Column |
OE.PRODUCT_INFORMATION | PRODUCT_ID | PRODUCT_ID |
OE.WAREHOUSES | WAREHOUSE_ID | WAREHOUSE_ID |