DBA Data[Home] [Help]

APPS.BEN_MANAGE_OPEN_ENRT_WNDW dependencies on FND_MESSAGE

Line 75: fnd_message.set_name('BEN','BEN_94640_NEW_DATE_OR_DAY');

71: --
72: if (p_new_enrt_perd_end_dt is not null or p_new_procg_end_dt is not null or
73: p_new_dflt_enrt_dt is not null) and p_no_of_days is not null then
74: --
75: fnd_message.set_name('BEN','BEN_94640_NEW_DATE_OR_DAY');
76: fnd_message.raise_error;
77: --
78: end if;
79: --

Line 76: fnd_message.raise_error;

72: if (p_new_enrt_perd_end_dt is not null or p_new_procg_end_dt is not null or
73: p_new_dflt_enrt_dt is not null) and p_no_of_days is not null then
74: --
75: fnd_message.set_name('BEN','BEN_94640_NEW_DATE_OR_DAY');
76: fnd_message.raise_error;
77: --
78: end if;
79: --
80: -- Either of New Dates and no_of_days should be specified

Line 85: fnd_message.set_name('BEN','BEN_94640_NEW_DATE_OR_DAY');

81: --
82: if (p_new_enrt_perd_end_dt is null and p_new_procg_end_dt is null and
83: p_new_dflt_enrt_dt is null) and p_no_of_days is null then
84: --
85: fnd_message.set_name('BEN','BEN_94640_NEW_DATE_OR_DAY');
86: fnd_message.raise_error;
87: --
88: end if;
89: --

Line 86: fnd_message.raise_error;

82: if (p_new_enrt_perd_end_dt is null and p_new_procg_end_dt is null and
83: p_new_dflt_enrt_dt is null) and p_no_of_days is null then
84: --
85: fnd_message.set_name('BEN','BEN_94640_NEW_DATE_OR_DAY');
86: fnd_message.raise_error;
87: --
88: end if;
89: --
90: -- Both PGM and PL ID can't be set at the same time

Line 94: fnd_message.set_name('BEN','BEN_94641_PL_OR_PGM');

90: -- Both PGM and PL ID can't be set at the same time
91: --
92: if (p_pl_id is not null and p_pgm_id is not null) then
93: --
94: fnd_message.set_name('BEN','BEN_94641_PL_OR_PGM');
95: fnd_message.raise_error;
96: --
97: end if;
98: --

Line 95: fnd_message.raise_error;

91: --
92: if (p_pl_id is not null and p_pgm_id is not null) then
93: --
94: fnd_message.set_name('BEN','BEN_94641_PL_OR_PGM');
95: fnd_message.raise_error;
96: --
97: end if;
98: --
99: If (p_new_enrt_perd_end_dt is not null and p_new_procg_end_dt is not null

Line 102: fnd_message.set_name('BEN','BEN_94014_PROC_END_ENRT_END');

98: --
99: If (p_new_enrt_perd_end_dt is not null and p_new_procg_end_dt is not null
100: and p_new_enrt_perd_end_dt > p_new_procg_end_dt) then
101: --
102: fnd_message.set_name('BEN','BEN_94014_PROC_END_ENRT_END');
103: fnd_message.raise_error;
104: --
105: End If;
106: --

Line 103: fnd_message.raise_error;

99: If (p_new_enrt_perd_end_dt is not null and p_new_procg_end_dt is not null
100: and p_new_enrt_perd_end_dt > p_new_procg_end_dt) then
101: --
102: fnd_message.set_name('BEN','BEN_94014_PROC_END_ENRT_END');
103: fnd_message.raise_error;
104: --
105: End If;
106: --
107: if g_debug then

Line 116: ben_batch_utils.write('Error is : '||benutils.get_message_name||' - '||fnd_message.get);

112: --
113: when others then
114: --
115: hr_utility.set_location('Error || sqlerrm',10);
116: ben_batch_utils.write('Error is : '||benutils.get_message_name||' - '||fnd_message.get);
117: fnd_message.raise_error;
118: --
119: end check_business_rules;
120: --

Line 117: fnd_message.raise_error;

113: when others then
114: --
115: hr_utility.set_location('Error || sqlerrm',10);
116: ben_batch_utils.write('Error is : '||benutils.get_message_name||' - '||fnd_message.get);
117: fnd_message.raise_error;
118: --
119: end check_business_rules;
120: --
121: procedure print_parameters

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

406: --
407: l_effective_date:=trunc(fnd_date.canonical_to_date(p_effective_date));
408: l_lf_evt_ocrd_dt:=trunc(fnd_date.canonical_to_date(p_lf_evt_ocrd_dt));
409: --
410: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
411: fnd_message.set_token('PROC','dt_fndate.change_ses_date');
412: dt_fndate.change_ses_date
413: (p_ses_date => l_effective_date,
414: p_commit => l_commit);

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

407: l_effective_date:=trunc(fnd_date.canonical_to_date(p_effective_date));
408: l_lf_evt_ocrd_dt:=trunc(fnd_date.canonical_to_date(p_lf_evt_ocrd_dt));
409: --
410: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
411: fnd_message.set_token('PROC','dt_fndate.change_ses_date');
412: dt_fndate.change_ses_date
413: (p_ses_date => l_effective_date,
414: p_commit => l_commit);
415: --

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

412: dt_fndate.change_ses_date
413: (p_ses_date => l_effective_date,
414: p_commit => l_commit);
415: --
416: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
417: fnd_message.set_token('PROC','benutils.get_parameter');
418: benutils.get_parameter(p_business_group_id => p_business_group_id
419: -- bug: 5611643
420: -- ,p_batch_exe_cd => 'BENMNOEM'

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

413: (p_ses_date => l_effective_date,
414: p_commit => l_commit);
415: --
416: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
417: fnd_message.set_token('PROC','benutils.get_parameter');
418: benutils.get_parameter(p_business_group_id => p_business_group_id
419: -- bug: 5611643
420: -- ,p_batch_exe_cd => 'BENMNOEM'
421: ,p_batch_exe_cd => 'BENMNOEW'

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

422: ,p_threads => l_threads
423: ,p_chunk_size => l_chunk_size
424: ,p_max_errors => g_max_errors_allowed);
425: --
426: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
427: fnd_message.set_token('PROC','ben_env_object.init');
428: ben_env_object.init(p_business_group_id => p_business_group_id,
429: p_effective_date => l_effective_date,
430: p_thread_id => p_thread_id,

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

423: ,p_chunk_size => l_chunk_size
424: ,p_max_errors => g_max_errors_allowed);
425: --
426: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
427: fnd_message.set_token('PROC','ben_env_object.init');
428: ben_env_object.init(p_business_group_id => p_business_group_id,
429: p_effective_date => l_effective_date,
430: p_thread_id => p_thread_id,
431: p_chunk_size => l_chunk_size,

Line 628: benutils.get_message_name||' - '||substr(fnd_message.get,1,80));

624: if p_audit_log_flag = 'Y' then
625: -- changed bug: 5611643
626: /*
627: ben_batch_utils.write('| '||rpad(l_pel.full_name,18)||'| '||'UNSUCCESSFUL | Error is - '||
628: benutils.get_message_name||' - '||substr(fnd_message.get,1,80));
629: */
630: DECLARE
631: l_message_text VARCHAR2 (2100);
632: l_message_length NUMBER := 148; -- := 136;

Line 641: || fnd_message.get;

637: || '| '
638: || 'UNSUCCESSFUL | Error is - '
639: || benutils.get_message_name
640: || ' - '
641: || fnd_message.get;
642: ben_batch_utils.WRITE (SUBSTR (l_message_text, 1, l_message_length) || ' |');
643:
644: LOOP
645: IF LENGTH (l_message_text) > l_message_length

Line 666: fnd_message.set_name('BEN','BEN_94642_BENMNOEW_ERROR_LIMIT');

662: hr_utility.set_location('Num Errors = '||g_persons_errored,10);
663: -- if g_persons_errored > g_max_errors_allowed then
664: if g_persons_errored >= g_max_errors_allowed then
665: --
666: fnd_message.set_name('BEN','BEN_94642_BENMNOEW_ERROR_LIMIT');
667: ben_batch_utils.write(p_text => fnd_message.get);
668: --
669: raise;
670: --

Line 667: ben_batch_utils.write(p_text => fnd_message.get);

663: -- if g_persons_errored > g_max_errors_allowed then
664: if g_persons_errored >= g_max_errors_allowed then
665: --
666: fnd_message.set_name('BEN','BEN_94642_BENMNOEW_ERROR_LIMIT');
667: ben_batch_utils.write(p_text => fnd_message.get);
668: --
669: raise;
670: --
671: end if;

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

715: benutils.rollback_cache;
716: --
717: g_rec.ler_id := p_ler_id;
718: g_rec.rep_typ_cd := 'FATAL';
719: g_rec.text := fnd_message.get;
720: g_rec.person_id := l_person_id;
721: --
722: benutils.write(p_text => g_rec.text);
723: benutils.write(p_rec => g_rec);

Line 729: fnd_message.raise_error;

725: ben_batch_utils.write_logfile(p_num_pers_processed => g_persons_processed
726: ,p_num_pers_errored => g_persons_errored);
727: commit;
728: --
729: fnd_message.raise_error;
730: --
731: End do_multithread;
732: -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
733: -- << Procedure: Restart >>

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

788: --
789: fetch c_parameters into l_parameters;
790: If c_parameters%notfound then
791: --
792: fnd_message.set_name('BEN','BEN_91710_RESTRT_PARMS_NOT_FND');
793: fnd_message.raise_error;
794: --
795: End if;
796: --

Line 793: fnd_message.raise_error;

789: fetch c_parameters into l_parameters;
790: If c_parameters%notfound then
791: --
792: fnd_message.set_name('BEN','BEN_91710_RESTRT_PARMS_NOT_FND');
793: fnd_message.raise_error;
794: --
795: End if;
796: --
797: close c_parameters;

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

1254: --
1255: print_parameters
1256: (p_benefit_action_id => l_benefit_action_id);
1257: --
1258: fnd_message.set_name('BEN','BEN_91769_NOONE_TO_PROCESS');
1259: fnd_message.set_token('PROC' , l_proc);
1260: raise l_no_one_to_process;
1261: --
1262: End if;

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

1255: print_parameters
1256: (p_benefit_action_id => l_benefit_action_id);
1257: --
1258: fnd_message.set_name('BEN','BEN_91769_NOONE_TO_PROCESS');
1259: fnd_message.set_token('PROC' , l_proc);
1260: raise l_no_one_to_process;
1261: --
1262: End if;
1263: --

Line 1294: ben_batch_utils.write(p_text => fnd_message.get);

1290: --
1291: Exception
1292: --
1293: when l_no_one_to_process then
1294: ben_batch_utils.write(p_text => fnd_message.get);
1295: --
1296: when others then
1297: --
1298: hr_utility.set_location('Super Error',10);

Line 1300: ben_batch_utils.write(p_text => fnd_message.get);

1296: when others then
1297: --
1298: hr_utility.set_location('Super Error',10);
1299: rollback;
1300: ben_batch_utils.write(p_text => fnd_message.get);
1301: ben_batch_utils.write(p_text => sqlerrm);
1302: --
1303: If (l_num_range > 0) then
1304: ben_batch_utils.check_all_slaves_finished(p_rpt_flag => TRUE);

Line 1310: fnd_message.raise_error;

1306: ,p_person_selected => l_person_cnt
1307: ,p_business_group_id => p_business_group_id
1308: ) ;
1309: End if;
1310: fnd_message.raise_error;
1311: End process;
1312: --
1313: end BEN_MANAGE_OPEN_ENRT_WNDW; -- End of Package.