Friday, November 2, 2018

Script to get responsibilities for a user

Script to get responsibilities for a user

This script will display all the responsibilities for a given Username.
SELECT fu.user_name, frt.responsibility_name, furgd.start_date,
       furgd.end_date
  FROM fnd_user fu,
       fnd_user_resp_groups_direct furgd,
       fnd_responsibility_tl frt
WHERE fu.user_id = furgd.user_id
   AND furgd.responsibility_id = frt.responsibility_id
   AND UPPER (fu.user_name) = UPPER ('ERPSCHOOLS')

No comments:

Post a Comment

SQL Important Queries

  How to delete rows with no where clause The following example deletes  all rows  from the  Person.Person  the table in the AdventureWork...