Difference between revisions of "OE.OC INVENTORIES (view)"
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''view | OE.OC_INVENTORIES |- |} <pre> </pre>) |
|||
(4 intermediate revisions by the same user not shown) | |||
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 |
| OE.OC_INVENTORIES | | OE.OC_INVENTORIES | ||
− | |||
|} | |} | ||
+ | === Source === | ||
<pre> | <pre> | ||
− | + | 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 | ||
</pre> | </pre> |