DBA Data[Home] [Help]

VIEW: APPS.CSP_PLN_ORG_NAV

Source

View Text - Preformatted

SELECT ood.organization_name LABEL, nt.node_type NODE_TYPE, mp.organization_id NODE_KEY, nt.icon_name ICON_NAME , 'N' LEAF_FLAG , 'ROOT' PARENT_NODE_TYPE, nt.root_key PARENT_NODE_KEY from csp_nav_node_types nt, mtl_parameters mp, org_organization_definitions ood, csp_planning_parameters cpp where nt.root_key = 'CSP_PLANNING' and nt.node_type = 'ORGANIZATION' and mp.organization_id = ood.organization_id and (mp.organization_id = cpp.organization_id(+) and cpp.secondary_inventory is null) order by cpp.organization_type,1
View Text - HTML Formatted

SELECT OOD.ORGANIZATION_NAME LABEL
, NT.NODE_TYPE NODE_TYPE
, MP.ORGANIZATION_ID NODE_KEY
, NT.ICON_NAME ICON_NAME
, 'N' LEAF_FLAG
, 'ROOT' PARENT_NODE_TYPE
, NT.ROOT_KEY PARENT_NODE_KEY
FROM CSP_NAV_NODE_TYPES NT
, MTL_PARAMETERS MP
, ORG_ORGANIZATION_DEFINITIONS OOD
, CSP_PLANNING_PARAMETERS CPP
WHERE NT.ROOT_KEY = 'CSP_PLANNING'
AND NT.NODE_TYPE = 'ORGANIZATION'
AND MP.ORGANIZATION_ID = OOD.ORGANIZATION_ID
AND (MP.ORGANIZATION_ID = CPP.ORGANIZATION_ID(+)
AND CPP.SECONDARY_INVENTORY IS NULL) ORDER BY CPP.ORGANIZATION_TYPE
, 1