DBA Data[Home] [Help]

APPS.BEN_CONC_REPORTS dependencies on BEN_BATCH_UTILS

Line 580: raise ben_batch_utils.g_record_error;

576: l_actn := 'Opening C1 Assignment cursor...';
577: open c1;
578: fetch c1 into l_assignment_id;
579: If c1%notfound then
580: raise ben_batch_utils.g_record_error;
581: End if;
582: close c1;
583: -- Call formula initialise routine
584: --

Line 605: When ben_batch_utils.g_record_error then

601: End if;
602: --
603: hr_utility.set_location ('Leaving '||l_proc,10);
604: Exception
605: When ben_batch_utils.g_record_error then
606: p_return := 'N' ;
607: fnd_message.set_name('BEN','BEN_91698_NO_ASSIGNMENT_FND');
608: fnd_message.set_token('ID' ,to_char(p_person_id) );
609: fnd_message.set_token('PROC',l_proc ) ;

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

666: open c1;
667: fetch c1 into l_assignment_id,l_organization_id;
668: if c1%notfound then
669: close c1;
670: ben_batch_utils.rpt_error(p_proc => l_proc,
671: p_last_actn => 'Step = '||to_char(l_step),p_rpt_flag => TRUE);
672: fnd_message.set_name('BEN','BEN_91698_NO_ASSIGNMENT_FND');
673: fnd_message.set_token('PROC',l_proc);
674: fnd_message.set_token('ID' , to_char(p_person_id));

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

695: l_return := l_outputs(l_outputs.first).value;
696: l_step := 30;
697: if upper(l_return) not in ('Y', 'N') then
698: --
699: ben_batch_utils.rpt_error(p_proc => l_proc,
700: p_last_actn => 'Step = '||to_char(l_step),p_rpt_flag => TRUE);
701: fnd_message.set_name('BEN','BEN_91329_FORMULA_RETURN');
702: fnd_message.set_token('RL','formula_id :'||p_comp_selection_rule_id);
703: fnd_message.set_token('PROC',l_proc);

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

706: return l_return;
707: hr_utility.set_location ('Leaving '||l_proc,10);
708: exception
709: When asg_record_error then
710: ben_batch_utils.rpt_error(p_proc => l_proc,
711: p_last_actn => 'Step = '||to_char(l_step),p_rpt_flag => TRUE);
712: When wrong_output_error then
713: ben_batch_utils.rpt_error(p_proc => l_proc,
714: p_last_actn => 'Step = '||to_char(l_step),p_rpt_flag => TRUE);

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

709: When asg_record_error then
710: ben_batch_utils.rpt_error(p_proc => l_proc,
711: p_last_actn => 'Step = '||to_char(l_step),p_rpt_flag => TRUE);
712: When wrong_output_error then
713: ben_batch_utils.rpt_error(p_proc => l_proc,
714: p_last_actn => 'Step = '||to_char(l_step),p_rpt_flag => TRUE);
715: when others then
716: ben_batch_utils.rpt_error(p_proc => l_proc,
717: p_last_actn => 'Step = '||to_char(l_step),p_rpt_flag => TRUE);

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

712: When wrong_output_error then
713: ben_batch_utils.rpt_error(p_proc => l_proc,
714: p_last_actn => 'Step = '||to_char(l_step),p_rpt_flag => TRUE);
715: when others then
716: ben_batch_utils.rpt_error(p_proc => l_proc,
717: p_last_actn => 'Step = '||to_char(l_step),p_rpt_flag => TRUE);
718: end comp_selection_rule;
719: --
720: -- ----------------------------------------------------------------------------

Line 803: Ben_batch_utils.write(p_text =>

799:
800: l_actn := 'After call to person selection rule ...';
801: if l_err_message is not null
802: then
803: Ben_batch_utils.write(p_text =>
804: '<< Person id : '||to_char(p_person_id)||' failed.'||
805: ' Reason : '|| l_err_message ||' >>' );
806: skip := TRUE;
807: else

Line 862: ben_batch_utils.person_header

858: end if;
859: else
860: -- persons excluded by the selection rule report them on the audit log
861: l_actn := 'Print person header information ...';
862: ben_batch_utils.person_header
863: (p_person_id => p_person_id
864: ,p_business_group_id => g_parm.business_group_id
865: ,p_effective_date => g_parm.effective_date );
866: fnd_file.put_line(fnd_file.log, ' persons excluded by the selection rule');

Line 1482: ben_batch_utils.create_restart_person_actions

1478: -- for restarting.
1479: --
1480: hr_utility.set_location('restart batch process ' || l_actn, 20);
1481: --
1482: ben_batch_utils.create_restart_person_actions
1483: (p_benefit_action_id => p_benefit_action_id
1484: ,p_effective_date => l_effective_date
1485: ,p_chunk_size => g_chunk_size
1486: ,p_threads => g_threads

Line 1512: Ben_batch_utils.write(p_text =>

1508: --
1509: if g_num_ranges = 0 then
1510: l_actn := 'No persons were found eligible...';
1511: --
1512: Ben_batch_utils.write(p_text =>
1513: '<< No Person got selected with above selection criteria >>' );
1514: fnd_message.set_name('BEN','BEN_91769_NOONE_TO_PROCESS');
1515: fnd_message.set_token('PROC',l_package);
1516: end if;

Line 1609: g_num_processes := ben_batch_utils.g_num_processes + 1;

1605: End if ;
1606: --
1607: commit;
1608: --
1609: g_num_processes := ben_batch_utils.g_num_processes + 1;
1610: g_processes_rec(g_num_processes) := l_request_id;
1611: --
1612: end if ;
1613: -- end loop;

Line 1620: ben_batch_utils.rpt_error(p_proc => l_package

1616: --
1617: -- fnd_file.put_line(fnd_file.log, 'leaving process ..');
1618: Exception
1619: when others then
1620: ben_batch_utils.rpt_error(p_proc => l_package
1621: ,p_last_actn => l_actn
1622: ,p_rpt_flag => TRUE );
1623: --
1624: benutils.write(p_text => fnd_message.get);