EBS: 价目表权限分配查询与设置

 --  价目表权限分配 
 SELECT FR.RESPONSIBILITY_ID,
       --FR.APPLICATION_ID,
       FR.RESPONSIBILITY_NAME AS "责任名",
       FR.RESPONSIBILITY_KEY AS "责任关键字",
       FR.DESCRIPTION AS "说明", 
       LHT.NAME AS "价目表名称",
       LHT.DESCRIPTION AS "价目表说明",
       QPG.INSTANCE_ID AS LIST_HEADER_ID,
        QPG.*
  FROM FND_RESPONSIBILITY_VL FR,  -- 职责
        QP_LIST_HEADERS_TL LHT,
       QP_GRANTS QPG -- 价目表权限分配 
 WHERE GRANTEE_TYPE= 'RESP'  -- RESP:以职责方式分配,USER:以用户方式分配, OU:以业务实体组织分配 
 AND QPG.GRANTEE_ID =  FR.RESPONSIBILITY_ID
 AND QPG.INSTANCE_ID = LHT.LIST_HEADER_ID
 AND LHT.LANGUAGE = USERENV('LANG')
 AND QPG.INSTANCE_ID >= 2416450
 
  
 /*
  Oracle EBS 价目表权限设置
 1、添加职责 ORACLE PRICING ADMINISTRATOR 职责 (定价系统管理员)

2、Oracle Pricing 管理员设置--安全性--权限     给每个职责对授权对应价目表的权限。

3、SYSTEM PROFILE 三个权限设置
QP:Security Default ViewOnly Privilege (responsibility)
QP:Secutity Default Maintain Privilege  (responsibility)
QP:Secutity Control (第一次设置为OFF)

4、跑一个请求安全性控制,参数用ON。
*/

  

posted @ 2023-01-04 15:34  samrv  阅读(379)  评论(0编辑  收藏  举报