一、使用者自訂預置檔案
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)總帳—科目父值、子值、累計組關係圖