fnd_global package可以取得一些關於當前login in用戶的信息

fnd_concurrent_requests functions
select FND_PROFILE.VALUE('RESP_APPL_ID') from dual 取得当前APPLICATION_ID
select * from FND_USER_RESP_GROUPS  存放用户所拥有的一些责任

取得當前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;

转载于:https://www.cnblogs.com/huak/p/3765385.html

关于FND_PROFILE与FND_GLOBLE[Z]相关推荐

  1. Ubuntu 系统 下 AndroidStudio 工具 使用ctrl+z 回退上一步的方法

    Ubuntu 系统 下使用 AndroidStudio 使用ctrl + z 不是回退上一步的方法 ,是把 as 工具返回home 了 如果想使用ctrl + z 实现回退上一步 ,可以把Ubuntu ...

  2. Android窗口管理服务WindowManagerService计算窗口Z轴位置的过程分析

    文章转载至CSDN社区罗升阳的安卓之旅,原文地址:http://blog.csdn.net/luoshengyang/article/details/8570428 通过前面几篇文章的学习,我们知道了 ...

  3. ccf Z字形扫描

    201412-2 试题名称: Z字形扫描 时间限制: 2.0s 内存限制: 256.0MB 问题描述: 问题描述 在图像编码的算法中,需要将一个给定的方形矩阵进行Z字形扫描(Zigzag Scan). ...

  4. floquet端口必须沿z轴设置_金秀友佳FMH-630加工中心伸缩Y轴钢板防护罩批发价格...

    金秀友佳FMH-630加工中心伸缩Y轴钢板防护罩批发价格 钢板防护罩装置使护罩同动且平行(避免了一般剪力式防护罩仍有蛇行的缺点),在高速时可以更平稳.没有振动产生.讯耐高温防护罩可有效地保护丝杠.光杠 ...

  5. PCL:自定义创建带颜色的点云保存后rgb是一个很大的数,由x y z rgb解包为x y z r g b

    由于实验需要自己需要从3D相机中读取数据并保存为pcd格式, 下面是一部分读取并保存的代码,以及最后保存结果,但是在保存为pcd的时候发现是这个样子:  (如上代码为PCD文件中的头文件,TYPE中的 ...

  6. BZOJ2038 小Z的袜子(hose)

    题目链接 莫队求区间[L,R]中数字相同的pair数,然后求GCD即可. #include<stdio.h> #include<string.h> #include<io ...

  7. +z +Z compiler flag for HP

    1.      今天遇到一问题,在sles11/vxworks下编译通过,但是在hpux下失败 2.      编译错误: /usr/ccs/bin/ld:DP relative code in fi ...

  8. 邮Z速递物流,让用户密码在网络中遨游

    " 最近分析快递行业的APP上瘾了,求解救." 邮政作为快递行业一个傻大黑的存在,一直很奇怪,我一直在纳闷,邮政和EMS到底是不是一家,在很多网点,它们是一体的存在,但很多东西,又 ...

  9. linux中ctrl+z和ctrl+c的区别

    ctrl+c和ctrl+z都是中断命令,但是他们的作用却不一样. ctrl+c强制中断程序 ctrl+z的是将任务中断,挂起的状态, ctrl+c是强制中断程序的执行,而ctrl+z的是将任务中断. ...

  10. 职业操盘手内部教材 z

    重 点抢筹区:   是主力机构在低位拉高建仓后的一个相当尴尬的区域!因为在这个区域,场外的绝大多数投资者不敢买,而场内持有的人却很想卖!所以会出现成片的卖盘挂单! 由于主力向上做的意图已经非常明显,所 ...

最新文章

  1. 实现php实现价格的排序,php 数组动态添加实现代码(最土团购系统的价格排序)_PHP教程...
  2. (LeetCode 203)Remove Linked List Elements
  3. vs 正则表达式替换
  4. ajax和Java session监听
  5. 制作两个字符串字谜的最小步骤数
  6. 改变网页标签图片(favicon)
  7. 如何提高JVM的性能?
  8. Linux服务器系统备份还原
  9. java中输出a个b_下面代码输出什么 ( ) var a=0,b=0; for(;a10,b7;a++,b++){ g=a+b; } console.log(g);_学小易找答案...
  10. 企业SpringBoot 教程(五)springboot整合beatlsql
  11. RBAC-基于角色的权限管理
  12. Linux chmod命令 修改文件权限被禁止(not permitted)的解决办法
  13. 安装lamp lnmp 一键安装包网址
  14. 流媒体播放器VLC media player
  15. ![CDATA[的web使用简单说明
  16. Qt QtabWidget设置背景色 设置标题栏颜色
  17. 《我拼图贼6》游戏反馈栏
  18. Java学习之JavaFX安装
  19. 优化工具 Neos Server
  20. supervisor查询状态报错

热门文章

  1. Kohana - PHP5框架 - 我看过的开源框架
  2. C++primer习题4.7比较数组是否相等
  3. mac如何清空Recent Places
  4. [环境搭建]-IIS 定时访问器.NETweb服务器长时间不访问页面加载速度慢
  5. COGS2353[HZOI 2015] 有标号的DAG计数 I
  6. python正则匹配_Python中的正则表达式(re)
  7. ajax 解析gzip,javascript – 如何让浏览器gunzip一个Ajax获取gziped文本文件?
  8. linux mysql workbench 安装_Ubuntu 20.04 上 MySQL Workbench 安装和使用图文详解
  9. Filter过滤器概念及生命周期
  10. 商务英语还是计算机专业好,是读广东外语外贸大学计算机专业好还是广东工业大学计算机专业好...