Monday, October 31, 2016

How to Disable all scheduled Concurrent Request in R12

How to Disable all scheduled Concurrent Request in R12


Script to disable all scheduled requests - After cloning



From Front End:

1) Login with the same user, who scheduled the concurrent program
2) Go to view requests from the responsibility it's been scheduled -->View Requests--> Query for the program
3) You should get one record in scheduled state
4) Click on view details end date the schedule and cancel the request.


From Back End

Use below query to cancel scheduled concurrent program.
UPDATE fnd_concurrent_requests
SET phase_code = 'C', status_code = 'X'
WHERE status_code IN ('Q','I')
AND requested_start_date > SYSDATE
AND hold_flag = 'N'
AND CONCURRENT_PROGRAM_ID=&P_CONCURRENT_PROGRAM_ID;
COMMIT;



or 

update fnd_concurrent_requests
set phase_code='C',
status_code='D'
where phase_code = 'P'
and (status_code = 'I' OR status_code = 'Q');
and requested_start_date >= SYSDATE
and hold_flag = 'N';
COMMIT;


The following is the metalink reference articles.
a. 170107.1
b. 152209.1


No comments: