您的位置:首页 > 其它

EBS profile解读和GL学习小结

2010-08-15 01:17 337 查看
一、用户自定义预置文件
1)应用开发员—>配置文件

2)系统管理员—>配置文件—>系统

二、个人预置文件
在个人配置文件设置界面用户值是否可操作取决于fnd_profile_option_values.user_update_allowed_flag

elsif (event in ('WHEN-NEW-RECORD-INSTANCE', 'POST-QUERY')) then
if(:profile_values.user_updateable = 'Y') then
app_item_property.set_property('profile_values.user_visible_value',
ENTERABLE, PROPERTY_ON);
else
if (:level_context.user_id is not NULL) then
app_item_property.set_property('profile_values.user_visible_value',
ALTERABLE, PROPERTY_OFF);
else /* if there is no context info, don't even allow them to navigate */
app_item_property.set_property('profile_values.user_visible_value',
ENTERABLE, PROPERTY_OFF);
end if;
end if;

:profile_values.user_updateable附值代码:
select site_enabled_flag, site_update_allowed_flag,
app_enabled_flag, app_update_allowed_flag,
resp_enabled_flag, resp_update_allowed_flag,
user_enabled_flag, user_update_allowed_flag,
server_enabled_flag, server_update_allowed_flag,
org_enabled_flag, org_update_allowed_flag,
serverresp_enabled_flag, serverresp_update_allowed_flag
into x_site_visible_flag, x_site_updateable,
x_appl_visible_flag, x_appl_updateable,
x_resp_visible_flag, x_resp_updateable,
x_user_visible_flag, x_user_updateable,
x_server_visible_flag, x_server_updateable,
x_org_visible_flag, x_org_updateable,
x_servresp_visible_flag, x_servresp_updateable
from fnd_profile_options_vl
where x_prof_appl_id = application_id
and x_profile_id = profile_option_id;

而默认值取值于该配置文件在地点层设置的值,如果地点层没有值则默认值为空

个人配置文件设置界面的 last_query 给出的SQL语句查询不出界面默认值、用户值
在个人配置文件设置FORM:FNDPOMSV

post_query:
select profile_option_value,
last_update_login, created_by, creation_date,
last_update_date, last_updated_by
from fnd_profile_option_values
where profile_option_id = :profile_values.profile_option_id
and application_id = :profile_values.application_id
and (level_id = 10004)
and (level_value = :context.user_id ;

三、level_id
配置文件表fnd_profile_option_values中level_id表示含义

10001:Site fnd_profile_option_values.level_value=0;
10002:APP fnd_profile_option_values.level_value=fnd_application.application_id;
10003:RESP fnd_profile_option_values.level_value=fnd_responsibility.responsibility_id;
10004:USER fnd_profile_option_values.level_value=fnd_user.user_id;
10005:SERVER fnd_profile_option_values.level_value=fnd_nodes.node_id;
10006:ORG
10007:SERVERSP(服务器职责)

四、GL学习

1)传总帐
日记帐借贷不平衡(未过帐状态下日记帐借贷金额可以手工调整),调用传总帐请求,除非允许悬帐过帐,否则过帐不成功(提示借贷不平衡)。需要到日记帐界面“复核日记帐”,修改借贷金额,平衡后再次调用传总帐请求。

2)凭证修改
由采购、应付、应收模块导入的凭证不能直接在总帐中修改,需要在子模块修改中修改,然后再引入到总帐中来调整以前的错误凭证。只有手工录入的凭证可以在总帐中直接修改。

3)总帐—科目父值、子值、累计组关系图

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/meteorlWJ/archive/2009/09/15/4556358.aspx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: