Difference between revisions of "OE.OC INVENTORIES (view)"
| Line 10: | Line 10: | ||
<pre> | <pre> | ||
| − | CREATE OR REPLACE SELECT i.product_id, | + | CREATE OR REPLACE VIEW OE.OC_INVENTORIES AS |
| + | SELECT i.product_id, | ||
warehouse_typ(w.warehouse_id, w.warehouse_name, w.location_id), | warehouse_typ(w.warehouse_id, w.warehouse_name, w.location_id), | ||
i.quantity_on_hand | i.quantity_on_hand | ||
Revision as of 20:10, 24 August 2009
wikibot
| view | OE.OC_INVENTORIES |
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