DBA Data[Home] [Help]

APPS.BEN_BEI_BUS dependencies on BEN_BEI_SHD

Line 46: l_api_updating := ben_bei_shd.api_updating

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

Line 52: <> ben_bei_shd.g_old_rec.batch_elig_id) then

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

Line 56: ben_bei_shd.constraint_error('BEN_BATCH_ELIG_INFO_PK');

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

Line 66: ben_bei_shd.constraint_error('BEN_BATCH_ELIG_INFO_PK');

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

Line 123: l_api_updating := ben_bei_shd.api_updating

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

Line 129: <> nvl(ben_bei_shd.g_old_rec.oipl_id,hr_api.g_number)

125: p_object_version_number => p_object_version_number);
126: --
127: if (l_api_updating
128: and nvl(p_oipl_id,hr_api.g_number)
129: <> nvl(ben_bei_shd.g_old_rec.oipl_id,hr_api.g_number)
130: or not l_api_updating)
131: and p_oipl_id is not null then
132: --
133: -- check if oipl_id value exists in ben_oipl_f table

Line 145: ben_bei_shd.constraint_error('BEN_BATCH_ELIG_INFO_DT4');

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

Line 204: l_api_updating := ben_bei_shd.api_updating

200: Begin
201: --
202: hr_utility.set_location('Entering:'||l_proc,5);
203: --
204: l_api_updating := ben_bei_shd.api_updating
205: (p_batch_elig_id => p_batch_elig_id,
206: p_object_version_number => p_object_version_number);
207: --
208: if (l_api_updating

Line 210: <> nvl(ben_bei_shd.g_old_rec.pl_id,hr_api.g_number)

206: p_object_version_number => p_object_version_number);
207: --
208: if (l_api_updating
209: and nvl(p_pl_id,hr_api.g_number)
210: <> nvl(ben_bei_shd.g_old_rec.pl_id,hr_api.g_number)
211: or not l_api_updating)
212: and p_pl_id is not null then
213: --
214: -- check if pl_id value exists in ben_pl_f table

Line 226: ben_bei_shd.constraint_error('BEN_BATCH_ELIG_INFO_DT3');

222: --
223: -- raise error as FK does not relate to PK in ben_pl_f
224: -- table.
225: --
226: ben_bei_shd.constraint_error('BEN_BATCH_ELIG_INFO_DT3');
227: --
228: end if;
229: --
230: close c1;

Line 285: l_api_updating := ben_bei_shd.api_updating

281: Begin
282: --
283: hr_utility.set_location('Entering:'||l_proc,5);
284: --
285: l_api_updating := ben_bei_shd.api_updating
286: (p_batch_elig_id => p_batch_elig_id,
287: p_object_version_number => p_object_version_number);
288: --
289: if (l_api_updating

Line 291: <> nvl(ben_bei_shd.g_old_rec.pgm_id,hr_api.g_number)

287: p_object_version_number => p_object_version_number);
288: --
289: if (l_api_updating
290: and nvl(p_pgm_id,hr_api.g_number)
291: <> nvl(ben_bei_shd.g_old_rec.pgm_id,hr_api.g_number)
292: or not l_api_updating)
293: and p_pgm_id is not null then
294: --
295: -- check if pgm_id value exists in ben_pgm_f table

Line 307: ben_bei_shd.constraint_error('BEN_BATCH_ELIG_INFO_DT2');

303: --
304: -- raise error as FK does not relate to PK in ben_pgm_f
305: -- table.
306: --
307: ben_bei_shd.constraint_error('BEN_BATCH_ELIG_INFO_DT2');
308: --
309: end if;
310: --
311: close c1;

Line 366: l_api_updating := ben_bei_shd.api_updating

362: Begin
363: --
364: hr_utility.set_location('Entering:'||l_proc,5);
365: --
366: l_api_updating := ben_bei_shd.api_updating
367: (p_batch_elig_id => p_batch_elig_id,
368: p_object_version_number => p_object_version_number);
369: --
370: if (l_api_updating

Line 372: <> nvl(ben_bei_shd.g_old_rec.person_id,hr_api.g_number)

368: p_object_version_number => p_object_version_number);
369: --
370: if (l_api_updating
371: and nvl(p_person_id,hr_api.g_number)
372: <> nvl(ben_bei_shd.g_old_rec.person_id,hr_api.g_number)
373: or not l_api_updating) then
374: --
375: -- check if person_id value exists in per_all_people_f table
376: --

Line 387: ben_bei_shd.constraint_error('BEN_BATCH_ELIG_INFO_DT1');

383: --
384: -- raise error as FK does not relate to PK in per_all_people_f
385: -- table.
386: --
387: ben_bei_shd.constraint_error('BEN_BATCH_ELIG_INFO_DT1');
388: --
389: end if;
390: --
391: close c1;

Line 441: l_api_updating := ben_bei_shd.api_updating

437: Begin
438: --
439: hr_utility.set_location('Entering:'||l_proc,5);
440: --
441: l_api_updating := ben_bei_shd.api_updating
442: (p_batch_elig_id => p_batch_elig_id,
443: p_object_version_number => p_object_version_number);
444: --
445: if (l_api_updating

Line 447: <> nvl(ben_bei_shd.g_old_rec.benefit_action_id,hr_api.g_number)

443: p_object_version_number => p_object_version_number);
444: --
445: if (l_api_updating
446: and nvl(p_benefit_action_id,hr_api.g_number)
447: <> nvl(ben_bei_shd.g_old_rec.benefit_action_id,hr_api.g_number)
448: or not l_api_updating) then
449: --
450: -- check if benefit_action_id value exists in ben_benefit_actions table
451: --

Line 462: ben_bei_shd.constraint_error('BEN_BATCH_ELIG_INFO_FK1');

458: --
459: -- raise error as FK does not relate to PK in ben_benefit_actions
460: -- table.
461: --
462: ben_bei_shd.constraint_error('BEN_BATCH_ELIG_INFO_FK1');
463: --
464: end if;
465: --
466: close c1;

Line 512: l_api_updating := ben_bei_shd.api_updating

508: Begin
509: --
510: hr_utility.set_location('Entering:'||l_proc, 5);
511: --
512: l_api_updating := ben_bei_shd.api_updating
513: (p_batch_elig_id => p_batch_elig_id,
514: p_object_version_number => p_object_version_number);
515: --
516: if (l_api_updating

Line 518: <> nvl(ben_bei_shd.g_old_rec.elig_flag,hr_api.g_varchar2)

514: p_object_version_number => p_object_version_number);
515: --
516: if (l_api_updating
517: and p_elig_flag
518: <> nvl(ben_bei_shd.g_old_rec.elig_flag,hr_api.g_varchar2)
519: or not l_api_updating) then
520: --
521: -- check if value of lookup falls within lookup type.
522: --

Line 547: Procedure insert_validate(p_rec in ben_bei_shd.g_rec_type

543: --
544: -- ----------------------------------------------------------------------------
545: -- |---------------------------< insert_validate >----------------------------|
546: -- ----------------------------------------------------------------------------
547: Procedure insert_validate(p_rec in ben_bei_shd.g_rec_type
548: ,p_effective_date in date) is
549: --
550: l_proc varchar2(72) := g_package||'insert_validate';
551: --

Line 605: Procedure update_validate(p_rec in ben_bei_shd.g_rec_type

601: --
602: -- ----------------------------------------------------------------------------
603: -- |---------------------------< update_validate >----------------------------|
604: -- ----------------------------------------------------------------------------
605: Procedure update_validate(p_rec in ben_bei_shd.g_rec_type
606: ,p_effective_date in date) is
607: --
608: l_proc varchar2(72) := g_package||'update_validate';
609: --

Line 663: Procedure delete_validate(p_rec in ben_bei_shd.g_rec_type

659: --
660: -- ----------------------------------------------------------------------------
661: -- |---------------------------< delete_validate >----------------------------|
662: -- ----------------------------------------------------------------------------
663: Procedure delete_validate(p_rec in ben_bei_shd.g_rec_type
664: ,p_effective_date in date) is
665: --
666: l_proc varchar2(72) := g_package||'delete_validate';
667: --