DBA Data[Home] [Help]

APPS.IRC_INO_INS dependencies on IRC_INO_INS

Line 1: Package Body irc_ino_ins as

1: Package Body irc_ino_ins as
2: /* $Header: irinorhi.pkb 120.1 2005/10/04 06:25:18 kthavran noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

Line 8: g_package varchar2(33) := ' irc_ino_ins.'; -- Global package name

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' irc_ino_ins.'; -- Global package name
9: --
10: -- The following global variables are only to be used by
11: -- the set_base_key_value and pre_insert procedures.
12: --

Line 26: irc_ino_ins.g_note_id_i := p_note_id;

22: --
23: Begin
24: hr_utility.set_location('Entering:'||l_proc, 10);
25: --
26: irc_ino_ins.g_note_id_i := p_note_id;
27: --
28: hr_utility.set_location(' Leaving:'||l_proc, 20);
29: End set_base_key_value;
30: --

Line 182: irc_ino_ins.g_note_id_i;

178: Cursor C_Sel2 is
179: Select null
180: from irc_notes
181: where note_id =
182: irc_ino_ins.g_note_id_i;
183: --
184: l_proc varchar2(72) := g_package||'pre_insert';
185: l_exists varchar2(1);
186: --

Line 190: If (irc_ino_ins.g_note_id_i is not null) Then

186: --
187: Begin
188: hr_utility.set_location('Entering:'||l_proc, 5);
189: --
190: If (irc_ino_ins.g_note_id_i is not null) Then
191: --
192: -- Verify registered primary key values not already in use
193: --
194: Open C_Sel2;

Line 210: irc_ino_ins.g_note_id_i;

206: --
207: -- Use registered key values and clear globals
208: --
209: p_rec.note_id :=
210: irc_ino_ins.g_note_id_i;
211: irc_ino_ins.g_note_id_i := null;
212: Else
213: --
214: -- No registerd key values, so select the next sequence number

Line 211: irc_ino_ins.g_note_id_i := null;

207: -- Use registered key values and clear globals
208: --
209: p_rec.note_id :=
210: irc_ino_ins.g_note_id_i;
211: irc_ino_ins.g_note_id_i := null;
212: Else
213: --
214: -- No registerd key values, so select the next sequence number
215: --

Line 316: irc_ino_ins.pre_insert(p_rec);

312: hr_multi_message.end_validation_set;
313: --
314: -- Call the supporting pre-insert operation
315: --
316: irc_ino_ins.pre_insert(p_rec);
317: --
318: -- Insert the row
319: --
320: irc_ino_ins.insert_dml(p_rec);

Line 320: irc_ino_ins.insert_dml(p_rec);

316: irc_ino_ins.pre_insert(p_rec);
317: --
318: -- Insert the row
319: --
320: irc_ino_ins.insert_dml(p_rec);
321: --
322: -- Call the supporting post-insert operation
323: --
324: irc_ino_ins.post_insert

Line 324: irc_ino_ins.post_insert

320: irc_ino_ins.insert_dml(p_rec);
321: --
322: -- Call the supporting post-insert operation
323: --
324: irc_ino_ins.post_insert
325: (p_rec
326: );
327: --
328: -- Call to raise any errors on multi-message list

Line 364: irc_ino_ins.ins

360: --
361: -- Having converted the arguments into the irc_ino_rec
362: -- plsql record structure we call the corresponding record business process.
363: --
364: irc_ino_ins.ins
365: (l_rec
366: );
367: --
368: -- As the primary key argument(s)

Line 377: end irc_ino_ins;

373: --
374: hr_utility.set_location(' Leaving:'||l_proc, 10);
375: End ins;
376: --
377: end irc_ino_ins;