EBS Profile的定义与使用

EBS Profiles 的定义

在EBS 中我们可能定义profile,用于存储特定的用户信息,以便在程序运行中进行调用。相当于全局变量.

1. Profile的定义

Path: application developer/profile

 

其中的hierarchy type 用来确定profile的作用范围。一般选security.

Profile的作用范围是底层优先的,也就是user 层的最优先,其次是organization….

比较常用的是根据responsibility 来提取profile的信息.

SQL Validation 是用来定义profile value 的value set的,当然不定义,然后手工输入也没问题,但为了安全,还是定义一个比较好,定义方法如下:

SQL="SELECT fv_region.flex_value \"Log Mode\",

fv_region.flex_value

into :visible_option_value,

:profile_option_value

FROM fnd_flex_value_sets fvs_region,

fnd_flex_values fv_region

WHERE fvs_region.flex_value_set_name = 'FAC_REORG_ASSET_REGION'

AND fvs_region.flex_value_set_id = fv_region.flex_value_set_id

AND fv_region.enabled_flag = 'Y' "

COLUMN="\"Log Mode\"(10)"

2. Profile 的维护

Path: System administrator/profile/system

 

可根据需要,在site/application/responsibility/organization/user层对相应的profile进行赋值。

posted @ 2011-03-10 09:52  郭振斌  阅读(2459)  评论(0编辑  收藏  举报