EBS R12中重新enable失效用户之后,丢失职责

转自:http://fhtt0606.itpub.net/post/14578/477049

oracle support说这并不是一个bug,是一个问题,呵呵,bug和问题,都是你的错,oracle!

工 作中将某个用户失效之后,有可能又需要重新将用户重新启用,在更改了用户的失效时间之后,所有的职责都不见了,琢磨了好一阵子用户相关的表,基本能够确定 问题是由于有效截止日期并没有同步导致,但是由于有可能需要手动update标准表,风险相当大,为此提了一个sr,support给我来了个owc,多 番操作之后得出解决方法如下:


1. Go into the responsibility: System Administrator.

2. Navigate to Request > Run.

3. Submit request 'Synchronize WF LOCAL tables'

4. Submit request 'Workflow Directory Services User/Role Validation'

5. Check result in table wf_local_user_roles via:

select role_name, effective_end_date from wf_local_user_roles
where user_name='<>';

6. If still find some records haven't been changed to null, perform:
a.) backup the records:
create table wf_local_user_roles_bak as
select * from wf_local_user_roles
where user_name='<>' and effective_end_date <> to_date('<>','RRRR-MM-DD');
b.) update effective_end_date to null
update wf_local_user_roles
set effective_end_date=to_date('9999-01-01','RRRR-MM-DD')
where user_name='<>' and effective_end_date <> to_date('<>','RRRR-MM-DD');

7. Retest the issue.

8. Migrate the solution as appropriate to other environments.

他们自己都无法确定请求跑完之后是不是能解决这个问题,呵呵!挺讽刺!

值得注意的一点是,Synchronize WF LOCAL tablese 和Workflow Directory Services User/Role Validation请求是需要在有任何用户变更之后提交的,这是避免问题出现的办法。虽然不喜欢这种方式,但还只能每天定时运行。。。

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/21988588/viewspace-1024868/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/21988588/viewspace-1024868/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值