92: --
93: hr_utility.set_location(' Leaving:'||l_proc, 10);
94: --
95: Exception
96: When hr_api.check_integrity_violated Then
97: -- A check constraint has been violated
98: irc_ino_shd.g_api_dml := false; -- Unset the api dml status
99: irc_ino_shd.constraint_error
100: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
96: When hr_api.check_integrity_violated Then
97: -- A check constraint has been violated
98: irc_ino_shd.g_api_dml := false; -- Unset the api dml status
99: irc_ino_shd.constraint_error
100: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
101: When hr_api.parent_integrity_violated Then
102: -- Parent integrity has been violated
103: irc_ino_shd.g_api_dml := false; -- Unset the api dml status
104: irc_ino_shd.constraint_error
97: -- A check constraint has been violated
98: irc_ino_shd.g_api_dml := false; -- Unset the api dml status
99: irc_ino_shd.constraint_error
100: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
101: When hr_api.parent_integrity_violated Then
102: -- Parent integrity has been violated
103: irc_ino_shd.g_api_dml := false; -- Unset the api dml status
104: irc_ino_shd.constraint_error
105: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
101: When hr_api.parent_integrity_violated Then
102: -- Parent integrity has been violated
103: irc_ino_shd.g_api_dml := false; -- Unset the api dml status
104: irc_ino_shd.constraint_error
105: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
106: When hr_api.unique_integrity_violated Then
107: -- Unique integrity has been violated
108: irc_ino_shd.g_api_dml := false; -- Unset the api dml status
109: irc_ino_shd.constraint_error
102: -- Parent integrity has been violated
103: irc_ino_shd.g_api_dml := false; -- Unset the api dml status
104: irc_ino_shd.constraint_error
105: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
106: When hr_api.unique_integrity_violated Then
107: -- Unique integrity has been violated
108: irc_ino_shd.g_api_dml := false; -- Unset the api dml status
109: irc_ino_shd.constraint_error
110: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
106: When hr_api.unique_integrity_violated Then
107: -- Unique integrity has been violated
108: irc_ino_shd.g_api_dml := false; -- Unset the api dml status
109: irc_ino_shd.constraint_error
110: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
111: When Others Then
112: irc_ino_shd.g_api_dml := false; -- Unset the api dml status
113: Raise;
114: End update_dml;
217: );
218: --
219: exception
220: --
221: when hr_api.cannot_find_prog_unit then
222: --
223: hr_api.cannot_find_prog_unit_error
224: (p_module_name => 'IRC_NOTES'
225: ,p_hook_type => 'AU');
219: exception
220: --
221: when hr_api.cannot_find_prog_unit then
222: --
223: hr_api.cannot_find_prog_unit_error
224: (p_module_name => 'IRC_NOTES'
225: ,p_hook_type => 'AU');
226: --
227: end;
282: -- p_rec plsql record structure
283: -- to see if a system default is being used. If a system default
284: -- is being used then we must set to the 'current' argument value.
285: --
286: If (p_rec.offer_status_history_id = hr_api.g_number) then
287: p_rec.offer_status_history_id :=
288: irc_ino_shd.g_old_rec.offer_status_history_id;
289: End If;
290: If (p_rec.note_text = hr_api.g_varchar2) then
286: If (p_rec.offer_status_history_id = hr_api.g_number) then
287: p_rec.offer_status_history_id :=
288: irc_ino_shd.g_old_rec.offer_status_history_id;
289: End If;
290: If (p_rec.note_text = hr_api.g_varchar2) then
291: p_rec.note_text :=
292: irc_ino_shd.g_old_rec.note_text;
293: g_note_text:=false;
294: Else
353: -- ----------------------------------------------------------------------------
354: Procedure upd
355: (p_note_id in number
356: ,p_object_version_number in out nocopy number
357: ,p_offer_status_history_id in number default hr_api.g_number
358: ,p_note_text in varchar2 default hr_api.g_varchar2
359: ) is
360: --
361: l_rec irc_ino_shd.g_rec_type;
354: Procedure upd
355: (p_note_id in number
356: ,p_object_version_number in out nocopy number
357: ,p_offer_status_history_id in number default hr_api.g_number
358: ,p_note_text in varchar2 default hr_api.g_varchar2
359: ) is
360: --
361: l_rec irc_ino_shd.g_rec_type;
362: l_proc varchar2(72) := g_package||'upd';