78: --
79: hr_utility.set_location(' Leaving:'||l_proc, 10);
80: --
81: Exception
82: When hr_api.check_integrity_violated Then
83: -- A check constraint has been violated
84: --
85: irc_aps_shd.constraint_error
86: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
82: When hr_api.check_integrity_violated Then
83: -- A check constraint has been violated
84: --
85: irc_aps_shd.constraint_error
86: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
87: When hr_api.parent_integrity_violated Then
88: -- Parent integrity has been violated
89: --
90: irc_aps_shd.constraint_error
83: -- A check constraint has been violated
84: --
85: irc_aps_shd.constraint_error
86: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
87: When hr_api.parent_integrity_violated Then
88: -- Parent integrity has been violated
89: --
90: irc_aps_shd.constraint_error
91: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
87: When hr_api.parent_integrity_violated Then
88: -- Parent integrity has been violated
89: --
90: irc_aps_shd.constraint_error
91: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
92: When hr_api.unique_integrity_violated Then
93: -- Unique integrity has been violated
94: --
95: irc_aps_shd.constraint_error
88: -- Parent integrity has been violated
89: --
90: irc_aps_shd.constraint_error
91: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
92: When hr_api.unique_integrity_violated Then
93: -- Unique integrity has been violated
94: --
95: irc_aps_shd.constraint_error
96: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
92: When hr_api.unique_integrity_violated Then
93: -- Unique integrity has been violated
94: --
95: irc_aps_shd.constraint_error
96: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
97: When Others Then
98: --
99: Raise;
100: End update_dml;
201: );
202: --
203: exception
204: --
205: when hr_api.cannot_find_prog_unit then
206: --
207: hr_api.cannot_find_prog_unit_error
208: (p_module_name => 'IRC_APL_PROFILE_SNAPSHOTS'
209: ,p_hook_type => 'AU');
203: exception
204: --
205: when hr_api.cannot_find_prog_unit then
206: --
207: hr_api.cannot_find_prog_unit_error
208: (p_module_name => 'IRC_APL_PROFILE_SNAPSHOTS'
209: ,p_hook_type => 'AU');
210: --
211: end;
266: -- p_rec plsql record structure
267: -- to see if a system default is being used. If a system default
268: -- is being used then we must set to the 'current' argument value.
269: --
270: If (p_rec.person_id = hr_api.g_number) then
271: p_rec.person_id :=
272: irc_aps_shd.g_old_rec.person_id;
273: End If;
274: --
334: Procedure upd
335: (p_effective_date in date
336: ,p_profile_snapshot_id in number
337: ,p_object_version_number in out nocopy number
338: ,p_person_id in number default hr_api.g_number
339: ) is
340: --
341: l_rec irc_aps_shd.g_rec_type;
342: l_proc varchar2(72) := g_package||'upd';