57: IF px_terr_globals.request_id = 0 OR px_terr_globals.request_id IS NULL
58: THEN
59: -- Get concurrent sequence
60: AS_GAR.LOG('request_id is 0, get from sequence');
61: SELECT fnd_concurrent_requests_s.nextval into px_terr_globals.request_id from dual;
62: END IF;
63:
64: COMMIT;
65:
135: l_worker_id := p_terr_globals.worker_id;
136:
137:
138: SELECT count(*) into l_total_num_gar_workers
139: FROM fnd_concurrent_requests
140: WHERE parent_request_id = l_ata_request_id;
141:
142: WF_EVENT.AddParameterToList(
143: p_name => 'RUN_MODE',