SELECT DISTINCT A.PROJECTNAME ,B.PORTAL_NAME ,B.PORTAL_OBJNAME ,B.PORTAL_LABEL FROM PSPROJECTITEM A , PSPRSMDEFN B WHERE A.OBJECTVALUE1 = B.PORTAL_NAME AND A.OBJECTVALUE2 = B.PORTAL_REFTYPE AND A.OBJECTVALUE3 = B.PORTAL_OBJNAME AND B.PORTAL_PRNTOBJNAME <> 'PORTAL_BASE_DATA' AND B.PORTAL_PRODUCT <> 'CFAN' AND A.OBJECTTYPE = 55 AND B.PORTAL_REFTYPE = 'F' AND B.PORTAL_PRODUCT NOT IN ('PT', 'AE', 'PRTL') AND B.OBJECTOWNERID NOT IN ('PPT','ENV','PPTD') AND (B.OBJECTOWNERID NOT LIKE 'C%' OR B.OBJECTOWNERID LIKE 'COM') AND B.PORTAL_OBJNAME NOT LIKE 'PT%' AND B.PORTAL_OBJNAME NOT LIKE 'PA%'
|