EBS Concurrent Request Schedule Options -- fnd_conc_release_classes
EBS Concurrent Request Schedule Options
EBS并发请求中有可以设置计划用以定时运行,计划存储在 fnd_conc_release_classes 表中,通过release_class_id与请求表fnd_concurrent_requests关联。详细信息如下:
RELEASE_CLASS_ID: 主键,与fnd_concurrent_requests关联.CLASS_TYPE: contains value ‘P’ for “Periodic” schedules, ‘S’ for “on Specific Days” schedules and ‘X’ for “advanced schedules”. P:定期,S:在特定日期,X:高级DATE1: start date of the schedule (“Start at” field in the form) 起始日期DATE2: end date of the schedule (“End at” field in the form), as fnd_concurrent_requests.resubmit_end_date 终止日期CLASS_INFO: this is the most interesting field as it contains all the information needed for rescheduling. The format of the field depends on the type of schedule.
因计划类型的不同,数据格式也随之出现差异.
“PERIODIC” schedule: 定期In case of Periodic schedule fnd_conc_release_classes.CLASS_INFO field contains values like “2:D:S” or X:Y:Z where:X – number of months/weeks/days/hours/minutes the request has to be rescheduled from prior run.Y – contains a single letter representing units"M" – months;“D” – days;“H” – hours;“N” – minutes;(there is no representation of “weeks” option. If you specify interval in weeks, it’s automatically calculated and stored in “days”).Z – contains a single letter to represent if the rescheduling has to be done from start or from completion of the prior runS – from the start of the prior run;C – from the completion of the prior run.Some samples:30:N:S – Repeat every 30 minutes from the start of the prior run5:N:C – Repeat every 5 minutes from the completion of the prior run12:H:S – Repeat every 12 hours from the start of the prior runIt’s interesting that information about intervals of periodic schedules is duplicated infnd_concurrent_requests table fields RESUBMIT_INTERVAL, RESUBMIT_INTERVAL_TYPE_CODE and RESUBMIT_INTERVAL_UNIT_CODE.
“ON SPECIFIC DAY” schedule: 在特定日期In case of on Specific Day schedule fnd_conc_release_classes.CLASS_INFO field contains values like “000010000000000000000000000000010000000” – a 39 character value consisting of 0 and 1. The idea is that the placement of 1-s represent the options selected through form:1-s at places 1 to 31 – represent dates, when request has to be run, eg, if the 10th character is “1” – the request is scheduled to run on 10th day of each month;character “1” at the 32nd position – specifies that the request has to be run at the last day of each month;1-s at places 33 to 39 – specifies days of week (Sunday – Saturday)the request has to be run. if the 33rd character is “1” – the request is scheduled to run each Sunday, if 34th – on Monday and so on.Some samples:000000000000000000000000000000000000001 – Days of week: Sa111111111000000000000000000000000111110 – Dates: 1 2 3 4 5 6 7 8 9. Days of week: Mo Tu We Th Fr000000000000000000000000000000010000000 – Last day of month
最后,奉上一段SQL:
SELECT r.Request_Id,p.User_Concurrent_Program_Name || CASEWHEN p.User_Concurrent_Program_Name = 'Report Set' THEN(SELECT ' - ' || s.User_Request_Set_NameFROM Fnd_Request_Sets_Tl sWHERE s.Application_Id = r.Argument1AND s.Request_Set_Id = r.Argument2AND LANGUAGE = 'US')WHEN p.User_Concurrent_Program_Name = 'Check Periodic Alert' THEN(SELECT ' - ' || a.Alert_NameFROM Alr_Alerts aWHERE a.Application_Id = r.Argument1AND a.Alert_Id = r.Argument2AND LANGUAGE = 'US')END Concurrent_Program_Name,CASEWHEN p.User_Concurrent_Program_Name != 'Report Set' ANDp.User_Concurrent_Program_Name != 'Check Periodic Alert' THENr.Argument_TextEND Argument_Text,r.Requested_Start_Date Next_Run,r.Hold_Flag On_Hold,Decode(c.Class_Type,'P','Periodic','S','On Specific Days','X','Advanced',c.Class_Type) Schedule_Type,CASEWHEN c.Class_Type = 'P' THEN'Repeat every ' ||Substr(c.Class_Info, 1, Instr(c.Class_Info, ':') - 1) ||Decode(Substr(c.Class_Info,Instr(c.Class_Info, ':', 1, 1) + 1,1),'N',' minutes','M',' months','H',' hours','D',' days') ||Decode(Substr(c.Class_Info,Instr(c.Class_Info, ':', 1, 2) + 1,1),'S',' from the start of the prior run','C',' from the completion of the prior run')WHEN c.Class_Type = 'S' THENNvl2(Dates.Dates, 'Dates: ' || Dates.Dates || '. ', NULL) ||Decode(Substr(c.Class_Info, 32, 1), '1', 'Last day of month ') ||Decode(Sign(To_Number(Substr(c.Class_Info, 33))),'1','Days of week: ' ||Decode(Substr(c.Class_Info, 33, 1), '1', 'Su ') ||Decode(Substr(c.Class_Info, 34, 1), '1', 'Mo ') ||Decode(Substr(c.Class_Info, 35, 1), '1', 'Tu ') ||Decode(Substr(c.Class_Info, 36, 1), '1', 'We ') ||Decode(Substr(c.Class_Info, 37, 1), '1', 'Th ') ||Decode(Substr(c.Class_Info, 38, 1), '1', 'Fr ') ||Decode(Substr(c.Class_Info, 39, 1), '1', 'Sa '))END Schedule,c.Date1 Start_Date,c.Date2 End_Date,c.Class_InfoFROM Fnd_Concurrent_Requests r,Fnd_Conc_Release_Classes c,Fnd_Concurrent_Programs_Tl p,(SELECT Release_Class_Id,Substr(MAX(Sys_Connect_By_Path(s, ' ')), 2) DatesFROM (SELECT Release_Class_Id,Rank() Over(PARTITION BY Release_Class_Id ORDER BY s) a,sFROM (SELECT c.Class_Info,l,c.Release_Class_Id,Decode(Substr(c.Class_Info, l, 1),'1',To_Char(l)) sFROM (SELECT LEVEL l FROM Dual CONNECT BY LEVEL <= 31),Fnd_Conc_Release_Classes cWHERE c.Class_Type = 'S')WHERE s IS NOT NULL)CONNECT BY PRIOR(a || Release_Class_Id) = (a - 1) || Release_Class_IdSTART WITH a = 1GROUP BY Release_Class_Id) DatesWHERE r.Phase_Code = 'P'AND c.Application_Id = r.Release_Class_App_IdAND c.Release_Class_Id = r.Release_Class_IdAND Nvl(c.Date2, SYSDATE + 1) > SYSDATEAND c.Class_Type IS NOT NULLAND p.Concurrent_Program_Id = r.Concurrent_Program_IdAND p.Application_Id = r.Program_Application_IdAND p.Language = 'US'AND Dates.Release_Class_Id(+) = r.Release_Class_IdORDER BY On_Hold, Next_Run
EBS Concurrent Request Schedule Options -- fnd_conc_release_classes相关推荐
- Oracle EBS Concurrent Request:Gather Schema Statistics
Oracle EBS 的Concurrent Request"Gather Schema Statistics"是一个和性能相关的Concurrent Program,它会对表,列 ...
- 使用axios时遇到的Request Method: OPTIONS请求,会同时发送两次请求问题
新接手的一个项目中,发现一些接口在请求时,会自动发送一个 Request Method: OPTIONS 的请求,我查了一遍代码,不是代码中写明的.就上网搜了一下,网上给出的解释涉及到了两个关键词: ...
- axios每次发送请求会有两次,多一次Request Method: OPTIONS是怎么回事?
现在vue项目中使用axios发送http请求,每次请求都会多一次Request Method: OPTIONS请求,然后才是get/post请求,请问这个是后台的问题还是我这边axios请求的问题? ...
- 为什么浏览器请求一个接口有两次其中一次是Request Method: OPTIONS
Request Method: OPTIONS 刚接触前端的时候,以为HTTP的Request Method只有GET与POST两种,后来才了解到,原来还有HEAD.PUT.DELETE.OPTION ...
- Request Method: OPTIONS
新接手的一个项目中,发现一些接口在请求时,会自动发送一个的请求,我查了一遍代码,不是代码中写明的.就上网搜了一下,网上给出的解释涉及到了两个关键词:简单请求和复杂请求. Request Method: ...
- Ajax 请求中出现OPTIONS(Request Method: OPTIONS)
背景 做上传文件功能时,在请求上传文件接口之前,会发送一个options的请求. 原因 ajax 请求遵循同源策略(协议.域名.端口必须一致),若突破该限制,会产生跨域行为,设置Access-Cont ...
- vue axios跨域 Request Method: OPTIONS问题
今天做跨域登录功能遇到这个问题(后端已做跨域处理): 当跨域请求为post时候,请求的method变为了options. 在这里插入图片描述 其实跨域分为 简单跨域请求和复杂跨域请求: 简单跨域请求是 ...
- oracle fnd global,Oracle EBS R12 - 利用fnd_conc_global.set_req_globals设置子请求的Parent Request ID...
数据库与EBS版本: RDBMS : 11.1.0.7.0 Oracle Applications : 12.1.2 当在一个concurrent里用fnd_request.submit_reques ...
- ORACLE EBS中快速查看某个Request的Output File或log等信息
项目上,经常有请求报红报黄等问题反映到技术顾问这边,但是由于某些权限的限制,有时候哪怕System Administrator职责也只能看到某个Request信息,但是不能查看它的Output Fil ...
最新文章
- MySQL_控制台操作_01
- perl计算IP所在的子网范围
- 常用算法25讲,拿走不谢!
- 今天小暑是什么时间_小暑适合发朋友圈的说说 小暑吐槽天气热的搞笑幽默说说...
- 好好的活,简简单单过!
- java全文检索工具_全文检索工具elasticsearch:第三章: Java程序中的应用
- Swift - 将DaSwift-Data数据转换为[UInt8](bytes字节数组)
- webpack处理url资源的配置
- 一步一步搭建免费的Silverlight 2开发环境
- 对着IDEA 配置方式
- 洛谷 P1454【圣诞夜的极光】
- kali linux 2017 中文,Kali Linux 2017.3 发布,带来已升级的内核和新工具
- 【SICP练习】115 练习3.41
- 使用python调用浏览器实现自动转发微博
- Easy CHM使用简明教程
- 5g网络测试用什么软件,5G网络测速
- bzoj4816: [Sdoi2017]数字表格
- UNISON文件同步
- HP台式机安装WIN10
- excel自动汇总多个工作表数据
热门文章
- TensorFlow 高性能数据输入管道设计指南
- 让Windows 时间与Internet 时间服务器同步
- [家里蹲大学数学杂志]第265期武汉大学2013年高等代数考研试题参考解答
- antdvue upload组件的customRequest自定义上传事件一直uploading处理方法
- 让顶部系统状态栏跟随APP背景色
- 基于C语言的可靠数据传输协议的设计与实现
- 计算机思维的结构问题,《计算思维的结构》读书笔记
- 如何培养《未来架构师》(2)
- 面试-vue组件间通信
- python基础课程设计项目_Python+MySQL开发医院网上预约系统(课程设计)一