oracle ebs 通过职责查找用户

  SELECT DISTINCT papf.person_id,
                      papf.employee_number,
                      papf.full_name,
                      su.user_id,
                      res.responsibility_id,
                      res.application_id,
                      su.user_name,
                      res.responsibility_name                     
        FROM hr.per_all_people_f      papf,
             applsys.fnd_user         su,
             fnd_responsibility_vl    res,
             fnd_user_resp_groups_all furg,
             fnd_application_vl       app
       WHERE
          su.employee_id = Papf.person_Id(+)
          AND su.user_id = furg.user_id
         AND res.responsibility_id = furg.responsibility_id
         AND res.application_id = furg.responsibility_application_id
         AND furg.responsibility_application_id = app.application_Id
         And res.responsibility_name  Like ‘%responsibility_name%‘ ;

本文出自 “joyous blog” 博客,请务必保留此出处http://joyous.blog.51cto.com/9184276/1440969

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。