DBA Data[Home] [Help]

APPS.BEN_XCL_BUS dependencies on BEN_XCL_SHD

Line 46: l_api_updating := ben_xcl_shd.api_updating

42: Begin
43: --
44: hr_utility.set_location('Entering:'||l_proc, 5);
45: --
46: l_api_updating := ben_xcl_shd.api_updating
47: (p_ext_chg_evt_log_id => p_ext_chg_evt_log_id,
48: p_object_version_number => p_object_version_number);
49: --
50: if (l_api_updating

Line 52: <> ben_xcl_shd.g_old_rec.ext_chg_evt_log_id) then

48: p_object_version_number => p_object_version_number);
49: --
50: if (l_api_updating
51: and nvl(p_ext_chg_evt_log_id,hr_api.g_number)
52: <> ben_xcl_shd.g_old_rec.ext_chg_evt_log_id) then
53: --
54: -- raise error as PK has changed
55: --
56: ben_xcl_shd.constraint_error('BEN_EXT_CHG_EVT_LOG_PK');

Line 56: ben_xcl_shd.constraint_error('BEN_EXT_CHG_EVT_LOG_PK');

52: <> ben_xcl_shd.g_old_rec.ext_chg_evt_log_id) then
53: --
54: -- raise error as PK has changed
55: --
56: ben_xcl_shd.constraint_error('BEN_EXT_CHG_EVT_LOG_PK');
57: --
58: elsif not l_api_updating then
59: --
60: -- check if PK is null

Line 66: ben_xcl_shd.constraint_error('BEN_EXT_CHG_EVT_LOG_PK');

62: if p_ext_chg_evt_log_id is not null then
63: --
64: -- raise error as PK is not null
65: --
66: ben_xcl_shd.constraint_error('BEN_EXT_CHG_EVT_LOG_PK');
67: --
68: end if;
69: --
70: end if;

Line 123: l_api_updating := ben_xcl_shd.api_updating

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

Line 129: <> nvl(ben_xcl_shd.g_old_rec.person_id,hr_api.g_number)

125: p_object_version_number => p_object_version_number);
126: --
127: if (l_api_updating
128: and nvl(p_person_id,hr_api.g_number)
129: <> nvl(ben_xcl_shd.g_old_rec.person_id,hr_api.g_number)
130: or not l_api_updating) then
131: --
132: -- check if person_id value exists in per_all_people_f table
133: --

Line 144: ben_xcl_shd.constraint_error('BEN_EXT_CHG_EVT_LOG_DT1');

140: --
141: -- raise error as FK does not relate to PK in per_all_people_f
142: -- table.
143: --
144: ben_xcl_shd.constraint_error('BEN_EXT_CHG_EVT_LOG_DT1');
145: --
146: end if;
147: --
148: close c1;

Line 194: l_api_updating := ben_xcl_shd.api_updating

190: Begin
191: --
192: hr_utility.set_location('Entering:'||l_proc, 5);
193: --
194: l_api_updating := ben_xcl_shd.api_updating
195: (p_ext_chg_evt_log_id => p_ext_chg_evt_log_id,
196: p_object_version_number => p_object_version_number);
197: --
198: if (l_api_updating

Line 200: <> nvl(ben_xcl_shd.g_old_rec.chg_evt_cd,hr_api.g_varchar2)

196: p_object_version_number => p_object_version_number);
197: --
198: if (l_api_updating
199: and p_chg_evt_cd
200: <> nvl(ben_xcl_shd.g_old_rec.chg_evt_cd,hr_api.g_varchar2)
201: or not l_api_updating) then
202: --
203: -- check if value of lookup falls within lookup type.
204: --

Line 227: Procedure insert_validate(p_rec in ben_xcl_shd.g_rec_type

223: --
224: -- ----------------------------------------------------------------------------
225: -- |---------------------------< insert_validate >----------------------------|
226: -- ----------------------------------------------------------------------------
227: Procedure insert_validate(p_rec in ben_xcl_shd.g_rec_type
228: ,p_effective_date in date) is
229: --
230: l_proc varchar2(72) := g_package||'insert_validate';
231: --

Line 256: Procedure update_validate(p_rec in ben_xcl_shd.g_rec_type

252: --
253: -- ----------------------------------------------------------------------------
254: -- |---------------------------< update_validate >----------------------------|
255: -- ----------------------------------------------------------------------------
256: Procedure update_validate(p_rec in ben_xcl_shd.g_rec_type
257: ,p_effective_date in date) is
258: --
259: l_proc varchar2(72) := g_package||'update_validate';
260: --

Line 285: Procedure delete_validate(p_rec in ben_xcl_shd.g_rec_type

281: --
282: -- ----------------------------------------------------------------------------
283: -- |---------------------------< delete_validate >----------------------------|
284: -- ----------------------------------------------------------------------------
285: Procedure delete_validate(p_rec in ben_xcl_shd.g_rec_type
286: ,p_effective_date in date) is
287: --
288: l_proc varchar2(72) := g_package||'delete_validate';
289: --