DBA Data[Home] [Help]

APPS.BEN_OPR_BUS dependencies on BEN_OPR_SHD

Line 48: l_api_updating := ben_opr_shd.api_updating

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

Line 55: <> ben_opr_shd.g_old_rec.othr_ptip_rt_id) then

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

Line 59: ben_opr_shd.constraint_error('BEN_OTHR_PTIP_RT_PK');

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

Line 69: ben_opr_shd.constraint_error('BEN_OTHR_PTIP_RT_PK');

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

Line 142: l_api_updating := ben_opr_shd.api_updating

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

Line 149: <> nvl(ben_opr_shd.g_old_rec.ptip_id,hr_api.g_number)

145: p_object_version_number => p_object_version_number);
146: --
147: if (l_api_updating
148: and nvl(p_ptip_id,hr_api.g_number)
149: <> nvl(ben_opr_shd.g_old_rec.ptip_id,hr_api.g_number)
150: or not l_api_updating) then
151: --
152: -- check if ptip_id value exists in the plan type in program table
153: open c1;

Line 163: ben_opr_shd.constraint_error('BEN_OTHR_PTIP_RT_DT2');

159: --
160: -- raise error as FK does not relate to PK in plan type in program
161: -- table.
162: --
163: ben_opr_shd.constraint_error('BEN_OTHR_PTIP_RT_DT2');
164: --
165: end if;
166: --
167: close c1;

Line 229: l_api_updating := ben_opr_shd.api_updating

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

Line 236: <> nvl(ben_opr_shd.g_old_rec.only_pls_subj_cobra_flag,hr_api.g_varchar2)

232: p_object_version_number => p_object_version_number);
233: --
234: if (l_api_updating
235: and p_only_pls_subj_cobra_flag
236: <> nvl(ben_opr_shd.g_old_rec.only_pls_subj_cobra_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 300: l_api_updating := ben_opr_shd.api_updating

296: Begin
297: --
298: hr_utility.set_location('Entering:'||l_proc, 5);
299: --
300: l_api_updating := ben_opr_shd.api_updating
301: (p_othr_ptip_rt_id => p_othr_ptip_rt_id,
302: p_effective_date => p_effective_date,
303: p_object_version_number => p_object_version_number);
304: --

Line 307: <> nvl(ben_opr_shd.g_old_rec.excld_flag,hr_api.g_varchar2)

303: p_object_version_number => p_object_version_number);
304: --
305: if (l_api_updating
306: and p_excld_flag
307: <> nvl(ben_opr_shd.g_old_rec.excld_flag,hr_api.g_varchar2)
308: or not l_api_updating) then
309: --
310: -- check if value of lookup falls within lookup type.
311: --

Line 620: (p_rec in ben_opr_shd.g_rec_type,

616: -- ----------------------------------------------------------------------------
617: -- |---------------------------< insert_validate >----------------------------|
618: -- ----------------------------------------------------------------------------
619: Procedure insert_validate
620: (p_rec in ben_opr_shd.g_rec_type,
621: p_effective_date in date,
622: p_datetrack_mode in varchar2,
623: p_validation_start_date in date,
624: p_validation_end_date in date) is

Line 680: (p_rec in ben_opr_shd.g_rec_type,

676: -- ----------------------------------------------------------------------------
677: -- |---------------------------< update_validate >----------------------------|
678: -- ----------------------------------------------------------------------------
679: Procedure update_validate
680: (p_rec in ben_opr_shd.g_rec_type,
681: p_effective_date in date,
682: p_datetrack_mode in varchar2,
683: p_validation_start_date in date,
684: p_validation_end_date in date) is

Line 749: (p_rec in ben_opr_shd.g_rec_type,

745: -- ----------------------------------------------------------------------------
746: -- |---------------------------< delete_validate >----------------------------|
747: -- ----------------------------------------------------------------------------
748: Procedure delete_validate
749: (p_rec in ben_opr_shd.g_rec_type,
750: p_effective_date in date,
751: p_datetrack_mode in varchar2,
752: p_validation_start_date in date,
753: p_validation_end_date in date) is