DBA Data[Home] [Help]

APPS.BEN_CLOSE_ENROLLMENT dependencies on BENUTILS

Line 203: ,p_benefit_action_id => benutils.g_benefit_action_id

199: l_actn := 'Calling ben_batch_rate_info_api.create_batch_rate_info...';
200: --
201: ben_batch_rate_info_api.create_batch_rate_info
202: (p_batch_rt_id => l_id
203: ,p_benefit_action_id => benutils.g_benefit_action_id
204: ,p_person_id => p_person_id
205: ,p_pgm_id => l_cache(i).pgm_id
206: ,p_pl_id => l_cache(i).pl_id
207: ,p_oipl_id => l_cache(i).oipl_id

Line 229: ,p_benefit_action_id => benutils.g_benefit_action_id

225: --
226: ben_batch_dpnt_info_api.create_batch_dpnt_info
227: (p_batch_dpnt_id => l_id
228: ,p_person_id => p_person_id
229: ,p_benefit_action_id => benutils.g_benefit_action_id
230: ,p_business_group_id => p_business_group_id
231: ,p_pgm_id => l_cache(i).pgm_id
232: ,p_pl_id => l_cache(i).pl_id
233: ,p_oipl_id => l_cache(i).oipl_id

Line 472: benutils.update_life_event_cache(p_open_and_closed => 'N');

468: ,p_proc_cd3 => 'HPADPNTLC'
469: ,p_effective_date => p_effective_date
470: ,p_source => 'benclenr');
471: --
472: benutils.update_life_event_cache(p_open_and_closed => 'N');
473: --
474: end if;
475: --
476: hr_utility.set_location('Leaving:'||l_proc, 10);

Line 1323: benutils.update_life_event_cache(p_open_and_closed => 'Y');

1319: -- automatic.
1320: --
1321: l_per_in_ler_cls := TRUE;
1322: --
1323: benutils.update_life_event_cache(p_open_and_closed => 'Y');
1324: --
1325: end if;
1326: --
1327: end if;

Line 1379: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);

1375: ,p_effective_date => p_effective_date);
1376: --
1377: end if;
1378: --
1379: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
1380: --
1381: end if;
1382: --
1383: hr_utility.set_location('Leaving:'||l_proc, 10);

Line 1417: ben_batch_utils.write(p_text => benutils.g_banner_minus);

1413: ben_batch_utils.rpt_error(p_proc => l_proc
1414: ,p_last_actn => l_actn
1415: ,p_rpt_flag => false);
1416: --
1417: ben_batch_utils.write(p_text => benutils.g_banner_minus);
1418: --
1419: -- Update the person action status code to errored.
1420: --
1421: if p_person_action_id is not null then

Line 1438: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);

1434: ,p_error => TRUE
1435: ,p_business_group_id => p_business_group_id
1436: ,p_effective_date => p_effective_date);
1437: --
1438: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
1439: --
1440: raise ben_batch_utils.g_record_error;
1441: --
1442: else

Line 1520: l_rec benutils.g_active_life_event;

1516: l_parm c_parameter%rowtype;
1517: l_commit number;
1518: --
1519: -- start bug 3079317
1520: l_rec benutils.g_active_life_event;
1521: l_env ben_env_object.g_global_env_rec_type;
1522: l_per_rec per_all_people_f%rowtype;
1523: l_encoded_message varchar2(2000);
1524: l_app_short_name varchar2(2000);

Line 1547: l_actn := 'Calling benutils.get_parameter...';

1543: dt_fndate.change_ses_date
1544: (p_ses_date => l_effective_date,
1545: p_commit => l_commit);
1546: --
1547: l_actn := 'Calling benutils.get_parameter...';
1548: benutils.get_parameter(p_business_group_id => p_business_group_id
1549: ,p_batch_exe_cd => 'BENCLENR'
1550: ,p_threads => l_threads
1551: ,p_chunk_size => l_chunk_size

Line 1548: benutils.get_parameter(p_business_group_id => p_business_group_id

1544: (p_ses_date => l_effective_date,
1545: p_commit => l_commit);
1546: --
1547: l_actn := 'Calling benutils.get_parameter...';
1548: benutils.get_parameter(p_business_group_id => p_business_group_id
1549: ,p_batch_exe_cd => 'BENCLENR'
1550: ,p_threads => l_threads
1551: ,p_chunk_size => l_chunk_size
1552: ,p_max_errors => g_max_person_err);

Line 1569: benutils.g_benefit_action_id := p_benefit_action_id;

1565: g_persons_errored := 0;
1566: --
1567: ben_batch_utils.ini;
1568: --
1569: benutils.g_benefit_action_id := p_benefit_action_id;
1570: benutils.g_thread_id := p_thread_id;
1571: --
1572: -- Fetch the parameters defined for the batch process.
1573: --

Line 1570: benutils.g_thread_id := p_thread_id;

1566: --
1567: ben_batch_utils.ini;
1568: --
1569: benutils.g_benefit_action_id := p_benefit_action_id;
1570: benutils.g_thread_id := p_thread_id;
1571: --
1572: -- Fetch the parameters defined for the batch process.
1573: --
1574: open c_parameter;

Line 1707: benutils.write(p_text => g_rec.text);

1703: g_rec.pgm_id := l_env.pgm_id;
1704: g_rec.pl_id := l_env.pl_id;
1705: g_rec.oipl_id := l_env.oipl_id;
1706: g_rec.national_identifier := l_per_rec.national_identifier;
1707: benutils.write(p_text => g_rec.text);
1708: benutils.write(p_rec => g_rec);
1709: --
1710: update ben_person_actions
1711: set action_status_cd = 'E'

Line 1708: benutils.write(p_rec => g_rec);

1704: g_rec.pl_id := l_env.pl_id;
1705: g_rec.oipl_id := l_env.oipl_id;
1706: g_rec.national_identifier := l_per_rec.national_identifier;
1707: benutils.write(p_text => g_rec.text);
1708: benutils.write(p_rec => g_rec);
1709: --
1710: update ben_person_actions
1711: set action_status_cd = 'E'
1712: where person_action_id = g_cache_per_proc(l_cnt).person_action_id;

Line 1739: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);

1735: fnd_message.raise_error;
1736: --
1737: end if;
1738: --
1739: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
1740: --
1741: commit;
1742: --
1743: end loop;

Line 1745: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);

1741: commit;
1742: --
1743: end loop;
1744: --
1745: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
1746: --
1747: commit;
1748: --
1749: l_actn := 'Calling log_beneadeb_statistics...';

Line 1761: benutils.write(p_text => sqlerrm);

1757: --
1758: when others then
1759: --
1760: rollback;
1761: benutils.write(p_text => sqlerrm);
1762: --
1763: hr_utility.set_location('BENCLENR Super Error ' || l_proc, 10);
1764: --
1765: ben_batch_utils.rpt_error(p_proc => l_proc

Line 1772: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);

1768: --
1769: ben_batch_utils.write_logfile(p_num_pers_processed => g_persons_procd
1770: ,p_num_pers_errored => g_persons_errored);
1771: --
1772: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
1773: --
1774: fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
1775: fnd_message.set_token('PROCEDURE', l_proc);
1776: fnd_message.set_token('STEP',l_actn );

Line 2088: benutils.get_parameter

2084: ben_batch_utils.ini(p_actn_cd => 'PROC_INFO');
2085: --
2086: -- Get the parameters defined for the batch process.
2087: --
2088: benutils.get_parameter
2089: (p_business_group_id => p_business_group_id
2090: ,p_batch_exe_cd => 'BENCLENR'
2091: ,p_threads => l_threads
2092: ,p_chunk_size => l_chunk_size

Line 2150: benutils.g_benefit_action_id := l_benefit_action_id;

2146: --
2147: ,p_ptnl_ler_for_per_stat_cd => p_close_cd
2148: );
2149: --
2150: benutils.g_benefit_action_id := l_benefit_action_id;
2151: --
2152: benutils.g_thread_id := 99;
2153: --
2154: l_actn := 'Removing batch ranges ';

Line 2152: benutils.g_thread_id := 99;

2148: );
2149: --
2150: benutils.g_benefit_action_id := l_benefit_action_id;
2151: --
2152: benutils.g_thread_id := 99;
2153: --
2154: l_actn := 'Removing batch ranges ';
2155: --
2156: delete from ben_batch_ranges

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

2395: ben_batch_utils.rpt_error(p_proc => l_proc
2396: ,p_last_actn => l_actn
2397: ,p_rpt_flag => TRUE);
2398: --
2399: benutils.write(p_text => fnd_message.get);
2400: benutils.write(p_text => sqlerrm);
2401: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
2402: --
2403: if l_num_ranges > 0 then

Line 2400: benutils.write(p_text => sqlerrm);

2396: ,p_last_actn => l_actn
2397: ,p_rpt_flag => TRUE);
2398: --
2399: benutils.write(p_text => fnd_message.get);
2400: benutils.write(p_text => sqlerrm);
2401: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
2402: --
2403: if l_num_ranges > 0 then
2404: --

Line 2401: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);

2397: ,p_rpt_flag => TRUE);
2398: --
2399: benutils.write(p_text => fnd_message.get);
2400: benutils.write(p_text => sqlerrm);
2401: benutils.write_table_and_file(p_table => TRUE, p_file => TRUE);
2402: --
2403: if l_num_ranges > 0 then
2404: --
2405: ben_batch_utils.check_all_slaves_finished(p_rpt_flag => TRUE);