DBA Data[Home] [Help]

APPS.BEN_EVALUATE_ELIG_CONC dependencies on FND_MESSAGE

Line 127: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');

123: Begin
124: --
125: hr_utility.set_location ('Entering '||l_proc,10);
126: --
127: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
128: fnd_message.set_token('PROC','dt_fndate.change_ses_date');
129: dt_fndate.change_ses_date
130: (p_ses_date => l_effective_date,
131: p_commit => l_commit);

Line 128: fnd_message.set_token('PROC','dt_fndate.change_ses_date');

124: --
125: hr_utility.set_location ('Entering '||l_proc,10);
126: --
127: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
128: fnd_message.set_token('PROC','dt_fndate.change_ses_date');
129: dt_fndate.change_ses_date
130: (p_ses_date => l_effective_date,
131: p_commit => l_commit);
132: --

Line 135: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');

131: p_commit => l_commit);
132: --
133: l_effective_date:=trunc(fnd_date.canonical_to_date(p_effective_date));
134: --
135: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
136: fnd_message.set_token('PROC','benutils.get_parameter');
137: benutils.get_parameter(p_business_group_id => p_business_group_id
138: ,p_batch_exe_cd => 'BENUNVEL'
139: ,p_threads => l_threads

Line 136: fnd_message.set_token('PROC','benutils.get_parameter');

132: --
133: l_effective_date:=trunc(fnd_date.canonical_to_date(p_effective_date));
134: --
135: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
136: fnd_message.set_token('PROC','benutils.get_parameter');
137: benutils.get_parameter(p_business_group_id => p_business_group_id
138: ,p_batch_exe_cd => 'BENUNVEL'
139: ,p_threads => l_threads
140: ,p_chunk_size => l_chunk_size

Line 143: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');

139: ,p_threads => l_threads
140: ,p_chunk_size => l_chunk_size
141: ,p_max_errors => g_max_errors_allowed);
142: --
143: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
144: fnd_message.set_token('PROC','ben_env_object.init');
145: ben_env_object.init(p_business_group_id => p_business_group_id,
146: p_effective_date => l_effective_date,
147: p_thread_id => p_thread_id,

Line 144: fnd_message.set_token('PROC','ben_env_object.init');

140: ,p_chunk_size => l_chunk_size
141: ,p_max_errors => g_max_errors_allowed);
142: --
143: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
144: fnd_message.set_token('PROC','ben_env_object.init');
145: ben_env_object.init(p_business_group_id => p_business_group_id,
146: p_effective_date => l_effective_date,
147: p_thread_id => p_thread_id,
148: p_chunk_size => l_chunk_size,

Line 166: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');

162: fetch c_parameter into l_parm;
163: --
164: close c_parameter;
165: --
166: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
167: fnd_message.set_token('PROC','ben_batch_utils.print_parameters');
168: ben_batch_utils.print_parameters
169: (p_thread_id => p_thread_id
170: ,p_benefit_action_id => p_benefit_action_id

Line 167: fnd_message.set_token('PROC','ben_batch_utils.print_parameters');

163: --
164: close c_parameter;
165: --
166: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
167: fnd_message.set_token('PROC','ben_batch_utils.print_parameters');
168: ben_batch_utils.print_parameters
169: (p_thread_id => p_thread_id
170: ,p_benefit_action_id => p_benefit_action_id
171: ,p_validate => p_validate

Line 297: g_rec.text := fnd_message.get;

293: g_rec.rep_typ_cd := 'ERROR_LF';
294: g_rec.person_id := l_person_id;
295: g_rec.national_identifier := l_per_rec.national_identifier;
296: g_rec.error_message_code := benutils.get_message_name;
297: g_rec.text := fnd_message.get;
298:
299: hr_utility.set_location('Error Message '||g_rec.text,10);
300: benutils.write(l_per_rec.full_name||' processed unsuccessfully');
301: benutils.write(g_rec.text);

Line 308: fnd_message.set_name('BEN','BEN_92431_BENBOCON_ERROR_LIMIT');

304: hr_utility.set_location('Max Errors = '||g_max_errors_allowed,10);
305: hr_utility.set_location('Num Errors = '||g_persons_errored,10);
306: if g_persons_errored > g_max_errors_allowed then
307: --
308: fnd_message.set_name('BEN','BEN_92431_BENBOCON_ERROR_LIMIT');
309: benutils.write(p_text => fnd_message.get);
310: --
311: raise;
312: --

Line 309: benutils.write(p_text => fnd_message.get);

305: hr_utility.set_location('Num Errors = '||g_persons_errored,10);
306: if g_persons_errored > g_max_errors_allowed then
307: --
308: fnd_message.set_name('BEN','BEN_92431_BENBOCON_ERROR_LIMIT');
309: benutils.write(p_text => fnd_message.get);
310: --
311: raise;
312: --
313: end if;

Line 333: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');

329: rollback;
330: --
331: end if;
332: --
333: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
334: fnd_message.set_token('PROC','benutils.write_table_and_file');
335: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
336: commit;
337: --

Line 334: fnd_message.set_token('PROC','benutils.write_table_and_file');

330: --
331: end if;
332: --
333: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
334: fnd_message.set_token('PROC','benutils.write_table_and_file');
335: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
336: commit;
337: --
338: end loop;

Line 340: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');

336: commit;
337: --
338: end loop;
339: --
340: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
341: fnd_message.set_token('PROC','benbatch_utils.write_logfile');
342: ben_batch_utils.write_logfile(p_num_pers_processed => g_persons_processed
343: ,p_num_pers_errored => g_persons_errored);
344: --

Line 341: fnd_message.set_token('PROC','benbatch_utils.write_logfile');

337: --
338: end loop;
339: --
340: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
341: fnd_message.set_token('PROC','benbatch_utils.write_logfile');
342: ben_batch_utils.write_logfile(p_num_pers_processed => g_persons_processed
343: ,p_num_pers_errored => g_persons_errored);
344: --
345: commit;

Line 360: g_rec.text := fnd_message.get;

356: rollback;
357: benutils.rollback_cache;
358: --
359: g_rec.rep_typ_cd := 'FATAL';
360: g_rec.text := fnd_message.get;
361: g_rec.person_id := l_person_id;
362: --
363: benutils.write(p_text => g_rec.text);
364: benutils.write(p_rec => g_rec);

Line 373: fnd_message.raise_error;

369: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
370: --
371: commit;
372: --
373: fnd_message.raise_error;
374: --
375: End do_multithread;
376: -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
377: -- << Procedure: Restart >>

Line 422: fnd_message.set_name('BEN','BEN_91710_RESTRT_PARMS_NOT_FND');

418: --
419: fetch c_parameters into l_parameters;
420: If c_parameters%notfound then
421: --
422: fnd_message.set_name('BEN','BEN_91710_RESTRT_PARMS_NOT_FND');
423: fnd_message.raise_error;
424: --
425: End if;
426: --

Line 423: fnd_message.raise_error;

419: fetch c_parameters into l_parameters;
420: If c_parameters%notfound then
421: --
422: fnd_message.set_name('BEN','BEN_91710_RESTRT_PARMS_NOT_FND');
423: fnd_message.raise_error;
424: --
425: End if;
426: --
427: close c_parameters;

Line 789: fnd_message.set_name('BEN','BEN_91769_NOONE_TO_PROCESS');

785: ,p_benfts_grp_id => p_benfts_grp_id
786: ,p_location_id => p_location_id
787: ,p_legal_entity_id => p_legal_entity_id);
788: --
789: fnd_message.set_name('BEN','BEN_91769_NOONE_TO_PROCESS');
790: fnd_message.set_token('PROC' , l_proc);
791: raise l_no_one_to_process;
792: End if;
793: --

Line 790: fnd_message.set_token('PROC' , l_proc);

786: ,p_location_id => p_location_id
787: ,p_legal_entity_id => p_legal_entity_id);
788: --
789: fnd_message.set_name('BEN','BEN_91769_NOONE_TO_PROCESS');
790: fnd_message.set_token('PROC' , l_proc);
791: raise l_no_one_to_process;
792: End if;
793: --
794: do_multithread(errbuf => errbuf

Line 814: benutils.write(p_text => fnd_message.get);

810: hr_utility.set_location ('Leaving '||l_proc,70);
811: --
812: Exception
813: when l_no_one_to_process then
814: benutils.write(p_text => fnd_message.get);
815: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
816: when others then
817: --
818: hr_utility.set_location('Super Error',10);

Line 820: benutils.write(p_text => fnd_message.get);

816: when others then
817: --
818: hr_utility.set_location('Super Error',10);
819: rollback;
820: benutils.write(p_text => fnd_message.get);
821: benutils.write(p_text => sqlerrm);
822: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
823: If (l_num_range > 0) then
824: ben_batch_utils.check_all_slaves_finished(p_rpt_flag => TRUE);

Line 830: fnd_message.raise_error;

826: ,p_person_selected => l_person_cnt
827: ,p_business_group_id => p_business_group_id
828: ) ;
829: End if;
830: fnd_message.raise_error;
831: End process;
832: --
833: end ben_evaluate_elig_conc;