Difference between revisions of "OE.OC PRODUCT INFORMATION (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_PRODUCT_INFORMATION
 
| OE.OC_PRODUCT_INFORMATION
|-
 
 
|}
 
|}
 
  
 
=== Source ===
 
=== Source ===
Line 29: Line 27:
 
| '''Referenced Object
 
| '''Referenced Object
  
|-
+
|- valign="top"
 
| Select
 
| Select
 
| Table
 
| Table
 
| [[OE.PRODUCT_INFORMATION_(table)|OE.PRODUCT_INFORMATION]]
 
| [[OE.PRODUCT_INFORMATION_(table)|OE.PRODUCT_INFORMATION]]
  
|-
+
|- valign="top"
 
| Select
 
| Select
 
| View
 
| View

Revision as of 06:15, 24 June 2010

wikibot

View OE.OC_PRODUCT_INFORMATION

Source

CREATE OR REPLACE VIEW OE.OC_PRODUCT_INFORMATION AS 
SELECT p.product_id, p.product_name, p.product_description, p.category_id,
           p.weight_class, p.warranty_period, p.supplier_id, p.product_status,
           p.list_price, p.min_price, p.catalog_url,
           CAST(MULTISET(SELECT i.product_id,i.warehouse,i.quantity_on_hand
                         FROM oc_inventories i
                         WHERE p.product_id=i.product_id)
                AS inventory_list_typ)
    FROM product_information p

References

Dependency Type Object Type Referenced Object
Select Table OE.PRODUCT_INFORMATION
Select View OE.OC_INVENTORIES