Oracle EBS User & Responsibility İlişkisi

Oracle E-Business Suite içerisinde hangi aktif kullanıcıya hangi sorumlulukların atalı olduğunu görmek isterseniz aşağıdaki sorgu size yardımcı olacaktır.

Comment'lenmis satıralardan istediğinizi açarak ister kullanıcı adı, isterseniz sorumluluk adına göre arama yapabilrisiniz.


SELECT
    fuser.USER_NAME USER_NAME

    , per.FULL_NAME FULL_NAME

    , per.EMPLOYEE_NUMBER EMPLOYEE_NUMBER

    , frt.RESPONSIBILITY_NAME RESPONSIBILITY

FROM

    FND_USER fuser

    , PER_PEOPLE_F per

    , FND_USER_RESP_GROUPS furg

    , FND_RESPONSIBILITY_TL frt

WHERE

    fuser.EMPLOYEE_ID = per.PERSON_ID

    AND fuser.USER_ID = furg.USER_ID

    AND (to_char(fuser.END_DATE) is null

        OR fuser.END_DATE > sysdate)

    AND frt.RESPONSIBILITY_ID = furg.RESPONSIBILITY_ID

    AND (to_char(furg.END_DATE) is null

        OR furg.END_DATE > sysdate)

    AND frt.LANGUAGE = 'US'

    --AND fuser.USER_NAME = 'P_USER_NAME'
    --AND frt.RESPONSIBILITY_NAME RESPONSIBILITY like '%P_RESP_NAME%'
ORDER BY
    , fuser.USER_NAME;

Comments

Popular posts from this blog

Oracle Fusion : SQL Query to Retrieve Shopping Category Hierarcy

Automatic Generation of Charge Account in Requisition Import

25-27 Mart Starup Weekend