SELECT fu.user_id, fu.user_name, fu.email_address
FROM fnd_user_resp_groups_direct furg,
fnd_user fu,
fnd_responsibility_tl fr
WHERE UPPER (fr.responsibility_name) = UPPER ('&Enter_Resp_Name')
AND fr.responsibility_id = furg.responsibility_id
AND furg.user_id = fu.user_id
AND furg.end_date IS NULL
AND fu.end_date IS NULL
AND fr.language = USERENV ('LANG')
ORDER BY fu.user_name;
FROM fnd_user_resp_groups_direct furg,
fnd_user fu,
fnd_responsibility_tl fr
WHERE UPPER (fr.responsibility_name) = UPPER ('&Enter_Resp_Name')
AND fr.responsibility_id = furg.responsibility_id
AND furg.user_id = fu.user_id
AND furg.end_date IS NULL
AND fu.end_date IS NULL
AND fr.language = USERENV ('LANG')
ORDER BY fu.user_name;
No comments:
Post a Comment