DBA Data[Home] [Help]

APPS.BEN_EWL_BUS dependencies on BEN_EWL_SHD

Line 48: l_api_updating := ben_ewl_shd.api_updating

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

Line 55: <> ben_ewl_shd.g_old_rec.elig_wk_loc_prte_id) then

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

Line 59: ben_ewl_shd.constraint_error('BEN_ELIG_WK_LOC_PK');

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

Line 69: ben_ewl_shd.constraint_error('BEN_ELIG_WK_LOC_PK');

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

Line 139: l_api_updating := ben_ewl_shd.api_updating

135: Begin
136: --
137: hr_utility.set_location('Entering:'||l_proc,5);
138: --
139: l_api_updating := ben_ewl_shd.api_updating
140: (p_elig_wk_loc_prte_id => p_elig_wk_loc_prte_id,
141: p_effective_date => p_effective_date,
142: p_object_version_number => p_object_version_number);
143: --

Line 146: <> nvl(ben_ewl_shd.g_old_rec.location_id,hr_api.g_number)

142: p_object_version_number => p_object_version_number);
143: --
144: if (l_api_updating
145: and nvl(p_location_id,hr_api.g_number)
146: <> nvl(ben_ewl_shd.g_old_rec.location_id,hr_api.g_number)
147: or not l_api_updating) then
148: --
149: -- check if location_id value exists in hr_locations table
150: --

Line 161: ben_ewl_shd.constraint_error('BEN_ELIG_WK_LOC_FK1');

157: --
158: -- raise error as FK does not relate to PK in hr_locations
159: -- table.
160: --
161: ben_ewl_shd.constraint_error('BEN_ELIG_WK_LOC_FK1');
162: --
163: end if;
164: --
165: close c1;

Line 225: l_api_updating := ben_ewl_shd.api_updating

221: Begin
222: --
223: hr_utility.set_location('Entering:'||l_proc, 5);
224: --
225: l_api_updating := ben_ewl_shd.api_updating
226: (p_elig_wk_loc_prte_id => p_elig_wk_loc_prte_id,
227: p_effective_date => p_effective_date,
228: p_object_version_number => p_object_version_number);
229: --

Line 232: <> nvl(ben_ewl_shd.g_old_rec.excld_flag,hr_api.g_varchar2)

228: p_object_version_number => p_object_version_number);
229: --
230: if (l_api_updating
231: and p_excld_flag
232: <> nvl(ben_ewl_shd.g_old_rec.excld_flag,hr_api.g_varchar2)
233: or not l_api_updating) then
234: --
235: -- check if value of lookup falls within lookup type.
236: --

Line 522: (p_rec in ben_ewl_shd.g_rec_type,

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

Line 572: (p_rec in ben_ewl_shd.g_rec_type,

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

Line 630: (p_rec in ben_ewl_shd.g_rec_type,

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