DBA Data[Home] [Help]

APPS.CZ_MODEL_CONVERT dependencies on FND_CONC_GLOBAL

Line 2281: IF(noofreports=0 and fnd_conc_global.request_data IS NULL ) THEN

2277: AND(migration_group_id = p_request_id OR(p_request_id IS NULL AND migration_group_id IS NOT NULL))
2278: AND export_status = 'PEN'
2279: AND server_id = 0);
2280:
2281: IF(noofreports=0 and fnd_conc_global.request_data IS NULL ) THEN
2282: log_msg('Model_Convert_CP', 0, 'No pending request with the supplied Conversion Set ID', fnd_log.level_unexpected);
2283: errbuf := 'Error in model conversion!';
2284: retcode := 2;
2285: raise ERR_PROFILE;

Line 2311: req_data := fnd_conc_global.request_data;

2307: -- null.
2308: -- Otherwise, this will be the value that we passed to
2309: -- SET_REQ_GLOBALS on the previous run.
2310: --
2311: req_data := fnd_conc_global.request_data;
2312:
2313: -- If this is the first run, well set i = 1.
2314: -- Otherwise we will set i = request_data + 1, and we will
2315: -- exit if we are done.

Line 2374: fnd_conc_global.set_req_globals(conc_status => 'PAUSED', request_data => to_char(i));

2370: cz_model_convert.CONVERT_MODEL:=FALSE;
2371: BEGIN
2372: call_status := FND_CONCURRENT.GET_REQUEST_STATUS(r, '', '', rphase,rstatus,dphase,dstatus, message);
2373: IF dphase<>'COMPLETE' THEN
2374: fnd_conc_global.set_req_globals(conc_status => 'PAUSED', request_data => to_char(i));
2375: END IF;
2376: --no need to pause if child completed
2377: EXCEPTION WHEN OTHERS THEN
2378: NULL;

Line 2389: fnd_conc_global.set_req_globals(conc_status => 'PAUSED', request_data => to_char(i));

2385: cz_model_convert.CONVERT_MODEL:=FALSE;
2386: BEGIN
2387: call_status := FND_CONCURRENT.GET_REQUEST_STATUS(r, '', '', rphase,rstatus,dphase,dstatus, message);
2388: IF dphase<>'COMPLETE' THEN
2389: fnd_conc_global.set_req_globals(conc_status => 'PAUSED', request_data => to_char(i));
2390: END IF;
2391: --no need to pause if child completed
2392: EXCEPTION WHEN OTHERS THEN
2393: NULL;