SELECT a.request_id request_id
,a.phase_code
,a.status_code
,actual_start_date
,actual_completion_date
,c.concurrent_program_name || ': ' || ctl.user_concurrent_program_name concurrent_program_name
FROM fnd_Concurrent_requests a
,fnd_concurrent_processes b
,fnd_concurrent_queues q
,fnd_concurrent_programs c
,fnd_concurrent_programs_tl ctl
WHERE a.controlling_manager = b.concurrent_process_id
AND a.concurrent_program_id = c.concurrent_program_id
AND a.program_application_id = c.application_id
AND a.status_code = 'E'
AND a.phase_code = 'C'
AND actual_start_date > SYSDATE - 10
AND b.queue_application_id = q.application_id
AND b.concurrent_queue_id = q.concurrent_queue_id
AND ctl.concurrent_program_id = c.concurrent_program_id
AND ctl.LANGUAGE = USERENV('LANG')
ORDER BY actual_completion_date
No comments:
Post a Comment