Difference between revisions of "OE.INVENTORIES (table)"

From dbscript Online Help
Jump to: navigation, search
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
Line 105: Line 103:
 
| '''Referencing Object
 
| '''Referencing Object
  
|-
+
|- valign="top"
 
| Select
 
| Select
 
| View
 
| View
 
| [[OE.BOMBAY_INVENTORY_(view)|OE.BOMBAY_INVENTORY]]
 
| [[OE.BOMBAY_INVENTORY_(view)|OE.BOMBAY_INVENTORY]]
  
|-
+
|- valign="top"
 
| Select
 
| Select
 
| View
 
| View
 
| [[OE.OC_INVENTORIES_(view)|OE.OC_INVENTORIES]]
 
| [[OE.OC_INVENTORIES_(view)|OE.OC_INVENTORIES]]
  
|-
+
|- valign="top"
 
| Select
 
| Select
 
| View
 
| View
 
| [[OE.SYDNEY_INVENTORY_(view)|OE.SYDNEY_INVENTORY]]
 
| [[OE.SYDNEY_INVENTORY_(view)|OE.SYDNEY_INVENTORY]]
  
|-
+
|- valign="top"
 
| Select
 
| Select
 
| View
 
| View

Revision as of 06:15, 24 June 2010

wikibot

Table OE.INVENTORIES
Description Tracks availability of products by product_it and warehouse_id.

Columns

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

Primary Key Columns
INVENTORY_IX WAREHOUSE_ID, PRODUCT_ID

Indexes

Index Type Columns
INV_PRODUCT_IX PRODUCT_ID

Check Constraints

Check Constraint Expression Description
INVENTORY_QOH_NN "QUANTITY_ON_HAND" IS NOT NULL
INVENTORY_WAREHOUSE_ID_NN "WAREHOUSE_ID" IS NOT NULL

Foreign Keys

Relation Column Referenced Column
OE.PRODUCT_INFORMATION PRODUCT_ID PRODUCT_ID
OE.WAREHOUSES WAREHOUSE_ID WAREHOUSE_ID

Dependencies

Reference Type Object Type Referencing Object
Select View OE.BOMBAY_INVENTORY
Select View OE.OC_INVENTORIES
Select View OE.SYDNEY_INVENTORY
Select View OE.TORONTO_INVENTORY