SELECT a.name,
a.description,
c.item_type,
c.template_name,
(SELECT segment1
FROM mtl_categories mc
WHERE mc.category_id = c.category_id) default_category_name
FROM icx_cat_shop_stores_vl a,
icx_cat_store_contents b,
por_noncat_templates_all_vl c,
fnd_lookup_values_vl d
WHERE a.store_id = b.store_id
AND c.template_id = b.content_id
AND d.lookup_type (+) = 'POR_ITEM_TYPE'
AND d.lookup_code (+) = c.item_type
Comments
Post a Comment