SELECT A.PORTAL_NAME , A.PORTAL_OBJNAME , B.LANGUAGE_CD , B.PORTAL_LABEL FROM %Table(PSPRSMDEFN) A , %Table(PSPRSMDEFNLANG) B WHERE A.PORTAL_NAME = B.PORTAL_NAME AND A.PORTAL_REFTYPE = B.PORTAL_REFTYPE AND A.PORTAL_OBJNAME = B.PORTAL_OBJNAME AND A.PORTAL_REFTYPE = 'F' AND A.PORTAL_PRNTOBJNAME = 'CO_NAVIGATION_COLLECTIONS' AND A.PORTAL_OBJNAME NOT IN ('PT_PTPP_PORTAL_ROOT') AND EXISTS ( SELECT 1 FROM %Table(PSPRSMDEFN) C WHERE C.PORTAL_NAME = A.PORTAL_NAME AND C.PORTAL_REFTYPE = 'C' AND C.PORTAL_PRNTOBJNAME = A.PORTAL_OBJNAME )
|