350: to_char(ben_evaluate_rate_profiles.g_no_match_cnt),18);
351: if p_mlt_cd = 'NSVU' then
352: if p_vrbl_rt_add_on_calc_rl is null then
353: -- there is no standard value and no profiles matched, error.
354: fnd_message.set_name('BEN', 'BEN_92290_NSVU_NO_PROFILES');
355: fnd_message.raise_error;
356: else
357: -- this rule returns an amount.
358: l_outputs := benutils.formula
351: if p_mlt_cd = 'NSVU' then
352: if p_vrbl_rt_add_on_calc_rl is null then
353: -- there is no standard value and no profiles matched, error.
354: fnd_message.set_name('BEN', 'BEN_92290_NSVU_NO_PROFILES');
355: fnd_message.raise_error;
356: else
357: -- this rule returns an amount.
358: l_outputs := benutils.formula
359: (p_formula_id => p_vrbl_rt_add_on_calc_rl,
455: when others then
456: l_error_text := sqlerrm;
457: hr_utility.set_location ('Fail in '||l_package||' error:',999);
458: hr_utility.set_location (l_error_text,999);
459: fnd_message.raise_error;
460: end determine_vrbl_prfls;
461: -- ----------------------------------------------------------------------------
462: -- |------------------------------< main >------------------------------------|
463: -- ----------------------------------------------------------------------------
762: -- total coverage amt of prtts.
763: if l_prems.mlt_cd = 'NSVU' then
764: if l_prems.vrbl_rt_add_on_calc_rl is null then
765: -- there is no standard value and no profiles matched, error.
766: fnd_message.set_name('BEN', 'BEN_92290_NSVU_NO_PROFILES');
767: fnd_message.raise_error;
768: else
769: -- this rule returns an amount.
770: l_outputs := benutils.formula
763: if l_prems.mlt_cd = 'NSVU' then
764: if l_prems.vrbl_rt_add_on_calc_rl is null then
765: -- there is no standard value and no profiles matched, error.
766: fnd_message.set_name('BEN', 'BEN_92290_NSVU_NO_PROFILES');
767: fnd_message.raise_error;
768: else
769: -- this rule returns an amount.
770: l_outputs := benutils.formula
771: (p_formula_id => l_prems.vrbl_rt_add_on_calc_rl,
1076: when others then
1077: l_error_text := sqlerrm;
1078: hr_utility.set_location ('Fail in '||l_package||' error:',999);
1079: hr_utility.set_location (l_error_text,999);
1080: fnd_message.raise_error;
1081: end main;
1082: end ben_prem_pl_oipl_monthly;