DBA Data[Home] [Help]

APPS.BEN_EBN_BUS dependencies on BEN_EBN_SHD

Line 48: l_api_updating := ben_ebn_shd.api_updating

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

Line 55: <> ben_ebn_shd.g_old_rec.elig_benfts_grp_prte_id) then

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

Line 59: ben_ebn_shd.constraint_error('BEN_ELIG_BEN_GRP_PK');

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

Line 69: ben_ebn_shd.constraint_error('BEN_ELIG_BEN_GRP_PK');

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

Line 142: l_api_updating := ben_ebn_shd.api_updating

138: Begin
139: --
140: hr_utility.set_location('Entering:'||l_proc,5);
141: --
142: l_api_updating := ben_ebn_shd.api_updating
143: (p_elig_benfts_grp_prte_id => p_elig_benfts_grp_prte_id,
144: p_effective_date => p_effective_date,
145: p_object_version_number => p_object_version_number);
146: --

Line 149: <> nvl(ben_ebn_shd.g_old_rec.benfts_grp_id,hr_api.g_number)

145: p_object_version_number => p_object_version_number);
146: --
147: if (l_api_updating
148: and nvl(p_benfts_grp_id,hr_api.g_number)
149: <> nvl(ben_ebn_shd.g_old_rec.benfts_grp_id,hr_api.g_number)
150: or not l_api_updating) then
151: --
152: -- check if benfts_grp_id value exists in ben_benfts_grp table
153: --

Line 164: ben_ebn_shd.constraint_error('BEN_ELIG_BEN_GRP_FK1');

160: --
161: -- raise error as FK does not relate to PK in ben_benfts_grp
162: -- table.
163: --
164: ben_ebn_shd.constraint_error('BEN_ELIG_BEN_GRP_FK1');
165: --
166: end if;
167: --
168: close c1;

Line 229: l_api_updating := ben_ebn_shd.api_updating

225: Begin
226: --
227: hr_utility.set_location('Entering:'||l_proc, 5);
228: --
229: l_api_updating := ben_ebn_shd.api_updating
230: (p_elig_benfts_grp_prte_id => p_elig_benfts_grp_prte_id,
231: p_effective_date => p_effective_date,
232: p_object_version_number => p_object_version_number);
233: --

Line 236: <> nvl(ben_ebn_shd.g_old_rec.excld_flag,hr_api.g_varchar2)

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

Line 524: (p_rec in ben_ebn_shd.g_rec_type,

520: -- ----------------------------------------------------------------------------
521: -- |---------------------------< insert_validate >----------------------------|
522: -- ----------------------------------------------------------------------------
523: Procedure insert_validate
524: (p_rec in ben_ebn_shd.g_rec_type,
525: p_effective_date in date,
526: p_datetrack_mode in varchar2,
527: p_validation_start_date in date,
528: p_validation_end_date in date) is

Line 574: (p_rec in ben_ebn_shd.g_rec_type,

570: -- ----------------------------------------------------------------------------
571: -- |---------------------------< update_validate >----------------------------|
572: -- ----------------------------------------------------------------------------
573: Procedure update_validate
574: (p_rec in ben_ebn_shd.g_rec_type,
575: p_effective_date in date,
576: p_datetrack_mode in varchar2,
577: p_validation_start_date in date,
578: p_validation_end_date in date) is

Line 631: (p_rec in ben_ebn_shd.g_rec_type,

627: -- ----------------------------------------------------------------------------
628: -- |---------------------------< delete_validate >----------------------------|
629: -- ----------------------------------------------------------------------------
630: Procedure delete_validate
631: (p_rec in ben_ebn_shd.g_rec_type,
632: p_effective_date in date,
633: p_datetrack_mode in varchar2,
634: p_validation_start_date in date,
635: p_validation_end_date in date) is