DBA Data[Home] [Help]

APPS.BEN_EOU_BUS dependencies on BEN_EOU_SHD

Line 48: l_api_updating := ben_eou_shd.api_updating

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

Line 55: <> ben_eou_shd.g_old_rec.elig_org_unit_prte_id) then

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

Line 59: ben_eou_shd.constraint_error('BEN_ELIG_ORG_UNIT_PK');

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

Line 69: ben_eou_shd.constraint_error('BEN_ELIG_ORG_UNIT_PK');

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

Line 117: l_api_updating := ben_eou_shd.api_updating

113: Begin
114: --
115: hr_utility.set_location('Entering:'||l_proc, 5);
116: --
117: l_api_updating := ben_eou_shd.api_updating
118: (p_elig_org_unit_prte_id => p_elig_org_unit_prte_id,
119: p_effective_date => p_effective_date,
120: p_object_version_number => p_object_version_number);
121: --

Line 124: <> nvl(ben_eou_shd.g_old_rec.excld_flag,hr_api.g_varchar2)

120: p_object_version_number => p_object_version_number);
121: --
122: if (l_api_updating
123: and p_excld_flag
124: <> nvl(ben_eou_shd.g_old_rec.excld_flag,hr_api.g_varchar2)
125: or not l_api_updating) then
126: --
127: -- check if value of lookup falls within lookup type.
128: --

Line 214: l_api_updating := ben_eou_shd.api_updating

210: Begin
211: --
212: hr_utility.set_location('Entering:'||l_proc,5);
213: --
214: l_api_updating := ben_eou_shd.api_updating
215: (p_elig_org_unit_prte_id => p_elig_org_unit_prte_id,
216: p_effective_date => p_effective_date,
217: p_object_version_number => p_object_version_number);
218: --

Line 221: <> nvl(ben_eou_shd.g_old_rec.organization_id,hr_api.g_number)

217: p_object_version_number => p_object_version_number);
218: --
219: if (l_api_updating
220: and nvl(p_organization_id,hr_api.g_number)
221: <> nvl(ben_eou_shd.g_old_rec.organization_id,hr_api.g_number)
222: or not l_api_updating) then
223: --
224: -- check if organization_id value exists in hr_organization_units table
225: --

Line 236: ben_eou_shd.constraint_error('BEN_ELIG_ORG_UNIT_FK1');

232: --
233: -- raise error as FK does not relate to PK in per_organizations
234: -- table.
235: --
236: ben_eou_shd.constraint_error('BEN_ELIG_ORG_UNIT_FK1');
237: --
238: end if;
239: --
240: close c1;

Line 528: (p_rec in ben_eou_shd.g_rec_type,

524: -- ----------------------------------------------------------------------------
525: -- |---------------------------< insert_validate >----------------------------|
526: -- ----------------------------------------------------------------------------
527: Procedure insert_validate
528: (p_rec in ben_eou_shd.g_rec_type,
529: p_effective_date in date,
530: p_datetrack_mode in varchar2,
531: p_validation_start_date in date,
532: p_validation_end_date in date) is

Line 577: (p_rec in ben_eou_shd.g_rec_type,

573: -- ----------------------------------------------------------------------------
574: -- |---------------------------< update_validate >----------------------------|
575: -- ----------------------------------------------------------------------------
576: Procedure update_validate
577: (p_rec in ben_eou_shd.g_rec_type,
578: p_effective_date in date,
579: p_datetrack_mode in varchar2,
580: p_validation_start_date in date,
581: p_validation_end_date in date) is

Line 634: (p_rec in ben_eou_shd.g_rec_type,

630: -- ----------------------------------------------------------------------------
631: -- |---------------------------< delete_validate >----------------------------|
632: -- ----------------------------------------------------------------------------
633: Procedure delete_validate
634: (p_rec in ben_eou_shd.g_rec_type,
635: p_effective_date in date,
636: p_datetrack_mode in varchar2,
637: p_validation_start_date in date,
638: p_validation_end_date in date) is