DBA Data[Home] [Help]

APPS.BEN_WLR_BUS dependencies on BEN_WLR_SHD

Line 48: l_api_updating := ben_wlr_shd.api_updating

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

Line 55: <> ben_wlr_shd.g_old_rec.wk_loc_rt_id) then

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

Line 59: ben_wlr_shd.constraint_error('BEN_WORK_LOCATION_RT_PK');

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

Line 69: ben_wlr_shd.constraint_error('BEN_WORK_LOCATION_RT_PK');

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

Line 117: l_api_updating := ben_wlr_shd.api_updating

113: Begin
114: --
115: hr_utility.set_location('Entering:'||l_proc, 5);
116: --
117: l_api_updating := ben_wlr_shd.api_updating
118: (p_wk_loc_rt_id => p_wk_loc_rt_id,
119: p_effective_date => p_effective_date,
120: p_object_version_number => p_object_version_number);
121: --

Line 124: <> nvl(ben_wlr_shd.g_old_rec.excld_flag,hr_api.g_varchar2)

120: p_object_version_number => p_object_version_number);
121: --
122: if (l_api_updating
123: and p_excld_flag
124: <> nvl(ben_wlr_shd.g_old_rec.excld_flag,hr_api.g_varchar2)
125: or not l_api_updating) then
126: --
127: -- check if value of lookup falls within lookup type.
128: --

Line 258: l_api_updating := ben_wlr_shd.api_updating

254: BEGIN
255: --
256: hr_utility.set_location('Entering:'||l_proc, 5);
257: --
258: l_api_updating := ben_wlr_shd.api_updating
259: (p_wk_loc_rt_id => p_wk_loc_rt_id,
260: p_effective_date => p_effective_date,
261: p_object_version_number => p_object_version_number);
262: --

Line 264: and p_location_id <> nvl(ben_wlr_shd.g_old_rec.location_id,hr_api.g_number)

260: p_effective_date => p_effective_date,
261: p_object_version_number => p_object_version_number);
262: --
263: if (l_api_updating
264: and p_location_id <> nvl(ben_wlr_shd.g_old_rec.location_id,hr_api.g_number)
265: or not l_api_updating) then
266:
267: open c_dup;
268: fetch c_dup into l_exists;

Line 565: (p_rec in ben_wlr_shd.g_rec_type,

561: -- ----------------------------------------------------------------------------
562: -- |---------------------------< insert_validate >----------------------------|
563: -- ----------------------------------------------------------------------------
564: Procedure insert_validate
565: (p_rec in ben_wlr_shd.g_rec_type,
566: p_effective_date in date,
567: p_datetrack_mode in varchar2,
568: p_validation_start_date in date,
569: p_validation_end_date in date) is

Line 623: (p_rec in ben_wlr_shd.g_rec_type,

619: -- ----------------------------------------------------------------------------
620: -- |---------------------------< update_validate >----------------------------|
621: -- ----------------------------------------------------------------------------
622: Procedure update_validate
623: (p_rec in ben_wlr_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

Line 689: (p_rec in ben_wlr_shd.g_rec_type,

685: -- ----------------------------------------------------------------------------
686: -- |---------------------------< delete_validate >----------------------------|
687: -- ----------------------------------------------------------------------------
688: Procedure delete_validate
689: (p_rec in ben_wlr_shd.g_rec_type,
690: p_effective_date in date,
691: p_datetrack_mode in varchar2,
692: p_validation_start_date in date,
693: p_validation_end_date in date) is