DBA Data[Home] [Help]

APPS.BEN_PST_BUS dependencies on BEN_PST_SHD

Line 48: l_api_updating := ben_pst_shd.api_updating

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

Line 55: <> ben_pst_shd.g_old_rec.pstn_rt_id) then

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

Line 59: ben_pst_shd.constraint_error('BEN_PSTN_RT_PK');

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

Line 69: ben_pst_shd.constraint_error('BEN_PSTN_RT_PK');

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

Line 126: l_api_updating := ben_pst_shd.api_updating

122: Begin
123: --
124: hr_utility.set_location('Entering:'||l_proc,5);
125: --
126: l_api_updating := ben_pst_shd.api_updating
127: (p_pstn_rt_id => p_pstn_rt_id,
128: p_effective_date => p_effective_date,
129: p_object_version_number => p_object_version_number);
130: --

Line 133: <> nvl(ben_pst_shd.g_old_rec.position_id,hr_api.g_number)

129: p_object_version_number => p_object_version_number);
130: --
131: if (l_api_updating
132: and nvl(p_position_id,hr_api.g_number)
133: <> nvl(ben_pst_shd.g_old_rec.position_id,hr_api.g_number)
134: or not l_api_updating)
135: and p_position_id is not null then
136: --
137: -- check if position_id value exists in

Line 150: ben_pst_shd.constraint_error('BEN_PSTN_RT_F_FK3');

146: --
147: -- raise error as FK does not relate to PK in
148: -- per_abs_attendance_reasons table.
149: --
150: ben_pst_shd.constraint_error('BEN_PSTN_RT_F_FK3');
151: --
152: end if;
153: --
154: close c1;

Line 221: l_api_updating := ben_pst_shd.api_updating

217: BEGIN
218: --
219: hr_utility.set_location('Entering:'||l_proc, 5);
220: --
221: l_api_updating := ben_pst_shd.api_updating
222: (p_pstn_rt_id => p_pstn_rt_id,
223: p_effective_date => p_effective_date,
224: p_object_version_number => p_object_version_number);
225: --

Line 227: and p_position_id <> nvl(ben_pst_shd.g_old_rec.position_id,hr_api.g_number)

223: p_effective_date => p_effective_date,
224: p_object_version_number => p_object_version_number);
225: --
226: if (l_api_updating
227: and p_position_id <> nvl(ben_pst_shd.g_old_rec.position_id,hr_api.g_number)
228: or not l_api_updating) then
229:
230: open c_dup;
231: fetch c_dup into l_exists;

Line 290: l_api_updating := ben_pst_shd.api_updating

286: Begin
287: --
288: hr_utility.set_location('Entering:'||l_proc, 5);
289: --
290: l_api_updating := ben_pst_shd.api_updating
291: (p_pstn_rt_id => p_pstn_rt_id,
292: p_effective_date => p_effective_date,
293: p_object_version_number => p_object_version_number);
294: --

Line 297: <> nvl(ben_pst_shd.g_old_rec.excld_flag,hr_api.g_varchar2)

293: p_object_version_number => p_object_version_number);
294: --
295: if (l_api_updating
296: and p_excld_flag
297: <> nvl(ben_pst_shd.g_old_rec.excld_flag,hr_api.g_varchar2)
298: or not l_api_updating) then
299: --
300: -- check if value of lookup falls within lookup type.
301: --

Line 598: (p_rec in ben_pst_shd.g_rec_type,

594: -- ----------------------------------------------------------------------------
595: -- |---------------------------< insert_validate >----------------------------|
596: -- ----------------------------------------------------------------------------
597: Procedure insert_validate
598: (p_rec in ben_pst_shd.g_rec_type,
599: p_effective_date in date,
600: p_datetrack_mode in varchar2,
601: p_validation_start_date in date,
602: p_validation_end_date in date) is

Line 657: (p_rec in ben_pst_shd.g_rec_type,

653: -- ----------------------------------------------------------------------------
654: -- |---------------------------< update_validate >----------------------------|
655: -- ----------------------------------------------------------------------------
656: Procedure update_validate
657: (p_rec in ben_pst_shd.g_rec_type,
658: p_effective_date in date,
659: p_datetrack_mode in varchar2,
660: p_validation_start_date in date,
661: p_validation_end_date in date) is

Line 726: (p_rec in ben_pst_shd.g_rec_type,

722: -- ----------------------------------------------------------------------------
723: -- |---------------------------< delete_validate >----------------------------|
724: -- ----------------------------------------------------------------------------
725: Procedure delete_validate
726: (p_rec in ben_pst_shd.g_rec_type,
727: p_effective_date in date,
728: p_datetrack_mode in varchar2,
729: p_validation_start_date in date,
730: p_validation_end_date in date) is