DBA Data[Home] [Help]

APPS.BEN_MANAGE_LIFE_EVENTS dependencies on BEN_ENROLMENT_REQUIREMENTS

Line 981: ben_enrolment_requirements.update_defaults as it uses

977: 22-Dec-03 Indrasen 115.333 CWBGLOBAL New Procedure
978: 10-Jan-04 tjesumic 115.334 new cursor c9 added in check_business_rule to validate
979: the cwb task for the budget flag
980: 20-Jan-04 ikasire 115.335/338 ben_pep_cache.clear_down_cache called after call to
981: ben_enrolment_requirements.update_defaults as it uses
982: a different effective date
983: 21-Jan-04 ikasire 115.339 Added p_trace_plans_flag to CWBGLOBAL procedure
984:
985: 02-Feb-04 pbodla 115.340 GLOBALCWB : Error

Line 4032: ben_enrolment_requirements.get_cwb_manager_and_assignment(

4028: -- Now get the manager for l_mgr_person_id.
4029: --
4030: -- But 2172036 addition of assignment_id to epe
4031: --
4032: ben_enrolment_requirements.get_cwb_manager_and_assignment(
4033: p_person_id => l_mgr_person_id,
4034: p_hrchy_to_use_cd =>
4035: ben_enrolment_requirements.g_ple_hrchy_to_use_cd,
4036: p_pos_structure_version_id =>

Line 4035: ben_enrolment_requirements.g_ple_hrchy_to_use_cd,

4031: --
4032: ben_enrolment_requirements.get_cwb_manager_and_assignment(
4033: p_person_id => l_mgr_person_id,
4034: p_hrchy_to_use_cd =>
4035: ben_enrolment_requirements.g_ple_hrchy_to_use_cd,
4036: p_pos_structure_version_id =>
4037: ben_enrolment_requirements.g_ple_pos_structure_version_id,
4038: p_effective_date => l_effective_date,
4039: p_manager_id => l_mgr_person_id_temp,

Line 4037: ben_enrolment_requirements.g_ple_pos_structure_version_id,

4033: p_person_id => l_mgr_person_id,
4034: p_hrchy_to_use_cd =>
4035: ben_enrolment_requirements.g_ple_hrchy_to_use_cd,
4036: p_pos_structure_version_id =>
4037: ben_enrolment_requirements.g_ple_pos_structure_version_id,
4038: p_effective_date => l_effective_date,
4039: p_manager_id => l_mgr_person_id_temp,
4040: p_assignment_id => l_assignment_id );
4041: --

Line 4544: --l_mgr_person_id_temp := ben_enrolment_requirements.get_manager_id(

4540: --
4541: -- Now get the manager for l_mgr_person_id.
4542: --
4543:
4544: --l_mgr_person_id_temp := ben_enrolment_requirements.get_manager_id(
4545: -- p_person_id => l_mgr_person_id,
4546: -- p_hrchy_to_use_cd =>
4547: -- ben_enrolment_requirements.g_ple_hrchy_to_use_cd,
4548: -- p_pos_structure_version_id =>

Line 4547: -- ben_enrolment_requirements.g_ple_hrchy_to_use_cd,

4543:
4544: --l_mgr_person_id_temp := ben_enrolment_requirements.get_manager_id(
4545: -- p_person_id => l_mgr_person_id,
4546: -- p_hrchy_to_use_cd =>
4547: -- ben_enrolment_requirements.g_ple_hrchy_to_use_cd,
4548: -- p_pos_structure_version_id =>
4549: -- ben_enrolment_requirements.g_ple_pos_structure_version_id,
4550: -- p_effective_date => l_effective_date);
4551:

Line 4549: -- ben_enrolment_requirements.g_ple_pos_structure_version_id,

4545: -- p_person_id => l_mgr_person_id,
4546: -- p_hrchy_to_use_cd =>
4547: -- ben_enrolment_requirements.g_ple_hrchy_to_use_cd,
4548: -- p_pos_structure_version_id =>
4549: -- ben_enrolment_requirements.g_ple_pos_structure_version_id,
4550: -- p_effective_date => l_effective_date);
4551:
4552: -- But 2172036 addition of assignment_id to epe
4553: --

Line 4554: ben_enrolment_requirements.get_cwb_manager_and_assignment(

4550: -- p_effective_date => l_effective_date);
4551:
4552: -- But 2172036 addition of assignment_id to epe
4553: --
4554: ben_enrolment_requirements.get_cwb_manager_and_assignment(
4555: p_person_id => l_mgr_person_id,
4556: p_hrchy_to_use_cd =>
4557: ben_enrolment_requirements.g_ple_hrchy_to_use_cd,
4558: p_pos_structure_version_id =>

Line 4557: ben_enrolment_requirements.g_ple_hrchy_to_use_cd,

4553: --
4554: ben_enrolment_requirements.get_cwb_manager_and_assignment(
4555: p_person_id => l_mgr_person_id,
4556: p_hrchy_to_use_cd =>
4557: ben_enrolment_requirements.g_ple_hrchy_to_use_cd,
4558: p_pos_structure_version_id =>
4559: ben_enrolment_requirements.g_ple_pos_structure_version_id,
4560: p_effective_date => l_effective_date,
4561: p_manager_id => l_mgr_person_id_temp,

Line 4559: ben_enrolment_requirements.g_ple_pos_structure_version_id,

4555: p_person_id => l_mgr_person_id,
4556: p_hrchy_to_use_cd =>
4557: ben_enrolment_requirements.g_ple_hrchy_to_use_cd,
4558: p_pos_structure_version_id =>
4559: ben_enrolment_requirements.g_ple_pos_structure_version_id,
4560: p_effective_date => l_effective_date,
4561: p_manager_id => l_mgr_person_id_temp,
4562: p_assignment_id => l_assignment_id );
4563: --

Line 9627: ben_enrolment_requirements.g_electable_choice_created := false;

9623: end if;
9624: --
9625: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
9626: fnd_message.set_token('PROC','benutils.get_batch_parameters');
9627: ben_enrolment_requirements.g_electable_choice_created := false;
9628: ben_enrolment_requirements.g_any_choice_created := false;
9629: ben_enrolment_requirements.g_auto_choice_created := false;
9630: ben_determine_dpnt_eligibility.g_dpnt_ineligible := false;
9631: --

Line 9628: ben_enrolment_requirements.g_any_choice_created := false;

9624: --
9625: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
9626: fnd_message.set_token('PROC','benutils.get_batch_parameters');
9627: ben_enrolment_requirements.g_electable_choice_created := false;
9628: ben_enrolment_requirements.g_any_choice_created := false;
9629: ben_enrolment_requirements.g_auto_choice_created := false;
9630: ben_determine_dpnt_eligibility.g_dpnt_ineligible := false;
9631: --
9632: elsif l_param_rec.lmt_prpnip_by_org_flag = 'Y'

Line 9629: ben_enrolment_requirements.g_auto_choice_created := false;

9625: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
9626: fnd_message.set_token('PROC','benutils.get_batch_parameters');
9627: ben_enrolment_requirements.g_electable_choice_created := false;
9628: ben_enrolment_requirements.g_any_choice_created := false;
9629: ben_enrolment_requirements.g_auto_choice_created := false;
9630: ben_determine_dpnt_eligibility.g_dpnt_ineligible := false;
9631: --
9632: elsif l_param_rec.lmt_prpnip_by_org_flag = 'Y'
9633: and p_mode in ('A','P','S','T') then

Line 11336: fnd_message.set_token('PROC','ben_enrolment_requirements');

11332: if g_debug then
11333: hr_utility.set_location (l_package||' FND Bf BENDENRR ',85);
11334: end if;
11335: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
11336: fnd_message.set_token('PROC','ben_enrolment_requirements');
11337: --
11338: -- p_mode changed to l_mode in following line by Gopal Venkataraman
11339: -- 3/27/01 bug 1636071
11340: --

Line 11353: ben_enrolment_requirements.enrolment_requirements

11349: --
11350: if g_debug then
11351: hr_utility.set_location (l_package||' FND Af BENDENRR ',100);
11352: end if;
11353: ben_enrolment_requirements.enrolment_requirements
11354: (p_comp_obj_tree_row => l_comp_obj_tree_row
11355: -- p_mode changed to l_mode in following line by Gopal Venkataraman 3/27/01 bug 1636071
11356: ,p_run_mode => l_mode
11357: ,p_business_group_id => p_business_group_id

Line 11492: fnd_message.set_token('PROC','ben_enrolment_requirements');

11488: hr_utility.set_location (l_package||' FND Bf BENDENRR ',86);
11489: hr_utility.set_location ('l_oipl_id' ||l_oipl_id,87);
11490: end if;
11491: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
11492: fnd_message.set_token('PROC','ben_enrolment_requirements');
11493: --
11494: ben_enrolment_requirements.enrolment_requirements
11495: (p_comp_obj_tree_row => l_comp_obj_tree_row
11496: ,p_run_mode => 'U' --l_mode

Line 11494: ben_enrolment_requirements.enrolment_requirements

11490: end if;
11491: fnd_message.set_name('BEN','BEN_91333_CALLING_PROC');
11492: fnd_message.set_token('PROC','ben_enrolment_requirements');
11493: --
11494: ben_enrolment_requirements.enrolment_requirements
11495: (p_comp_obj_tree_row => l_comp_obj_tree_row
11496: ,p_run_mode => 'U' --l_mode
11497: ,p_business_group_id => p_business_group_id
11498: ,p_effective_date => p_effective_date

Line 11746: if ben_enrolment_requirements.g_any_choice_created then

11742: --
11743: -- If defaults have changed due to deenrollments then
11744: -- check to see if choice defaults have changed.
11745: --
11746: if ben_enrolment_requirements.g_any_choice_created then
11747: if l_mode <> 'D' then
11748: ben_enrolment_requirements.update_defaults
11749: (p_run_mode => l_mode
11750: ,p_business_group_id => p_business_group_id

Line 11748: ben_enrolment_requirements.update_defaults

11744: -- check to see if choice defaults have changed.
11745: --
11746: if ben_enrolment_requirements.g_any_choice_created then
11747: if l_mode <> 'D' then
11748: ben_enrolment_requirements.update_defaults
11749: (p_run_mode => l_mode
11750: ,p_business_group_id => p_business_group_id
11751: ,p_effective_date => p_effective_date
11752: ,p_lf_evt_ocrd_dt => l_rec.lf_evt_ocrd_dt

Line 11807: -- Clear Elig per Cache as ben_enrolment_requirements.update_defaults

11803: -- Clear electability caches
11804: --
11805: ben_epe_cache.clear_down_cache;
11806: --
11807: -- Clear Elig per Cache as ben_enrolment_requirements.update_defaults
11808: -- build the cache for previous eligibility.
11809: -- And in the benrates we need the current elig records.
11810: --
11811: ben_pep_cache.clear_down_cache;

Line 11821: if ben_enrolment_requirements.g_any_choice_created

11817: -- Do premium stuff if choices are created.
11818: --
11819: -- CWB Changes. ABSENCES ,GRADE/STEP : No need to run premium logic
11820: --
11821: if ben_enrolment_requirements.g_any_choice_created
11822: and l_mode not in( 'W', 'M', 'G','I','D') -- added irec
11823: then
11824: if g_debug then
11825: hr_utility.set_location (l_package||'.ben_determine_actual_premium ',10);

Line 11962: if ben_enrolment_requirements.g_auto_choice_created

11958: --
11959: if g_debug then
11960: hr_utility.set_location ('BENAUTEN '||l_package,10);
11961: end if;
11962: if ben_enrolment_requirements.g_auto_choice_created
11963: and l_mode not in ('W','D')
11964: then
11965: ben_automatic_enrollments.main(
11966: p_person_id => p_person_id,

Line 12116: not ben_enrolment_requirements.g_electable_choice_created and

12112: -- ABSENCES : Close the life event.
12113: --
12114: if l_mode = 'L' or l_mode = 'C' or l_mode = 'M' then
12115: if (p_ler_id is not null and
12116: not ben_enrolment_requirements.g_electable_choice_created and
12117: not ben_enrolment_requirements.g_auto_choice_created ) or (l_mode = 'M')
12118: then
12119: --
12120: -- Set life event to processed, only update the per_in_ler_stat_cd

Line 12117: not ben_enrolment_requirements.g_auto_choice_created ) or (l_mode = 'M')

12113: --
12114: if l_mode = 'L' or l_mode = 'C' or l_mode = 'M' then
12115: if (p_ler_id is not null and
12116: not ben_enrolment_requirements.g_electable_choice_created and
12117: not ben_enrolment_requirements.g_auto_choice_created ) or (l_mode = 'M')
12118: then
12119: --
12120: -- Set life event to processed, only update the per_in_ler_stat_cd
12121: --

Line 12239: ben_enrolment_requirements.g_electable_choice_created ) or

12235: --
12236: end if;
12237: --
12238: if (p_ler_id is not null and
12239: ben_enrolment_requirements.g_electable_choice_created ) or
12240: l_mode = 'M' -- ABSENCES : close life event in absences mode.
12241: then
12242: open c_pil_elctbl_chc_popl(l_rec.per_in_ler_id);
12243: loop

Line 12266: ben_enrolment_requirements.g_electable_choice_created and

12262: --
12263: -- CWB Changes. -- ABSENCES : no restore logic.
12264: -- added irec
12265: if g_bckdt_per_in_ler_id is not null and
12266: ben_enrolment_requirements.g_electable_choice_created and
12267: l_mode not in ('W', 'M','I','D')
12268: then
12269: --
12270: ben_lf_evt_clps_restore.p_lf_evt_clps_restore

Line 12313: if ben_enrolment_requirements.g_auto_choice_created

12309: --
12310: --- # 2899702 if the setup is autoenrollment Person Type usages are not create
12311: --- because the multi edit is not called , Person Type usages created in multiedit
12312: --- this is called for autoenrollment to created person type usaged
12313: if ben_enrolment_requirements.g_auto_choice_created
12314: and l_mode <> 'W' then
12315:
12316: ben_prtt_enrt_result_api.g_enrollment_change := true ;
12317: end if ;