DBA Data[Home] [Help]

APPS.IRC_IAV_INS dependencies on IRC_IAV_INS

Line 1: Package Body irc_iav_ins as

1: Package Body irc_iav_ins as
2: /* $Header: iriavrhi.pkb 120.1 2005/12/22 21:07:08 gganesan noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' irc_iav_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_iav_ins.g_agency_vacancy_id_i := p_agency_vacancy_id;

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

Line 243: irc_iav_ins.g_agency_vacancy_id_i;

239: Cursor C_Sel2 is
240: Select null
241: from irc_agency_vacancies
242: where agency_vacancy_id =
243: irc_iav_ins.g_agency_vacancy_id_i;
244: --
245: l_proc varchar2(72) := g_package||'pre_insert';
246: l_exists varchar2(1);
247: --

Line 251: If (irc_iav_ins.g_agency_vacancy_id_i is not null) Then

247: --
248: Begin
249: hr_utility.set_location('Entering:'||l_proc, 5);
250: --
251: If (irc_iav_ins.g_agency_vacancy_id_i is not null) Then
252: --
253: -- Verify registered primary key values not already in use
254: --
255: Open C_Sel2;

Line 271: irc_iav_ins.g_agency_vacancy_id_i;

267: --
268: -- Use registered key values and clear globals
269: --
270: p_rec.agency_vacancy_id :=
271: irc_iav_ins.g_agency_vacancy_id_i;
272: irc_iav_ins.g_agency_vacancy_id_i := null;
273: Else
274: --
275: -- No registerd key values, so select the next sequence number

Line 272: irc_iav_ins.g_agency_vacancy_id_i := null;

268: -- Use registered key values and clear globals
269: --
270: p_rec.agency_vacancy_id :=
271: irc_iav_ins.g_agency_vacancy_id_i;
272: irc_iav_ins.g_agency_vacancy_id_i := null;
273: Else
274: --
275: -- No registerd key values, so select the next sequence number
276: --

Line 447: irc_iav_ins.pre_insert(p_rec);

443: hr_multi_message.end_validation_set;
444: --
445: -- Call the supporting pre-insert operation
446: --
447: irc_iav_ins.pre_insert(p_rec);
448: --
449: -- Insert the row
450: --
451: irc_iav_ins.insert_dml(p_rec);

Line 451: irc_iav_ins.insert_dml(p_rec);

447: irc_iav_ins.pre_insert(p_rec);
448: --
449: -- Insert the row
450: --
451: irc_iav_ins.insert_dml(p_rec);
452: --
453: -- Call the supporting post-insert operation
454: --
455: irc_iav_ins.post_insert

Line 455: irc_iav_ins.post_insert

451: irc_iav_ins.insert_dml(p_rec);
452: --
453: -- Call the supporting post-insert operation
454: --
455: irc_iav_ins.post_insert
456: (p_rec
457: );
458: --
459: -- Call to raise any errors on multi-message list

Line 565: irc_iav_ins.ins

561: --
562: -- Having converted the arguments into the irc_iav_rec
563: -- plsql record structure we call the corresponding record business process.
564: --
565: irc_iav_ins.ins
566: (l_rec
567: );
568: --
569: -- As the primary key argument(s)

Line 578: end irc_iav_ins;

574: --
575: hr_utility.set_location(' Leaving:'||l_proc, 10);
576: End ins;
577: --
578: end irc_iav_ins;