DBA Data[Home] [Help]

APPS.BEN_EPZ_BUS dependencies on BEN_EPZ_SHD

Line 48: l_api_updating := ben_epz_shd.api_updating

44: Begin
45: --
46: hr_utility.set_location('Entering:'||l_proc, 5);
47: --
48: l_api_updating := ben_epz_shd.api_updating
49: (p_effective_date => p_effective_date,
50: p_elig_pstl_cd_r_rng_prte_id => p_elig_pstl_cd_r_rng_prte_id,
51: p_object_version_number => p_object_version_number);
52: --

Line 55: <> ben_epz_shd.g_old_rec.elig_pstl_cd_r_rng_prte_id) then

51: p_object_version_number => p_object_version_number);
52: --
53: if (l_api_updating
54: and nvl(p_elig_pstl_cd_r_rng_prte_id,hr_api.g_number)
55: <> ben_epz_shd.g_old_rec.elig_pstl_cd_r_rng_prte_id) then
56: --
57: -- raise error as PK has changed
58: --
59: ben_epz_shd.constraint_error('BEN_ELIG_PSTL_CD_PK');

Line 59: ben_epz_shd.constraint_error('BEN_ELIG_PSTL_CD_PK');

55: <> ben_epz_shd.g_old_rec.elig_pstl_cd_r_rng_prte_id) then
56: --
57: -- raise error as PK has changed
58: --
59: ben_epz_shd.constraint_error('BEN_ELIG_PSTL_CD_PK');
60: --
61: elsif not l_api_updating then
62: --
63: -- check if PK is null

Line 69: ben_epz_shd.constraint_error('BEN_ELIG_PSTL_CD_PK');

65: if p_elig_pstl_cd_r_rng_prte_id is not null then
66: --
67: -- raise error as PK is not null
68: --
69: ben_epz_shd.constraint_error('BEN_ELIG_PSTL_CD_PK');
70: --
71: end if;
72: --
73: end if;

Line 145: l_api_updating := ben_epz_shd.api_updating

141: Begin
142: --
143: hr_utility.set_location('Entering:'||l_proc,5);
144: --
145: l_api_updating := ben_epz_shd.api_updating
146: (p_elig_pstl_cd_r_rng_prte_id => p_elig_pstl_cd_r_rng_prte_id,
147: p_effective_date => p_effective_date,
148: p_object_version_number => p_object_version_number);
149: --

Line 152: <> nvl(ben_epz_shd.g_old_rec.pstl_zip_rng_id,hr_api.g_number)

148: p_object_version_number => p_object_version_number);
149: --
150: if (l_api_updating
151: and nvl(p_pstl_zip_rng_id,hr_api.g_number)
152: <> nvl(ben_epz_shd.g_old_rec.pstl_zip_rng_id,hr_api.g_number)
153: or not l_api_updating) then
154: --
155: -- check if pstl_zip_rng_id value exists in ben_pstl_zip_rng_f table
156: --

Line 167: ben_epz_shd.constraint_error('BEN_ELIG_PSTL_CD_FK2');

163: --
164: -- raise error as FK does not relate to PK in ben_pstl_zip_rng_f
165: -- table.
166: --
167: ben_epz_shd.constraint_error('BEN_ELIG_PSTL_CD_FK2');
168: --
169: end if;
170: --
171: close c1;

Line 232: l_api_updating := ben_epz_shd.api_updating

228: Begin
229: --
230: hr_utility.set_location('Entering:'||l_proc, 5);
231: --
232: l_api_updating := ben_epz_shd.api_updating
233: (p_elig_pstl_cd_r_rng_prte_id => p_elig_pstl_cd_r_rng_prte_id,
234: p_effective_date => p_effective_date,
235: p_object_version_number => p_object_version_number);
236: --

Line 239: <> nvl(ben_epz_shd.g_old_rec.excld_flag,hr_api.g_varchar2)

235: p_object_version_number => p_object_version_number);
236: --
237: if (l_api_updating
238: and p_excld_flag
239: <> nvl(ben_epz_shd.g_old_rec.excld_flag,hr_api.g_varchar2)
240: or not l_api_updating) then
241: --
242: -- check if value of lookup falls within lookup type.
243: --

Line 541: (p_rec in ben_epz_shd.g_rec_type,

537: -- ----------------------------------------------------------------------------
538: -- |---------------------------< insert_validate >----------------------------|
539: -- ----------------------------------------------------------------------------
540: Procedure insert_validate
541: (p_rec in ben_epz_shd.g_rec_type,
542: p_effective_date in date,
543: p_datetrack_mode in varchar2,
544: p_validation_start_date in date,
545: p_validation_end_date in date) is

Line 590: (p_rec in ben_epz_shd.g_rec_type,

586: -- ----------------------------------------------------------------------------
587: -- |---------------------------< update_validate >----------------------------|
588: -- ----------------------------------------------------------------------------
589: Procedure update_validate
590: (p_rec in ben_epz_shd.g_rec_type,
591: p_effective_date in date,
592: p_datetrack_mode in varchar2,
593: p_validation_start_date in date,
594: p_validation_end_date in date) is

Line 648: (p_rec in ben_epz_shd.g_rec_type,

644: -- ----------------------------------------------------------------------------
645: -- |---------------------------< delete_validate >----------------------------|
646: -- ----------------------------------------------------------------------------
647: Procedure delete_validate
648: (p_rec in ben_epz_shd.g_rec_type,
649: p_effective_date in date,
650: p_datetrack_mode in varchar2,
651: p_validation_start_date in date,
652: p_validation_end_date in date) is