EBS profile 相关的表

EBS 的profile 主要记录在3 个表里面.

SELECT * FROM fnd_profile_options_tl    WHERE USER_PROFILE_OPTION_NAME LIKE 'INV%Debug%';
SELECT * FROM fnd_profile_options       WHERE PROFILE_OPTION_NAME LIKE 'INV_DEBUG_TRACE';  
SELECT * FROM fnd_profile_option_values WHERE profile_option_id = 3696;
SELECT *
FROM fnd_profile_option_values
WHERE profile_option_id IN (
		SELECT profile_option_id
		FROM fnd_profile_options
		WHERE PROFILE_OPTION_NAME = (
				SELECT PROFILE_OPTION_NAME
				FROM fnd_profile_options_tl
				WHERE USER_PROFILE_OPTION_NAME LIKE 'Initialization SQL Statement - Custom'
				)
		);


比如我们想要查找 INV%Debug 相关的profile, 可以从 fnd_profile_options_tl 表里面搜索, 找到这个profile 对应的profile_option_name. 再通过这个name 从fnd_profile_option_values 表里面找出对应的 profile_option_value.

这样可以直接更新fnd_profile_option_values 里面的记录, 和form 界面上更新是一样的. 记得commit 就可以.

例如想要更新 INV log 的文件名

UPDATE fnd_profile_option_values set profile_option_value = '/usr/tmp/2014-04-29.log' where profile_option_id = 3697 and level_id = 10004 and level_value = 1068

level_value 是user_id, MFG 的user_id 是1068. level_id 是profile 的level, 10001 是site_level, 10004 是user_level.

或者在插入一条新记录(这是我自己的VirtualBox 的instance 上插入FRD log 的脚本)

INSERT INTO fnd_profile_option_values VALUES (
178,--application_id
3769,--profile_option__id
10004,--level_id
1068,--level_value
SYSDATE,
1068,
SYSDATE,
1068,
-1,
'http://erik-lnx.oracle.com:8001/forms/frmservlet?record=collect',
NULL,
NULL
);

常用的profile 对应的 id 如下:

INV: Debug Trace3696
INV: Debug file3697
INV:Debug Level3698
RCV: Debug Mode1001731
RCV: Processing Mode1434
ICX: Forms Launcher3769
Initialization SQL Statement - Custom3157
WSH: Defer Inventory Process Online1007159
TP:INV Transaction processing mode1192
  



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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值