SELECT UNIQUE u.user_id, SUBSTR (u.user_name, 1, 30) user_name,
SUBSTR (a.application_name, 1, 50)
application,
SUBSTR (r.responsibility_name, 1, 60) responsiblity, ppf.full_name
FROM fnd_user u,
fnd_user_resp_groups g,
fnd_application_tl a,
fnd_responsibility_tl r,
per_people_f ppf
WHERE g.user_id(+) = u.user_id
AND g.responsibility_application_id = a.application_id
AND a.application_id = r.application_id
AND g.responsibility_id = r.responsibility_id
AND ppf.person_id(+) = u.employee_id
ORDER BY SUBSTR (user_name, 1, 30),
SUBSTR (A.application_name, 1, 50),
SUBSTR (R.responsibility_name, 1, 60)
No comments:
Post a Comment