壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2942|回复: 8

定义组织时报 APP-PER-52803

[复制链接]
发表于 2008/2/15 16:15:30 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
路径为:
HR管理员-》工作结构-》组织-》说明

英文环境为:
Error message:APP-PER-52803:Your business group does not match your cecurity profile



参考文档:
主题:  Setup Steps for Creating an Organization
http://bbs.erp100.com/thread-20188-1-1.html
APP-PER-52803.gif
 楼主| 发表于 2008/2/15 16:23:48 | 显示全部楼层
找到了资料,是因为:HR: Security Profile没有正确设置。

但是我在系统管理员界面配置HR: Security Profile时为什么不能选择其他业务组?
该配置文件只能选择:Setup Business Group
奇怪了。继续研究

以下为相关的检索SQL:

  1. SELECT DISTINCT b.responsibility_name,
  2.                 PROFILE_OPTION_NAME,
  3.                 a.USER_PROFILE_OPTION_NAME
  4.   FROM FND_PROFILE_OPTIONS_VL    a,
  5.        fnd_responsibility_tl     b,
  6.        FND_PROFILE_OPTION_VALUES fpov --, per_security_profiles psp
  7. WHERE a.USER_PROFILE_OPTION_NAME like 'HR:安全配置文件'
  8.    AND a.application_id = b.application_id --AND
  9.    AND TO_CHAR(b.RESPONSIBILITY_ID) = TO_CHAR(fpov.LEVEL_VALUE)
  10.    AND a.application_id = fpov.LEVEL_VALUE_APPLICATION_ID
  11.    AND a.profile_option_id = fpov.profile_option_id
复制代码
 楼主| 发表于 2008/2/15 16:38:16 | 显示全部楼层

HR: Security Profile 的分析

name: PER_SECURITY_PROFILE_ID
User Profile name:HR: Security Profile

SQL="SELECT S.SECURITY_PROFILE_NAME \"Security Profile\",
S.SECURITY_PROFILE_ID,
'PER_BUSINESS_GROUP_ID',
S.BUSINESS_GROUP_ID,
O.NAME \"Business Group\"
INTO :VISIBLE_OPTION_VALUE,
ROFILE_OPTION_VALUE,
:DERIVED_NAME,
:DERIVED_VALUE,
null
FROM PER_SECURITY_PROFILES S,
PER_BUSINESS_GROUPS O
WHERE O.BUSINESS_GROUP_ID (+) = S.BUSINESS_GROUP_ID
ORDER BY S.SECURITY_PROFILE_NAME"
COLUMN=" \"Security Profile\"(*), \"Business Group\"(*)"
HEADING=" \"*PER:HR_ML_SECURITY_PROFILE\"(*), \"*PER:HR_ML_BUSINESS_GROUP\"(*)"
 楼主| 发表于 2008/2/15 17:57:47 | 显示全部楼层

将该问题提交了一个TAR

please follow Note 401930.1 Default Security Profiles Are Not Created when New Business Groups A
re Setup

以下是Oracle同时让我运行的三个SQL:
1)select trigger_name,
status
from user_triggers
where table_name='HR_ORGANIZATION_INFORMATION'

check if hr_org_info_ari is missing or disable .

TRIGGER_NAME STATUS
1 HR_ORG_INFO_BRI DISABLED
2 HR_ORGANIZATION_INFORMATIO_OVN DISABLED
3 HR_ORG_INFO_ARI DISABLED
4 HR_PA_MAIN_ORG_INFO_HIST_BRI DISABLED
5 HR_PA_MAINTN_ORG_HIST_BRI DISABLED
6 HR_PA_MAINTN_ORG_HIST_BRU DISABLED
7 HR_PA_MAINTN_ORG_HIST_BRD DISABLED
8 HR_ORGANIZATION_INFORMATIO_WHO DISABLED



2) select name,
business_group_id
from per_business_groups;

1 Setup Business Group 0
2 HZD业务组 241

3) select security_profile_id,
business_group_id,
security_profile_name,
view_all_flag
from per_security_profiles;

1 0 0 Setup Business Group Y
 楼主| 发表于 2008/2/15 17:59:15 | 显示全部楼层

主题: 401930.1

主题:  Default Security Profiles Are Not Created when New Business Groups Are Setup
   文档 ID:  注释:401930.1  类型:  PROBLEM
   上次修订日期:  05-DEC-2006  状态:  PUBLISHED
Applies to:
Oracle Human Resources - Version: 11.5.10.2
This problem can occur on any platform.
PERWSSCP
Symptoms
On 11.5.10.2 in Production:
Created a Business Group Organization
EXPECTED BEHAVIOR
When a Business Group is created, a default Security Profile should be created.
STEPS
The issue can be reproduced at will with the following steps:
Global Super HRMS Manger
Work Structures -> Organization -> Description
Global Super HRMS Manger
Security -> Profile
Changes
It is unknown what caused this issue.
Cause
The issue is caused by the following setup: the trigger, hr_org_info_ari , is missing.
This issue was posted on the HR Forum and development suggested running the following scripts to
determine the cause:
1) select trigger_name,
status
from user_triggers
where table_name='HR_ORGANIZATION_INFORMATION'
2) select name,
business_group_id
from per_business_groups
3) select security_profile_id,
business_group_id,
security_profile_name,
view_all_flag
from per_security_profiles
Solution
To implement the solution, please execute the following steps:
1. Log into sqlplus and run: $PER_TOP/patch/115/sql/petrorgi.sql
will recreate the trigger.
2. Recreate the business groups once the trigger is enabled to create the view all
profiles.
3. Retest the issue.
4. Migrate the solution as appropriate to other environments.
 楼主| 发表于 2008/2/15 18:23:23 | 显示全部楼层
参考上文的Solution问题已经解决。
发表于 2010/2/25 19:07:07 | 显示全部楼层
在R12中,我碰到相同的问题,需要在Profile中设置:
1. HR:Security Profile >
site                                         Responsibility
xxx Business Group                xxx Business Group

2. HR:Business Group >
site                                         Responsibility
xxx Business Group                xxx Business Group
发表于 2011/9/22 10:18:19 | 显示全部楼层
追加新疑问:在EBS12R中,我用Inventory Super User, Progress S&L和自定义XXX_INV(注:application, menu, data group, request group)职责进入定义BG,为什么在XXX_INV中报错APP-PER-52803,而在Inventory Super User, Progress S&L却不存在这种情况?相类似的事情,当然它们的menu与request group是不同的,Global HRMS Manager(Application:Human Rwsourcess, Data Group:standard, Menu:GLB SHRMS Navigator,  Request Group:Global SHRMS Reports & Process);  HRMS, Progress Admin S&L(Application:Human Rwsourcess, Data Group:standard, Menu:US SHRMS Navigator,  Request Group:US SHRMS Reports & Processes),在这里是Global HRMS Manager报错APP-PER-52803,而HRMS, Progress Admin S&L中一切正常,这个问题是怎么回事?
发表于 2011/10/6 16:16:17 | 显示全部楼层
同问,请大侠指点~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 15:21 , Processed in 0.027063 second(s), 19 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表