SELECT R.EOPCSOURCE_CD , R.EOPCDEFN_ID , R.EOPCMAIN_ID , L.LANGUAGE_CD , R.EOPCBUFFER_LEVEL , R.RECNAME , K.FIELDNAME , K.EOPCALT_LABEL , K.EOPCALT_LABEL , K.EOPCAPPCLASS_PATH , K.APPCLASSID FROM PS_EOPCMAIN_LNG L , PS_EOPCAPP_KEY_VW K , PS_EOPCMAIN_SRECVW R , PS_EOPC_OBJECT O WHERE L.EOPCMAIN_ID = R.EOPCMAIN_ID AND K.FIELDNAME = O.EOPCOBJECT_NAME AND K.EOPCAPP_SRCREC_ID = R.EOPCAPP_SRCREC_ID AND O.EOPCOBJECT_TYPE = 'AA' AND NOT EXISTS ( SELECT 'X' FROM PSMSGCATDEFN M WHERE M.MESSAGE_SET_NBR = K.EOPCLBL_MSGSET AND M.MESSAGE_NBR = K.EOPCLBL_MSGNBR) UNION SELECT R.EOPCSOURCE_CD , R.EOPCDEFN_ID , R.EOPCMAIN_ID , L.LANGUAGE_CD , R.EOPCBUFFER_LEVEL , R.RECNAME , K.FIELDNAME , %Substring(M.MESSAGE_TEXT, 1, 30) , M.MESSAGE_TEXT , K.EOPCAPPCLASS_PATH , K.APPCLASSID FROM PSMSGCATLANG M , PS_EOPCMAIN_LNG L , PS_EOPCAPP_KEY_VW K , PS_EOPCMAIN_SRECVW R , PS_EOPC_OBJECT O WHERE K.FIELDNAME = O.EOPCOBJECT_NAME AND K.EOPCAPP_SRCREC_ID = R.EOPCAPP_SRCREC_ID AND L.EOPCMAIN_ID = R.EOPCMAIN_ID AND M.MESSAGE_SET_NBR = K.EOPCLBL_MSGSET AND M.MESSAGE_NBR = K.EOPCLBL_MSGNBR AND M.LANGUAGE_CD = L.LANGUAGE_CD AND O.EOPCOBJECT_TYPE = 'AA' AND K.EOPCLBL_MSGNBR > 0
|