关于FND_PROFILE与FND_GLOBLE
fnd_global package可以取得一些關於當前login in用戶的信息
取得當前responsibility名稱
fnd_profile.value('RESP_NAME')
fnd_profile.value('RESP_ID')
USERNAME |
Your user’s current Oracle Application Object Library username. |
USER_ID |
Your user’s current Oracle Application Object Library user ID. |
RESP_ID |
Your user’s current responsibility ID. |
APPL_SHRT_NAME |
The short name of the application connected to your user’s current responsibility. |
RESP_APPL_ID |
The application ID of the application connected to your user’s current responsibility. |
FORM_NAME |
The name of the current form. Not available for concurrent programs. |
FORM_ID |
The form. ID of the current form. Not available for concurrent programs. |
FORM_APPL_NAME |
The name of the application for which the current form. is registered. Not available for concurrent programs. |
FORM_APPL_ID |
The application ID of the application for which the current form. is registered. Not available for concurrent programs. |
LOGON_DATE |
Your user’s logon date for the current session. |
LAST_LOGON_DATE |
Your user’s logon date for the previous session. |
LOGIN_ID |
Your user’s Sign–On Audit login ID in Oracle Application Object Library. |
CONC_REQUEST_ID |
instance of your running current program. You can only use this profile option in a concurrent program. You use this profile option to fill the REQUEST_ID Who column. |
CONC_PROGRAM_ID |
The program ID associated with a running current program. You can only use this profile option in a concurrent program. You use this profile option to fill the PROGRAM_ID Who column. |
CONC_PROGRAM_APPLICATION_ID |
The application ID associated with a running current program. You can only use this profile option in a concurrent program. You use this profile option to fill the PROGRAM_APPLICATION_ID Who column. |
CONC_LOGIN_ID |
The login ID associated with a running concurrent program. You can only use this profile option in a concurrent program. You can use this profile option to fill the LAST_UPDATE_LOGIN Who column. |
CONC_PRINT_OUTPUT |
The value Yes or No that you enter in the Print Output field when you register a concurrentprogram. You can use the routine afpoput() fromyour concurrent programs to change the value ofthis profile option for a particular instance of yourrunning concurrent program. This profile optiondetermines whether the concurrent managers printthe concurrent program’s output to the printer. |
CONC_PRINT_STYLE |
The print style. of your concurrent program’soutput that you enter in the Print Style. field whenyou register a concurrent program. You can usethe routine afpoput() from your concurrentprograms to change the value of this profile option |
要查询得到基于Muti-Org的视图中的数据,一般有以下几种方法:
1.
begin
dbms_application_info.set_client_info(:org_id);-
end;
2.
Declare
x_org_id number;
begin
Fnd_profile.GET('ORG_ID',x_org_id);
fnd_client_info.set_org_context(x_org_id);
end;
3.
begin
fnd_client_info.setup.client_info(application_id => 1,
responsibility_id => 2,
user_id in number => 3,
security_group_id => 4);
end;
4.
begin
fnd_global.APPS_Initialize( user_id=>3070,
resp_id=>50650,
resp_appl_id =>20003);
end;
关于FND_PROFILE与FND_GLOBLE相关推荐
- oracle erp fnd api,Sample of API FND_PROFILE (转)
1. FND_PROFILE.GET('Name of the Profile', variable name); SELECTfnd_profile.value('PROFILEOPTION') , ...
- fnd_global和fnd_profile 的区别
fnd_profile.value 相关参数的提取 select fnd_profile.value('gl_set_of_books_id') from dual select fnd_pro ...
- fnd_profile.value的用法
fnd_profile.value的用法: select fnd_profile.value('gl_set_of_books_id') from dual select fnd_profile ...
- EBS fnd_global.apps_initialize
原型:fnd_global.apps_initialize(user_ID, Responsibility_id, Responsibility_application_id); 作用:在数据库的会话 ...
- Form_通过FND_FNDFLUPL标准功能上传CSV控件(案例)
2014-06-08 Created By BaoXinjian 一.总结 1. 上传资料 (1).通过调用function<FND_FNDFLUPL>,打开上传文件页面: (2).从表f ...
- 关于从基于Mult-Org的视图中查询数据的问题(转)
.Report视图中的数据? fnd_global.APPS_Initialize( user_id=>3070, resp_id=>50650, resp_appl_id =>20 ...
- WSHPSRS-匹克选择列表生成器-SRS(R12.2.3)
匹克选择列表生成器-SRS(R12.2.3) --US Program:Pick Selection List Generation - SRS Short Name:WSHPSRS Appli ...
- Oracle EBS常用数据表
INV库存 organization 两个含义: 1. 经营单位,A/B/C分公司,A下面有A1,A2等工厂,主题目标是为了独立核算此组织 ORG,ORG_ID; 2. 库存组织,例如制造商的仓库,例 ...
- EBS常用表_Dictionary
EBS常用表:转载于 https://blog.csdn.net/xiariqingcao/article/details/8775827 1. OU.库存组织SELECT hou.organizat ...
- Form_Form Builder Export导出为Excel(案例)
2014-01-09 Created By BaoXinjian 一.摘要 以下是关于解决EBS标准导出功能无法导出主从关系数据的方法. 解决思路: 1. 在form上增加一个导出按钮,或者在工具栏 ...
最新文章
- 开源WPF控件库MaterialDesignInXAML推荐
- 关于 block的一些浅识
- 深入理解Solidity 二
- python不用加号实现加法
- 关于TTThumbsViewController加载更多
- python linux区域截屏,用Python写一个像QQ可快捷键唤起区域截屏的应用
- greasyfork脚本怎么取消_greasy fork脚本大全电脑游戏安装使用
- 信息安全常见名词解释
- 移动通信网络规划:无线设备参数
- Mysql语句计算文本字数_使用SQL来确定文本字段的字数统计
- matlab软件及基础实验第8单元,《MATLAB统计分析与应用:40个案例分析》程序与数据(内含彩蛋)...
- pythongbk编码怎么解决_如何解决 Python print 输出文本显示 gbk 编码错误
- 创意发明:单片机做的半导体智能制冷小冰箱 原理图和程序源代码等技术文件
- BAT实现服务器文件同步
- linux下如何清空一个文件?
- scp将本地文件上传到服务器
- mybatis-plus:根据日期或时间范围查询数据的3种方式
- 项目实战-电子商务消费行为分析
- win10修改DNS配置
- 微信小程序 - 商城项目 - 搜索框组件
热门文章
- 让犀牛基于点云数据来完成逆向建模
- VB.NET中Socket编程
- telnet命令用法举例
- Amazon Alexa 服务端搭建
- 计算机硬盘怎么设置ntfs,如何把计算机硬盘文件系统fat32改为ntfs.doc
- ProCAD.2D/3D.Designer.v2008.1 1CD(最大程度地提高管道设计效率)\
- 超越QQ Mail文件中转站---大文件上传设计思路和实践 原创 王泽宾
- VMware虚拟机中Linux系统如何修改IP地址
- JavaVM和JNIEnv
- 一款微信小程序商城项目(附源码)