DBA Data[Home] [Help]

APPS.OTA_CRT_INS dependencies on OTA_CRT_INS

Line 1: Package Body ota_crt_ins as

1: Package Body ota_crt_ins as
2: /* $Header: otcrtrhi.pkb 120.14 2006/03/17 14:54 cmora noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_crt_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: ota_crt_ins.g_certification_id_i := p_certification_id;

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

Line 241: ota_crt_ins.g_certification_id_i;

237: Cursor C_Sel2 is
238: Select null
239: from ota_certifications_b
240: where certification_id =
241: ota_crt_ins.g_certification_id_i;
242: --
243: l_proc varchar2(72) := g_package||'pre_insert';
244: l_exists varchar2(1);
245: --

Line 249: If (ota_crt_ins.g_certification_id_i is not null) Then

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

Line 269: ota_crt_ins.g_certification_id_i;

265: --
266: -- Use registered key values and clear globals
267: --
268: p_rec.certification_id :=
269: ota_crt_ins.g_certification_id_i;
270: ota_crt_ins.g_certification_id_i := null;
271: Else
272: --
273: -- No registerd key values, so select the next sequence number

Line 270: ota_crt_ins.g_certification_id_i := null;

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

Line 447: ota_crt_ins.pre_insert(p_rec);

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

Line 451: ota_crt_ins.insert_dml(p_rec);

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

Line 455: ota_crt_ins.post_insert

451: ota_crt_ins.insert_dml(p_rec);
452: --
453: -- Call the supporting post-insert operation
454: --
455: ota_crt_ins.post_insert
456: (p_effective_date
457: ,p_rec
458: );
459: --

Line 565: ota_crt_ins.ins

561: --
562: -- Having converted the arguments into the ota_crt_rec
563: -- plsql record structure we call the corresponding record business process.
564: --
565: ota_crt_ins.ins
566: (p_effective_date
567: ,l_rec
568: );
569: --

Line 579: end ota_crt_ins;

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