Oracle EBS 基础概念:请求组

99封情书 提交于 2020-01-25 18:23:13

请求组:分配给职责,控制用户对于报表的访问权限。

系统路径: SYSADMIN -> Security -> Responsibility -> Request
在这里插入图片描述
Application:包括了此应用产品中的所有请求。
Program: 添加请求

SQL:查看有某个请求权限的职责(下一步即可查看用户是否具有某个请求的权限)

select R.RESPONSIBILITY_NAME,C.REQUEST_GROUP_NAME,C.request_group_application
from FND_RESPONSIBILITY_VL R,
     (--以下请求群组包含请求“Cost Type Comparison Report”
      select RG.REQUEST_GROUP_NAME,RG.REQUEST_GROUP_ID,A.APPLICATION_NAME request_group_application,A.APPLICATION_ID
        from FND_REQUEST_GROUPS RG,
             FND_REQUEST_GROUP_UNITS RGU,
             FND_CONCURRENT_PROGRAMS_VL  CP,
             FND_APPLICATION_VL A
      where RG.REQUEST_GROUP_ID = RGU.REQUEST_GROUP_ID
        and RGU.REQUEST_UNIT_TYPE = 'P'  --program
        and RGU.REQUEST_UNIT_ID = CP.CONCURRENT_PROGRAM_ID
        and CP.USER_CONCURRENT_PROGRAM_NAME = “Cost Type Comparison Report”
        and RG.application_id = A.application_id
      Union
      --以下请求群组包含“Cost Type Comparison Report”所属的application,也会包含该请求
      select RG.REQUEST_GROUP_NAME,RG.REQUEST_GROUP_ID,A.APPLICATION_NAME request_group_application,A.APPLICATION_ID
        from FND_REQUEST_GROUPS RG,
             FND_REQUEST_GROUP_UNITS RGU,
             FND_APPLICATION_VL A
       where RG.REQUEST_GROUP_ID = RGU.REQUEST_GROUP_ID
         and RGU.Request_Unit_Type = 'A'  --application
         and RGU.REQUEST_UNIT_ID in (select APPLICATION_ID from FND_CONCURRENT_PROGRAMS_VL where USER_CONCURRENT_PROGRAM_NAME= “Cost Type Comparison Report”)  
         and RG.application_id = A.application_id) C
where R.REQUEST_GROUP_ID = C.request_group_id
  and R.GROUP_APPLICATION_ID = C.APPLICATION_ID
order by R.RESPONSIBILITY_NAME,C.REQUEST_GROUP_NAME,C.request_group_application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!