DBA Data[Home] [Help]

APPS.BEN_BTR_BUS dependencies on BEN_BTR_SHD

Line 48: l_api_updating := ben_btr_shd.api_updating

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

Line 55: <> ben_btr_shd.g_old_rec.comp_lvl_acty_rt_id) then

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

Line 59: ben_btr_shd.constraint_error('BEN_COMP_LVL_ACTY_RT_PK');

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

Line 69: ben_btr_shd.constraint_error('BEN_COMP_LVL_ACTY_RT_PK');

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

Line 123: l_api_updating := ben_btr_shd.api_updating

119: Begin
120: --
121: hr_utility.set_location('Entering:'||l_proc,5);
122: --
123: l_api_updating := ben_btr_shd.api_updating
124: (p_comp_lvl_acty_rt_id => p_comp_lvl_acty_rt_id,
125: p_effective_date => p_effective_date,
126: p_object_version_number => p_object_version_number);
127: --

Line 130: <> nvl(ben_btr_shd.g_old_rec.comp_lvl_fctr_id,hr_api.g_number)

126: p_object_version_number => p_object_version_number);
127: --
128: if (l_api_updating
129: and nvl(p_comp_lvl_fctr_id,hr_api.g_number)
130: <> nvl(ben_btr_shd.g_old_rec.comp_lvl_fctr_id,hr_api.g_number)
131: or not l_api_updating) then
132: --
133: -- check if comp_lvl_fctr_id value exists in ben_comp_lvl_fctr table
134: --

Line 145: ben_btr_shd.constraint_error('BEN_COMP_LVL_ACTY_RT_FK2');

141: --
142: -- raise error as FK does not relate to PK in ben_comp_lvl_fctr
143: -- table.
144: --
145: ben_btr_shd.constraint_error('BEN_COMP_LVL_ACTY_RT_FK2');
146: --
147: end if;
148: --
149: close c1;

Line 195: l_api_updating := ben_btr_shd.api_updating

191: Begin
192: --
193: hr_utility.set_location('Entering:'||l_proc, 5);
194: --
195: l_api_updating := ben_btr_shd.api_updating
196: (p_comp_lvl_acty_rt_id => p_comp_lvl_acty_rt_id,
197: p_effective_date => p_effective_date,
198: p_object_version_number => p_object_version_number);
199: --

Line 202: <> nvl(ben_btr_shd.g_old_rec.dflt_flag,hr_api.g_varchar2)

198: p_object_version_number => p_object_version_number);
199: --
200: if (l_api_updating
201: and p_dflt_flag
202: <> nvl(ben_btr_shd.g_old_rec.dflt_flag,hr_api.g_varchar2)
203: or not l_api_updating) then
204: --
205: -- check if value of lookup falls within lookup type.
206: --

Line 281: l_api_updating := ben_btr_shd.api_updating

277: Begin
278: --
279: hr_utility.set_location('Entering:'||l_proc, 5);
280: --
281: l_api_updating := ben_btr_shd.api_updating
282: (p_comp_lvl_acty_rt_id => p_comp_lvl_acty_rt_id,
283: p_effective_date => p_effective_date,
284: p_object_version_number => p_object_version_number);
285: --

Line 288: -- <> nvl(ben_btr_shd.g_old_rec.dflt_flag,hr_api.g_varchar2)

284: p_object_version_number => p_object_version_number);
285: --
286: if (l_api_updating or not l_api_updating)
287: and p_dflt_flag = 'Y' then
288: -- <> nvl(ben_btr_shd.g_old_rec.dflt_flag,hr_api.g_varchar2)
289: -- or not l_api_updating) then
290:
291: -- Check if a record with default flag 'Y' already exists for acty_base_rt.
292: --

Line 518: (p_rec in ben_btr_shd.g_rec_type,

514: -- ----------------------------------------------------------------------------
515: -- |---------------------------< insert_validate >----------------------------|
516: -- ----------------------------------------------------------------------------
517: Procedure insert_validate
518: (p_rec in ben_btr_shd.g_rec_type,
519: p_effective_date in date,
520: p_datetrack_mode in varchar2,
521: p_validation_start_date in date,
522: p_validation_end_date in date) is

Line 567: (p_rec in ben_btr_shd.g_rec_type,

563: -- ----------------------------------------------------------------------------
564: -- |---------------------------< update_validate >----------------------------|
565: -- ----------------------------------------------------------------------------
566: Procedure update_validate
567: (p_rec in ben_btr_shd.g_rec_type,
568: p_effective_date in date,
569: p_datetrack_mode in varchar2,
570: p_validation_start_date in date,
571: p_validation_end_date in date) is

Line 623: (p_rec in ben_btr_shd.g_rec_type,

619: -- ----------------------------------------------------------------------------
620: -- |---------------------------< delete_validate >----------------------------|
621: -- ----------------------------------------------------------------------------
622: Procedure delete_validate
623: (p_rec in ben_btr_shd.g_rec_type,
624: p_effective_date in date,
625: p_datetrack_mode in varchar2,
626: p_validation_start_date in date,
627: p_validation_end_date in date) is