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

From dbscript Online Help
Jump to: navigation, search
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''view | OE.OC_INVENTORIES |- |} <pre> </pre>)
 
Line 7: Line 7:
 
|-
 
|-
 
|}
 
|}
 +
  
 
<pre>
 
<pre>
 
+
CREATE OR REPLACE 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
 
</pre>
 
</pre>

Revision as of 21:02, 24 August 2009

wikibot

view OE.OC_INVENTORIES


CREATE OR REPLACE 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