select 'Application Environment: '|| i.instance_name || ', Host: '|| i.host_name ||', Application Release: ' || f.release_name || ', DB Version: '|| i.version
from v$instance i,fnd_product_groups f
where upper(substr(i.instance_name,1,4)) = upper(substr(f.applications_system_name,1,4))
UNION
select 'Current Application Release: '||ver||' ('||bug||')' from (
select x.* from
(select 1 seq, '1939818' bug,'11.5.0' pv,'11.5.6' ver from dual
union select 2,'2123967','11.5.0','11.5.7' from dual
union select 3,'2293243','11.5.0','11.5.8' from dual
union select 4,'2669606','11.5.0','11.5.9 MP' from dual
union select 5,'3126422','11.5.0','11.5.9 Update1' from dual
union select 6,'3171663','11.5.0','11.5.9 Update2' from dual
union select 7,'3714435','11.5.0','11.5.9 June Update' from dual
union select 8,'3140000','11.5.0','11.5.10' from dual
union select 9,'3240000','11.5.0','11.5.10.1' from dual
union select 10,'3460000','11.5.0','11.5.10.2' from dual
union select 11,'3480000','11.5.0','11.5.10.2' from dual
union select 12,'4440000','12.0.0','12.0' from dual
union select 12,'94440000','12.0.0','12.0*' from dual
union select 13,'5082400','12.0.0','12.0.1' from dual
union select 14,'5484000','12.0.0','12.0.2' from dual
union select 14,'95484000','12.0.0','12.0.2*' from dual
union select 15,'6141000','12.0.0','12.0.3' from dual
union select 15,'96141000','12.0.0','12.0.3*' from dual
union select 16,'6435000','12.0.0','12.0.4' from dual
union select 17,'7282993','12.0.0','12.0.5' from dual
union select 18,'6728000','12.0.0','12.0.6' from dual
union select 19,'6646600','12.0.0','12.1.0' from dual
union select 20,'7303030','12.0.0','12.1.1' from dual
union select 20,'97303030','12.0.0','12.1.1*' from dual
union select 21,'7303033','12.0.0','12.1.2' from dual
union select 22,'9239090','12.0.0','12.1.3' from dual
union select 23,'10079002','12.0.0','12.2.0' from dual
union select 24,'910079002','12.0.0','12.2.0' from dual
union select 25,'14222221','12.0.0','12.2.1' from dual
union select 26,'16207672','12.0.0','12.2.2' from dual
union select 27,'17020683','12.0.0','12.2.3' from dual
union select 28,'17919161','12.0.0','12.2.4' from dual
union select 29,'917919161','12.0.0','12.2.4' from dual
) x,
(select product_version pv from fnd_product_installations
where application_id=401) i,
ad_bugs bugs
where x.bug = bugs.bug_number and x.pv = i.pv order by 1 desc) where rownum = 1
union
select 'Current INV Rollup: '||ver||' ('||bug||')' from (
select x.* from
(select 1 seq, '1426212' bug,'11.5.0' pv,'INV.C' ver from dual
union select 2,'1551167','11.5.0','MFG.D' from dual
union select 3, '1550583','11.5.0','OM.D' from dual
union select 4,'1538130','11.5.0','INV.D' from dual
union select 5, '1745355','11.5.0','MFG.E' from dual
union select 6,'1696652','11.5.0','INV.E' from dual
union select 7, '1891480','11.5.0','MFG.F' from dual
union select 8, '1942144','11.5.0','OM.F' from dual
union select 9,'1886015','11.5.0','INV.F' from dual
union select 10, '2133107','11.5.0','MFG.G' from dual
union select 11, '2118482','11.5.0','OM.G' from dual
union select 12,'2004922','11.5.0','INV.G' from dual
union select 13, '2248408','11.5.0','MFG.H' from dual
union select 14,'2250333','11.5.0','OM.H' from dual
union select 15,'2248490','11.5.0','INV.H' from dual
union select 16, '2697753','11.5.0','MFG.I' from dual
union select 17,'2698175','11.5.0','OM.I' from dual
union select 18,'2371213','11.5.0','INV.I' from dual
union select 19,'3384350','11.5.0','INV.J' from dual
union select 20,'4042499','11.5.0','INV.J RUP1' from dual
union select 21,'4231215','11.5.0','INV.J RUP2' from dual
union select 22,'4734840','11.5.0','INV.J RUP3' from dual
union select 23,'5739724','11.5.0','INV.J RUP4' from dual
union select 24,'6449139','11.5.0','INV.J RUP5' from dual
union select 25,'6461517','11.5.0','INV.J RUP6' from dual
union select 26,'6461519','11.5.0','INV.J RUP7' from dual
union select 27,'6461522','11.5.0','INV.J RUP8' from dual
union select 28,'6870030','11.5.0','INV.J RUP9' from dual
union select 29,'7258620','11.5.0','INV.J RUP10' from dual
union select 30,'7258624','11.5.0','INV.J RUP11' from dual
union select 31,'7258629','11.5.0','INV.J RUP12' from dual
union select 32,'7581431','11.5.0','INV.J RUP13' from dual
union select 33,'7666112','11.5.0','INV.J RUP14' from dual
union select 34,'8403245','11.5.0','INV.J RUP15' from dual
union select 35,'8403254','11.5.0','INV.J RUP16' from dual
union select 36,'8403258','11.5.0','INV.J RUP17' from dual
union select 37,'9063156','11.5.0','INV.J RUP18' from dual
union select 38,'9265857','11.5.0','INV.J RUP19' from dual
union select 39,'9466436','11.5.0','INV.J RUP20' from dual
union select 40,'9649124','11.5.0','INV.J RUP21' from dual
union select 41,'9878808','11.5.0','INV.J RUP22' from dual
union select 42,'10111967','11.5.0','INV.J RUP23' from dual
union select 43,'8478486','12.0.0','R12 INV/RCV RUP7' from dual
union select 44,'7587155','12.0.0','R12.1.1 OPM-INV Consolidated May-2009' from dual
union select 45,'12345554','12.0.0','R12.1.3 OPM-INV Consolidated Apr-2011' from dual
union select 46,'12916273','12.0.0','R12.1+ INV Dual UOM related fixes 3' from dual
union select 47,'13885374','12.0.0','R12.1+INV Dual UOM related fixes 4' from dual
union select 48,'14586882','12.0.0','R12.1+ INV RUP 5' from dual
union select 49,'16328540','12.0.0','R12.1+ INV RUP 6' from dual
union select 50,'16826285','12.0.0','R12.1+ INV RUP 7 (Requires RUP6)' from dual
union select 51,'17512558','12.0.0','R12.1+ INV RUP 7 Consolidated' from dual
union select 52,'18076740','12.0.0','R12.1+ INV RUP 8' from dual
) x,
(select product_version pv from fnd_product_installations
where application_id = 401) i,
ad_bugs bugs
where x.bug = bugs.bug_number and x.pv = i.pv order by 1 desc) where rownum = 1
UNION
select 'Current WMS Rollup: '||ver||' ('||bug||')' from (
select x.* from
(select 1 seq, '4734840' bug, '11.5.0' pv,'RUP3' ver from dual
union select 2 seq, '5855276' bug,'11.5.0' pv,'WMS RUP4' ver from dual
union select 3 seq, '6957082' bug,'11.5.0' pv,'WMS RUP5' ver from dual
union select 4 seq, '7041845' bug,'11.5.0' pv,'WMS RUP6' ver from dual
union select 5 seq, '7219660' bug,'11.5.0' pv,'WMS RUP7' ver from dual
union select 6 seq, '7317230' bug,'11.5.0' pv,'WMS RUP8' ver from dual
union select 7 seq, '7453739' bug,'11.5.0' pv,'WMS RUP9' ver from dual
union select 8 seq, '7591071' bug,'11.5.0' pv,'WMS RUP10' ver from dual
union select 9 seq, '7644924' bug,'11.5.0' pv,'WMS RUP11' ver from dual
union select 10 seq,'7688739' bug,'11.5.0' pv,'WMS RUP12' ver from dual
union select 11 seq,'8337529' bug,'11.5.0' pv,'WMS RUP13' ver from dual
union select 12 seq,'8524873' bug,'11.5.0' pv,'WMS RUP14' ver from dual
union select 13 seq,'8785944' bug,'11.5.0' pv,'WMS RUP15' ver from dual
union select 13 seq,'8941985' bug,'11.5.0' pv,'WMS RUP16' ver from dual
union select 14 seq,'9127290' bug,'11.5.0' pv,'WMS RUP17' ver from dual
union select 15 seq,'9857061' bug,'11.5.0' pv,'WMS RUP18' ver from dual
union select 16 seq,'9951502' bug,'11.5.0' pv,'WMS RUP19' ver from dual
union select 17 seq,'10129740' bug,'11.5.0' pv,'WMS RUP20' ver from dual
union select 18 seq,'7716519','12.0.0','R12.1.1 OPM-WMS Consolidated May-2009' from dual
union select 19 seq,'12364985','12.0.0','R12.1.1 OPM-WMS Consolidated Apr-2011' from dual
union select 20 seq,'12916291','12.0.0','R12.1+ WMS Dual UOM fixes RUP 3' from dual
union select 21 seq,'13885396','12.0.0','R12.1+ WMS Dual UOM fixes RUP 4' from dual
union select 22 seq,'14611722','12.0.0','R12.1+ WMS RUP 5' from dual
union select 23 seq,'16272776','12.0.0','R12.1+ WMS RUP 6' from dual
union select 24 seq,'16812342','12.0.0','R12.1+ WMS RUP 7 (Requires RUP6)' from dual
union select 25 seq,'17442200','12.0.0','R12.1+ WMS RUP 7 Consolidated' from dual
union select 26 seq,'18081430','12.0.0','R12.1+ WMS RUP 8' from dual
) x,
(select product_version pv from fnd_product_installations
where application_id=385) i,
ad_bugs bugs
where x.bug = bugs.bug_number and x.pv = i.pv order by 1 desc) where rownum = 1
union
select 'Product Installation List : ' from dual
union
select 'Product Installation: '||patch_level||': '||decode(status,
'I','Installed','S','Shared','Not Installed')
from fnd_product_installations
where application_id IN (401, 385, 201, 431, 702, 703)
order by 1

结果演示样例:

Application Environment: ml3ys211, Host: rws60075rems, Application Release: 12.1.1, DB Version: 11.1.0.7.0
Current Application Release: 12.1.1 (7303030)
Current INV Rollup: R12.1+ INV RUP 7 Consolidated (17512558)
Current WMS Rollup: R12.1+ WMS RUP 7 Consolidated (17442200)
Product Installation List :
Product Installation: R12.BOM.C.1: Installed
Product Installation: R12.EGO.C.1: Installed
Product Installation: R12.ENG.C.1: Installed
Product Installation: R12.INV.B.1: Installed
Product Installation: R12.PO.B.1: Installed
Product Installation: R12.WMS.B.1: Installed

如何查看 EBS 环境上的 INV RUP 版本号的更多相关文章

  1. [APUE]UNIX进程的环境(上)

    一. 前言 本章将学习:当执行程序时,其main函数是如何被调用的,命令行参数是如何传送给执行程序的,典型的存储器布局是什么样式,如何分配另外的存储空间,进程如何使用环境变量,进程终止的不同方式等.另 ...

  2. 生产环境上shell的解读

    一直以来对shell都不是很熟悉,只停留在基本的linux上操作上,这周因为定位问题接触到了生产环境上的脚本,因此作为引子学习一下.很多命令只是点到,等真正需要独立完成的时候再去学习. #!/bin/ ...

  3. 在云环境上使用SLF4J对Java程序进行日志记录

    我开发了一个Java应用,部署到云环境上之后,用postman测试发现不能按照我期望的工作,但是返回的消息对我没有任何帮助. 因为部署在云端的应用很难像本地Java应用一样调试,所以我打算用SLF4J ...

  4. 在SAP云平台ABAP编程环境上编写第一段ABAP程序

    距2017年秋季的SAP TechEd大会上一位大佬Björn Goerke,SAP's Chief Technology Officer宣布了SAP Cloud Platform即将支持ABAP至今 ...

  5. WordPress搭建教程---购买域名+购买VPS主机+域名DNS解析+网站环境+上传网站程序

    WordPress搭建教程 购买域名---NameSilo 购买VPS主机---Vultr 域名DNS解析 网站环境 上传网站程序 参考文章: 1. WordPress搭建教程 https://zhu ...

  6. Gitbook在 Mac 环境上的安装及使用

    一.在 Mac 环境上搭建 gitbook #.安装node.js,在node.js官网下载,直接安装稳定版本. https://nodejs.org/en/ #.检测 node.js 是否安装成功 ...

  7. RAC环境上搭建DG

    首先RAC要确实是开归档的状态archive log list;如果是非归档状态,需要执行下面几步srvctl stop database -d +数据库实例名 关闭数据库--节点1(要做DG主库的) ...

  8. 以Aliyun体验机为例,从零搭建LNMPR环境(上)

    使用云服务器搭建 Web 运行环境,尤其是搭建常见的 LNMPR(Linux+Nginx+MySQL+PHP+Redis) 环境,对于开发人员是必备的职场基本技能之一.在这里,借着搭建我的" ...

  9. JMeter--二、在Windows环境上搭建wordpress

    为了学习使用JMeter,在Windows环境上搭建了wordpress. 使用JMeter录制或是编写登录worepress.编辑文章.删除文章的脚本. 首先了解一下wordpress是什么? Wo ...

随机推荐

  1. Identifier:GUID (全局唯一标识符)

    ylbtech-Miscellaneos-Identifier:GUID (全局唯一标识符) A,返回顶部 1, 全局唯一标识符(GUID,Globally Unique Identifier)是一种 ...

  2. 检测Sql Server服务器SQL语句执行情况

    1.查找目前SQL Server所执行的SQL语法,并展示资源情况: SQL code ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 ...

  3. Subset II leetcode java

    题目: Given a collection of integers that might contain duplicates, S, return all possible subsets. No ...

  4. C# 二种方法控制系统音量/麦克风大小

    场景:在做播放设备的时候需要控制音量的大小,下面几种方法将满足你的要求 方法一: 改变系统音量设置 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ...

  5. 屌丝就爱尝鲜头——java8总结晒一晒

    前两节讨论了那么多,这节就是两个议题,讨论了新增的日期的api,再说一说我的Java8的一些心得体会了. 首先,我们必须要搞清楚Java 8 为什么要增加新的日期的api,这是由于老的日期api非常的 ...

  6. MYSQL数据删除数据,物理空间没释放

    当您的库中删除了大量的数据后,您可能会发现数据文件尺寸并没有减小.这是因为删除操作后在数据文件中留下碎片所致.OPTIMIZE TABLE 是指对表进行优化.如果已经删除了表的一大部分数据,或者如果已 ...

  7. neo4j的配置文件(图文详解)

    不多说,直接上干货! 前期博客 Ubuntu16.04下Neo4j图数据库官网安装部署步骤(图文详解)(博主推荐) Ubuntu14.04下Neo4j图数据库官网安装部署步骤(图文详解)(博主推荐) ...

  8. Ubuntu14设置静态IP的地方

    sudo vim /etc/network/interfaces 修改如下部分: auto eth0iface eth0 inet staticaddress 192.168.0.117gateway ...

  9. scikit-learn工具学习 - random,mgrid,np.r_ ,np.c_, scatter, axis, pcolormesh, contour, decision_function

    yuanwen: http://blog.csdn.net/crossky_jing/article/details/49466127 scikit-learn 练习题 题目:Try classify ...

  10. JavaScript 之 JavaScript 对象

    重新看JavaScript对象,参考资料: RUNOOB.COM:http://www.runoob.com/jsref/jsref-fromcharcode.html: CodePlayer:htt ...