Saturday, July 11, 2015

Query to list all the responsibilities attached to a user

SELECT fu.user_name,
       fr.responsibility_name,
       furg.start_date,
       furg.end_date
  FROM fnd_user_resp_groups_direct furg,
       fnd_user fu,
       fnd_responsibility_tl fr
 WHERE     fu.user_name = :user_name
       AND furg.user_id = fu.user_id
       AND furg.responsibility_id = fr.responsibility_id

       AND fr.language = USERENV ('lang')

No comments:

Post a Comment

Best Blogger TipsGet Flower Effect