EBS请求集 运行状态查询

EBS请求集 运行状态查询 

-- 程序集运行状态

-- 程序集运行状态
SELECT FCR.REQUEST_ID,
       fcr.requested_start_date,
       FCR.LAST_UPDATE_DATE ,
       --FCR.DESCRIPTION AS REQUEST_SET_DESCRIPTION,
       --FCR.COMPLETION_TEXT,
       --FCR.ARGUMENT_TEXT,
       FCR.RESUBMIT_INTERVAL,
       FCR.RESUBMIT_INTERVAL_UNIT_CODE,
       FCR.NUMBER_OF_ARGUMENTS,
       FCR.ARGUMENT_TEXT,
       FCR.RESUBMIT_INTERVAL_TYPE_CODE,
       FRS.REQUEST_SET_NAME,
       FRS.USER_REQUEST_SET_NAME,
       FRS.DESCRIPTION AS REQUEST_SET_DESCRIPTION,
       FRSRF.DISPLAY_SEQUENCE,
       FRSRF.USER_CONCURRENT_PROGRAM_NAME,
       FRSRF.CONCURRENT_PROGRAM_NAME,
       FRSRF.APPLICATION_SHORT_NAME 
 FROM FND_CONCURRENT_REQUESTS  FCR,
      FND_REQUEST_SETS_VL FRS,  -- 请求集头表
      FND_REQ_SET_RUN_FORM_V FRSRF -- 请求集里 的并发程序清单 
WHERE FCR.CONCURRENT_PROGRAM_ID = 31659  -- 报表集(1)
 AND FCR.ARGUMENT1 = TO_CHAR(FRS.APPLICATION_ID)
 AND FCR.ARGUMENT2 = TO_CHAR(FRS.REQUEST_SET_ID)
 AND FRS.REQUEST_SET_ID = FRSRF.REQUEST_SET_ID
 AND FCR.LAST_UPDATE_DATE >= SYSDATE- 10
 AND FCR.PHASE_CODE = 'P'
 -- AND  REQUEST_ID =  59835476
 AND FCR.ARGUMENT1 =  20003 -- 客户应用程序 
ORDER BY FCR.REQUEST_ID,FRSRF.REQUEST_SET_ID,
      FRSRF.DISPLAY_SEQUENCE

  

  

 

posted @ 2022-07-19 17:29  samrv  阅读(316)  评论(0编辑  收藏  举报