DBA Data[Home] [Help]

APPS.BEN_REOPEN_LER_CONC dependencies on BEN_BATCH_UTILS

Line 195: ben_batch_utils.ini (p_actn_cd => 'PROC_INFO');

191: --
192: --
193: -- Initialize the batch process.
194: --
195: ben_batch_utils.ini (p_actn_cd => 'PROC_INFO');
196: --
197: -- Get the parameters defined for the batch process.
198: --
199: benutils.get_parameter (p_business_group_id => p_business_group_id,

Line 268: ben_batch_utils.person_selection_rule

264: -- Check the person selection rule.
265: --
266: If p_person_selection_rl is not NULL then
267: --
268: ben_batch_utils.person_selection_rule
269: (p_person_id => l_rec.person_id
270: ,p_business_group_id => p_business_group_id
271: ,p_person_selection_rule_id=> p_person_selection_rl
272: ,p_effective_date => l_effective_date

Line 278: Ben_batch_utils.write(p_text =>

274: ,p_err_message => l_err_message );
275:
276: if l_err_message is not null
277: then
278: Ben_batch_utils.write(p_text =>
279: '<< Person id : '||to_char(l_person_id)||' failed.'||
280: ' Reason : '|| l_err_message ||' >>' );
281: l_err_message := NULL ;
282: end if ;

Line 395: ben_batch_utils.create_restart_person_actions

391: l_benefit_action_id := p_benefit_action_id;
392: --
393: hr_utility.set_location ( 'Restarting for benefit action id : '|| TO_CHAR (l_benefit_action_id),10);
394: --
395: ben_batch_utils.create_restart_person_actions
396: (p_benefit_action_id => p_benefit_action_id,
397: p_effective_date => l_effective_date,
398: p_chunk_size => l_chunk_size,
399: p_threads => l_threads,

Line 449: ben_batch_utils.g_num_processes :=

445: );
446: --
447: -- Store the request id of the concurrent request
448: --
449: ben_batch_utils.g_num_processes :=
450: ben_batch_utils.g_num_processes + 1;
451: ben_batch_utils.g_processes_tbl (ben_batch_utils.g_num_processes) :=
452: l_request_id;
453: COMMIT;

Line 450: ben_batch_utils.g_num_processes + 1;

446: --
447: -- Store the request id of the concurrent request
448: --
449: ben_batch_utils.g_num_processes :=
450: ben_batch_utils.g_num_processes + 1;
451: ben_batch_utils.g_processes_tbl (ben_batch_utils.g_num_processes) :=
452: l_request_id;
453: COMMIT;
454: --

Line 451: ben_batch_utils.g_processes_tbl (ben_batch_utils.g_num_processes) :=

447: -- Store the request id of the concurrent request
448: --
449: ben_batch_utils.g_num_processes :=
450: ben_batch_utils.g_num_processes + 1;
451: ben_batch_utils.g_processes_tbl (ben_batch_utils.g_num_processes) :=
452: l_request_id;
453: COMMIT;
454: --
455: END LOOP;

Line 461: ben_batch_utils.print_parameters

457: THEN
458: --
459: hr_utility.set_location ('l_num_ranges = 0 ', 50);
460: hr_utility.set_location ('p_validate ' || p_validate, 10);
461: ben_batch_utils.print_parameters
462: (p_thread_id => 99,
463: p_benefit_action_id => l_benefit_action_id,
464: p_validate => p_validate,
465: p_business_group_id => p_business_group_id,

Line 477: ben_batch_utils.write (p_text =>'From Occured Date :'

473: );
474:
475: --
476: -- bug: 5578779
477: ben_batch_utils.write (p_text =>'From Occured Date :'
478: || to_char(l_from_ocrd_date,'DD/MM/YYYY'));
479: --
480: fnd_message.set_name ('BEN', 'BEN_91769_NOONE_TO_PROCESS');
481: fnd_message.set_token ('PROC', l_proc);

Line 504: ben_batch_utils.check_all_slaves_finished (p_rpt_flag => TRUE);

500:
501: --
502: -- Check if all the slave processes are finished.
503: --
504: ben_batch_utils.check_all_slaves_finished (p_rpt_flag => TRUE);
505: --
506: -- End the process.
507: --
508: ben_batch_utils.end_process (p_benefit_action_id => l_benefit_action_id,

Line 508: ben_batch_utils.end_process (p_benefit_action_id => l_benefit_action_id,

504: ben_batch_utils.check_all_slaves_finished (p_rpt_flag => TRUE);
505: --
506: -- End the process.
507: --
508: ben_batch_utils.end_process (p_benefit_action_id => l_benefit_action_id,
509: p_person_selected => l_person_actn_cnt,
510: p_business_group_id => p_business_group_id
511: );
512: --

Line 536: ben_batch_utils.rpt_error (p_proc => l_proc,

532: hr_utility.set_location ('Un identified Exception ', 80);
533: hr_utility.set_location (l_sqlerrm, 90);
534: END;
535:
536: ben_batch_utils.rpt_error (p_proc => l_proc,
537: p_last_actn => l_actn,
538: p_rpt_flag => TRUE
539: );
540: --

Line 549: ben_batch_utils.check_all_slaves_finished (p_rpt_flag => TRUE);

545: --
546: IF l_num_ranges > 0
547: THEN
548: --
549: ben_batch_utils.check_all_slaves_finished (p_rpt_flag => TRUE);
550: --
551: ben_batch_utils.end_process
552: (p_benefit_action_id => l_benefit_action_id,
553: p_person_selected => l_person_actn_cnt,

Line 551: ben_batch_utils.end_process

547: THEN
548: --
549: ben_batch_utils.check_all_slaves_finished (p_rpt_flag => TRUE);
550: --
551: ben_batch_utils.end_process
552: (p_benefit_action_id => l_benefit_action_id,
553: p_person_selected => l_person_actn_cnt,
554: p_business_group_id => p_business_group_id
555: );

Line 704: ben_batch_utils.ini;

700: --
701: g_persons_procd := 0;
702: g_persons_errored := 0;
703: --
704: ben_batch_utils.ini;
705: --
706: benutils.g_benefit_action_id := p_benefit_action_id;
707: benutils.g_thread_id := p_thread_id;
708: --

Line 727: ben_batch_utils.print_parameters

723: --
724: -- Print the parameters to the log file.
725: --
726: hr_utility.set_location ('p_validate ' || p_validate, 10);
727: ben_batch_utils.print_parameters
728: (p_thread_id => p_thread_id,
729: p_benefit_action_id => p_benefit_action_id,
730: p_validate => p_validate,
731: p_business_group_id => p_business_group_id,

Line 741: ben_batch_utils.write (p_text =>'From Occured Date :'

737: p_legal_entity_id => l_parm.legal_entity_id,
738: p_ler_id => p_ler_id
739: );
740: -- bug: 5578779
741: ben_batch_utils.write (p_text =>'From Occured Date :'
742: || to_char(l_parm.date_from,'DD/MM/YYYY'));
743: --
744: LOOP
745: --

Line 930: ben_batch_utils.write_logfile (p_num_pers_processed => g_persons_procd,

926: COMMIT;
927: --
928: l_actn := 'Calling log_beneadeb_statistics...';
929: --
930: ben_batch_utils.write_logfile (p_num_pers_processed => g_persons_procd,
931: p_num_pers_errored => g_persons_errored
932: );
933: --
934: hr_utility.set_location ('Leaving ' || l_proc, 70);

Line 954: ben_batch_utils.rpt_error (p_proc => l_proc,

950: benutils.Write(p_text => benutils.g_banner_minus);
951: benutils.WRITE (p_text => SQLERRM);
952: benutils.WRITE (p_rec => g_rec);
953: /*
954: ben_batch_utils.rpt_error (p_proc => l_proc,
955: p_last_actn => l_actn,
956: p_rpt_flag => TRUE
957: );
958: */

Line 961: ben_batch_utils.write_logfile

957: );
958: */
959: benutils.write_table_and_file (p_table => TRUE, p_file => TRUE);
960: --
961: ben_batch_utils.write_logfile
962: (p_num_pers_processed => g_persons_procd,
963: p_num_pers_errored => g_persons_errored
964: );
965: --

Line 1015: ben_batch_utils.rpt_error (p_proc => l_proc,

1011: --
1012: WHEN OTHERS
1013: THEN
1014: --
1015: ben_batch_utils.rpt_error (p_proc => l_proc,
1016: p_last_actn => l_actn,
1017: p_rpt_flag => p_rpt_flag
1018: );
1019: --