Wednesday, November 11, 2020

Get List of Responsibilities Assigned to a user

 select fu.user_name,

  frt.responsibility_name,

  furg.start_date,

  furg.end_date

from fnd_user fu ,

  fnd_user_resp_groups_direct furg ,

  fnd_responsibility_vl frt

where fu.user_id                 = furg.user_id

and frt.responsibility_id        = furg.responsibility_id

and frt.application_id           = furg.responsibility_application_id

and nvl(furg.end_date,sysdate+1) > sysdate

and nvl(frt.end_date,sysdate +1) > sysdate

and fu.user_name                   = :p_user_name

No comments:

Post a Comment