SELECT B.LM_PERSON_ID ,E.LANGUAGE_CD , E.LM_ORG_DESCR ,G.LM_JOBCD_DESCR FROM PS_LM_PERS_NAME_VW B , PS_LM_CURR_JOB_VW C , PS_LM_ORGANIZATION D , PS_LM_ORG_LANG E ,PS_LM_JOBCODE_TBL F , PS_LM_JOBCODE_LANG G WHERE B.LM_PERSON_ID = C.LM_PERSON_ID AND %CurrentDateIn BETWEEN C.EFFDT AND C.LM_END_EFFDT AND C.LM_ACTIVE = 'Y' AND D.LM_ORGANIZATION_ID = C.LM_ORGANIZATION_ID AND E.LM_ORGANIZATION_ID = D.LM_ORGANIZATION_ID AND E.EFFDT = D.EFFDT AND %CurrentDateIn BETWEEN D.EFFDT AND D.LM_END_EFFDT AND D.EFF_STATUS = 'A' AND F.LM_JOBCODE_ID = C.LM_JOBCODE_ID AND G.LM_JOBCODE_ID = F.LM_JOBCODE_ID AND F.EFFDT = G.EFFDT AND C.EFFDT BETWEEN F.EFFDT AND F.LM_END_EFFDT AND F.EFF_STATUS = 'A' AND E.LANGUAGE_CD=G.LANGUAGE_CD
|