EBS 查询用户拥有哪些职责,查请求挂在哪些职责下

查用户下有哪些职责。

select fu.user_name,
fu.end_date,
fu.description,
frt.responsibility_name,
fr.start_date,
fr.end_date,
fr.creation_date
from apps.FND_USER fu,
apps.FND_USER_RESP_GROUPS_DIRECT fr,
apps.fnd_responsibility_tl frt
where fr.user_id = fu.user_id
and fu.user_name = ‘XXX’
– and fr.created_by = ‘6489’
and fr.RESPONSIBILITY_ID = frt.responsibility_id
– and fr.creation_date > sysdate - 15
and frt.responsibility_name like ‘%GL%SY%%’
order by 1, 2;

查请求挂在哪个职责下。

/alter session set nls_language=‘American’;
begin
dbms_application_info.set_client_info(82);
end;
/

select frt.RESPONSIBILITY_NAME, u.request_group_name,
u.application_id,
fcp.user_concurrent_program_name,
fu.*
from apps.fnd_request_groups u,
apps.FND_REQUEST_GROUP_UNITS fu,
apps.fnd_concurrent_programs_tl fcp,
apps.fnd_responsibility_vl frt
where 1 = 1
and fu.request_group_id = u.request_group_id
and fu.application_id = u.application_id
and fcp.concurrent_program_id = fu.request_unit_id
and u.request_group_id(+) = frt.REQUEST_GROUP_ID
– and u.request_group_name = ‘H3C_VMI_RESERVATION_GROUP’
and frt.RESPONSIBILITY_NAME like ‘%AP%%%’
and fcp.user_concurrent_program_name like
‘Transaction Objects Diagnostics’

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值