DBA Data[Home] [Help]

APPS.BEN_BDI_BUS dependencies on BEN_BDI_SHD

Line 46: l_api_updating := ben_bdi_shd.api_updating

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

Line 52: <> ben_bdi_shd.g_old_rec.batch_dpnt_id) then

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

Line 56: ben_bdi_shd.constraint_error('BEN_BATCH_DPNT_INFO_PK');

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

Line 66: ben_bdi_shd.constraint_error('BEN_BATCH_DPNT_INFO_PK');

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

Line 123: l_api_updating := ben_bdi_shd.api_updating

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

Line 129: <> nvl(ben_bdi_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_bdi_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_bdi_shd.constraint_error('BEN_BATCH_DPNT_INFO_DT5');

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

Line 203: l_api_updating := ben_bdi_shd.api_updating

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

Line 209: <> nvl(ben_bdi_shd.g_old_rec.oipl_id,hr_api.g_number)

205: p_object_version_number => p_object_version_number);
206: --
207: if ((l_api_updating
208: and nvl(p_oipl_id,hr_api.g_number)
209: <> nvl(ben_bdi_shd.g_old_rec.oipl_id,hr_api.g_number)
210: or not l_api_updating) and
211: p_oipl_id is not null) then
212: --
213: -- check if oipl_id value exists in ben_oipl_f table

Line 225: ben_bdi_shd.constraint_error('BEN_BATCH_DPNT_INFO_DT4');

221: --
222: -- raise error as FK does not relate to PK in ben_oipl_f
223: -- table.
224: --
225: ben_bdi_shd.constraint_error('BEN_BATCH_DPNT_INFO_DT4');
226: --
227: end if;
228: --
229: close c1;

Line 284: l_api_updating := ben_bdi_shd.api_updating

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

Line 290: <> nvl(ben_bdi_shd.g_old_rec.pl_id,hr_api.g_number)

286: p_object_version_number => p_object_version_number);
287: --
288: if ((l_api_updating
289: and nvl(p_pl_id,hr_api.g_number)
290: <> nvl(ben_bdi_shd.g_old_rec.pl_id,hr_api.g_number)
291: or not l_api_updating) and
292: p_pl_id is not null) then -- Bug 6407095
293: --
294: -- check if pl_id value exists in ben_pl_f table

Line 306: ben_bdi_shd.constraint_error('BEN_BATCH_DPNT_INFO_DT3');

302: --
303: -- raise error as FK does not relate to PK in ben_pl_f
304: -- table.
305: --
306: ben_bdi_shd.constraint_error('BEN_BATCH_DPNT_INFO_DT3');
307: --
308: end if;
309: --
310: close c1;

Line 365: l_api_updating := ben_bdi_shd.api_updating

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

Line 371: <> nvl(ben_bdi_shd.g_old_rec.pgm_id,hr_api.g_number)

367: p_object_version_number => p_object_version_number);
368: --
369: if ((l_api_updating
370: and nvl(p_pgm_id,hr_api.g_number)
371: <> nvl(ben_bdi_shd.g_old_rec.pgm_id,hr_api.g_number)
372: or not l_api_updating) and
373: p_pgm_id is not null) then
374: --
375: -- check if pgm_id value exists in ben_pgm_f table

Line 387: ben_bdi_shd.constraint_error('BEN_BATCH_DPNT_INFO_DT2');

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

Line 441: l_api_updating := ben_bdi_shd.api_updating

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

Line 447: <> nvl(ben_bdi_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_bdi_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_bdi_shd.constraint_error('BEN_BATCH_DPNT_INFO_FK1');

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

Line 512: l_api_updating := ben_bdi_shd.api_updating

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

Line 518: <> nvl(ben_bdi_shd.g_old_rec.contact_typ_cd,hr_api.g_varchar2)

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

Line 547: Procedure insert_validate(p_rec in ben_bdi_shd.g_rec_type

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

Line 611: Procedure update_validate(p_rec in ben_bdi_shd.g_rec_type

607: --
608: -- ----------------------------------------------------------------------------
609: -- |---------------------------< update_validate >----------------------------|
610: -- ----------------------------------------------------------------------------
611: Procedure update_validate(p_rec in ben_bdi_shd.g_rec_type
612: ,p_effective_date in date) is
613: --
614: l_proc varchar2(72) := g_package||'update_validate';
615: --

Line 675: Procedure delete_validate(p_rec in ben_bdi_shd.g_rec_type

671: --
672: -- ----------------------------------------------------------------------------
673: -- |---------------------------< delete_validate >----------------------------|
674: -- ----------------------------------------------------------------------------
675: Procedure delete_validate(p_rec in ben_bdi_shd.g_rec_type
676: ,p_effective_date in date) is
677: --
678: l_proc varchar2(72) := g_package||'delete_validate';
679: --