Difference between revisions of "OE.OC PRODUCT INFORMATION (view)"
| Line 19: | Line 19: | ||
FROM product_information p | FROM product_information p | ||
</pre> | </pre> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 10:34, 27 August 2011
wikibot[edit]
| View | OE.OC_PRODUCT_INFORMATION |
Source[edit]
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