1: PACKAGE body ben_whatif_elig as
2: /* $Header: benwatif.pkb 120.0 2005/05/28 09:35:40 appldev noship $ */
3: procedure p_rollback is
4: begin
5: hr_utility.set_location(' Entering: p_rollback' , 10);
4376: --
4377: if p_temporal_lf_evt = 'CMP' then
4378: --
4379: if p_cmp_val is not null then
4380: ben_whatif_elig.g_stat_comp := p_cmp_val;
4381: end if;
4382: --
4383: if p_cmp_bnft_val is not null then
4384: ben_whatif_elig.g_bnft_bal_comp := p_cmp_bnft_val;
4380: ben_whatif_elig.g_stat_comp := p_cmp_val;
4381: end if;
4382: --
4383: if p_cmp_bnft_val is not null then
4384: ben_whatif_elig.g_bnft_bal_comp := p_cmp_bnft_val;
4385: end if;
4386: --
4387: if p_cmp_bal_val is not null then
4388: ben_whatif_elig.g_bal_comp := p_cmp_bal_val;
4384: ben_whatif_elig.g_bnft_bal_comp := p_cmp_bnft_val;
4385: end if;
4386: --
4387: if p_cmp_bal_val is not null then
4388: ben_whatif_elig.g_bal_comp := p_cmp_bal_val;
4389: end if;
4390: --
4391: elsif p_temporal_lf_evt = 'HRW' then
4392: --
4390: --
4391: elsif p_temporal_lf_evt = 'HRW' then
4392: --
4393: if p_hwf_val is not null then
4394: ben_whatif_elig.g_bal_hwf_val := p_hwf_val;
4395: end if;
4396: --
4397: if p_hwf_bnft_val is not null then
4398: ben_whatif_elig.g_bnft_bal_hwf_val := p_hwf_bnft_val;
4394: ben_whatif_elig.g_bal_hwf_val := p_hwf_val;
4395: end if;
4396: --
4397: if p_hwf_bnft_val is not null then
4398: ben_whatif_elig.g_bnft_bal_hwf_val := p_hwf_bnft_val;
4399: end if;
4400: --
4401: end if;
4402: --
4513: --
4514: procedure p_init_watif_globals is
4515: begin
4516: --
4517: ben_whatif_elig.g_stat_comp := null;
4518: ben_whatif_elig.g_bnft_bal_comp := null;
4519: ben_whatif_elig.g_bal_comp := null;
4520: ben_whatif_elig.g_bnft_bal_hwf_val := null;
4521: ben_whatif_elig.g_bal_hwf_val := null;
4514: procedure p_init_watif_globals is
4515: begin
4516: --
4517: ben_whatif_elig.g_stat_comp := null;
4518: ben_whatif_elig.g_bnft_bal_comp := null;
4519: ben_whatif_elig.g_bal_comp := null;
4520: ben_whatif_elig.g_bnft_bal_hwf_val := null;
4521: ben_whatif_elig.g_bal_hwf_val := null;
4522: --
4515: begin
4516: --
4517: ben_whatif_elig.g_stat_comp := null;
4518: ben_whatif_elig.g_bnft_bal_comp := null;
4519: ben_whatif_elig.g_bal_comp := null;
4520: ben_whatif_elig.g_bnft_bal_hwf_val := null;
4521: ben_whatif_elig.g_bal_hwf_val := null;
4522: --
4523: end;
4516: --
4517: ben_whatif_elig.g_stat_comp := null;
4518: ben_whatif_elig.g_bnft_bal_comp := null;
4519: ben_whatif_elig.g_bal_comp := null;
4520: ben_whatif_elig.g_bnft_bal_hwf_val := null;
4521: ben_whatif_elig.g_bal_hwf_val := null;
4522: --
4523: end;
4524: --
4517: ben_whatif_elig.g_stat_comp := null;
4518: ben_whatif_elig.g_bnft_bal_comp := null;
4519: ben_whatif_elig.g_bal_comp := null;
4520: ben_whatif_elig.g_bnft_bal_hwf_val := null;
4521: ben_whatif_elig.g_bal_hwf_val := null;
4522: --
4523: end;
4524: --
4525: END ben_whatif_elig;
4521: ben_whatif_elig.g_bal_hwf_val := null;
4522: --
4523: end;
4524: --
4525: END ben_whatif_elig;