DBA Data[Home] [Help]

APPS.BEN_CPO_BUS dependencies on BEN_CPO_SHD

Line 48: l_api_updating := ben_cpo_shd.api_updating

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

Line 55: <> ben_cpo_shd.g_old_rec.popl_org_id) then

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

Line 59: ben_cpo_shd.constraint_error('BEN_POPL_ORG_PK');

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

Line 69: ben_cpo_shd.constraint_error('BEN_POPL_ORG_PK');

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

Line 123: l_api_updating := ben_cpo_shd.api_updating

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

Line 130: <> nvl(ben_cpo_shd.g_old_rec.organization_id,hr_api.g_number)

126: p_object_version_number => p_object_version_number);
127: --
128: if (l_api_updating
129: and nvl(p_organization_id,hr_api.g_number)
130: <> nvl(ben_cpo_shd.g_old_rec.organization_id,hr_api.g_number)
131: or not l_api_updating) then
132: --
133: -- check if organization_id value exists in hr_all_organization_units table
134: --

Line 145: ben_cpo_shd.constraint_error('BEN_POPL_ORG_FK2');

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

Line 429: (p_rec in ben_cpo_shd.g_rec_type,

425: -- ----------------------------------------------------------------------------
426: -- |---------------------------< insert_validate >----------------------------|
427: -- ----------------------------------------------------------------------------
428: Procedure insert_validate
429: (p_rec in ben_cpo_shd.g_rec_type,
430: p_effective_date in date,
431: p_datetrack_mode in varchar2,
432: p_validation_start_date in date,
433: p_validation_end_date in date) is

Line 468: (p_rec in ben_cpo_shd.g_rec_type,

464: -- ----------------------------------------------------------------------------
465: -- |---------------------------< update_validate >----------------------------|
466: -- ----------------------------------------------------------------------------
467: Procedure update_validate
468: (p_rec in ben_cpo_shd.g_rec_type,
469: p_effective_date in date,
470: p_datetrack_mode in varchar2,
471: p_validation_start_date in date,
472: p_validation_end_date in date) is

Line 517: (p_rec in ben_cpo_shd.g_rec_type,

513: -- ----------------------------------------------------------------------------
514: -- |---------------------------< delete_validate >----------------------------|
515: -- ----------------------------------------------------------------------------
516: Procedure delete_validate
517: (p_rec in ben_cpo_shd.g_rec_type,
518: p_effective_date in date,
519: p_datetrack_mode in varchar2,
520: p_validation_start_date in date,
521: p_validation_end_date in date) is