Difference between revisions of "OE.OC INVENTORIES (view)"

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"
 
| '''View
 
| '''View
 
| OE.OC_INVENTORIES
 
| OE.OC_INVENTORIES
|-
 
 
|}
 
|}
 
  
 
=== Source ===
 
=== Source ===
Line 26: Line 24:
 
| '''Referenced Object
 
| '''Referenced Object
  
|-
+
|- valign="top"
 
| Select
 
| Select
 
| Table
 
| Table
Line 40: Line 38:
 
| '''Referencing Object
 
| '''Referencing Object
  
|-
+
|- valign="top"
 
| Select
 
| Select
 
| View
 
| View

Revision as of 06:15, 24 June 2010

wikibot

View OE.OC_INVENTORIES

Source

CREATE OR REPLACE VIEW OE.OC_INVENTORIES AS 
SELECT i.product_id,
           warehouse_typ(w.warehouse_id, w.warehouse_name, w.location_id),
           i.quantity_on_hand
    FROM inventories i, warehouses w
    WHERE i.warehouse_id=w.warehouse_id

References

Dependency Type Object Type Referenced Object
Select Table OE.INVENTORIES

Dependencies

Reference Type Object Type Referencing Object
Select View OE.OC_PRODUCT_INFORMATION