DBA Data[Home] [Help]

APPS.FND_CP_RT_PKG dependencies on FND_CONC_GLOBAL

Line 412: req_data := fnd_conc_global.request_data;

408: -- If we are running as a PL/SQL concurrent program, submit the set as a sub-request.
409: -- If we are running as a standalone PL/SQL procedure, submit the set as an in indivdual request.
410: -- Check req_data: if NULL, we are running as a standalone
411: -- ----------------------------------------------
412: req_data := fnd_conc_global.request_data;
413: if (req_data IS NULL) then
414: reqid := fnd_submit.submit_set(null,false);
415: else
416: reqid := fnd_submit.submit_set(null,true);

Line 488: req_data := fnd_conc_global.request_data;

484: -- if req_data IS NULL, first time into the program - Phase 1
485: -- if req_data = 'Phase_2' reawakened after sub-request has completed - Phase 2
486: -- if req_data = 'Phase_3' reawakened after request set has completed - Phase 3
487: -- ----------------------------------------------
488: req_data := fnd_conc_global.request_data;
489: FND_FILE.PUT_LINE(FND_FILE.LOG, 'req_data = ' || req_data);
490:
491: if (req_data IS NULL and TO_NUMBER(duration) > 0) then
492: sleep (duration);

Line 508: fnd_conc_global.set_req_globals(conc_status => 'PAUSED',

504: submit_sub_request(errbuf, retcode);
505:
506: -- Set the globals to put the program into the PAUSED status on exit,
507: -- and to save the state in request_data.
508: fnd_conc_global.set_req_globals(conc_status => 'PAUSED',
509: request_data => 'Phase_2') ;
510:
511: elsif (req_data = 'Phase_2') then -- Phase 1 has completed
512: /*------------------------------------------------------------------------------+

Line 518: fnd_conc_global.set_req_globals(conc_status => 'PAUSED',

514: +-------------------------------------------------------------------------------*/
515: submit_request_set(errbuf, retcode);
516: -- Here we set the globals to put the program into the PAUSED status on exit,
517: -- and to save the state in request_data.
518: fnd_conc_global.set_req_globals(conc_status => 'PAUSED',
519: request_data => 'Phase_3') ;
520:
521: else -- Phase 2 has completed
522: /*-------------------------------------------------------------------------------+

Line 527: fnd_conc_global.set_req_globals(request_data => 'Finished');

523: | PHASE 3 |
524: +-------------------------------------------------------------------------------*/
525: finish(errbuf, retcode);
526: -- Set globals to set request_data for program into FINISHED state
527: fnd_conc_global.set_req_globals(request_data => 'Finished');
528: end if;
529:
530: elsif (upper(run_mode) = 'BASIC') then
531: basic(errbuf, retcode);