DBA Data[Home] [Help]

APPS.OTA_CRE_INS dependencies on OTA_CRE_INS

Line 1: Package Body ota_cre_ins as

1: Package Body ota_cre_ins as
2: /* $Header: otcrerhi.pkb 120.8.12020000.2 2012/11/20 15:08:35 shwnayak ship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_cre_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_cre_ins.g_cert_enrollment_id_i := p_cert_enrollment_id;

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

Line 235: ota_cre_ins.g_cert_enrollment_id_i;

231: Cursor C_Sel2 is
232: Select null
233: from ota_cert_enrollments
234: where cert_enrollment_id =
235: ota_cre_ins.g_cert_enrollment_id_i;
236: --
237: l_proc varchar2(72) := g_package||'pre_insert';
238: l_exists varchar2(1);
239: --

Line 243: If (ota_cre_ins.g_cert_enrollment_id_i is not null) Then

239: --
240: Begin
241: hr_utility.set_location('Entering:'||l_proc, 5);
242: --
243: If (ota_cre_ins.g_cert_enrollment_id_i is not null) Then
244: --
245: -- Verify registered primary key values not already in use
246: --
247: Open C_Sel2;

Line 263: ota_cre_ins.g_cert_enrollment_id_i;

259: --
260: -- Use registered key values and clear globals
261: --
262: p_rec.cert_enrollment_id :=
263: ota_cre_ins.g_cert_enrollment_id_i;
264: ota_cre_ins.g_cert_enrollment_id_i := null;
265: Else
266: --
267: -- No registerd key values, so select the next sequence number

Line 264: ota_cre_ins.g_cert_enrollment_id_i := null;

260: -- Use registered key values and clear globals
261: --
262: p_rec.cert_enrollment_id :=
263: ota_cre_ins.g_cert_enrollment_id_i;
264: ota_cre_ins.g_cert_enrollment_id_i := null;
265: Else
266: --
267: -- No registerd key values, so select the next sequence number
268: --

Line 433: ota_cre_ins.pre_insert(p_rec);

429: hr_multi_message.end_validation_set;
430: --
431: -- Call the supporting pre-insert operation
432: --
433: ota_cre_ins.pre_insert(p_rec);
434: --
435: -- Insert the row
436: --
437: ota_cre_ins.insert_dml(p_rec);

Line 437: ota_cre_ins.insert_dml(p_rec);

433: ota_cre_ins.pre_insert(p_rec);
434: --
435: -- Insert the row
436: --
437: ota_cre_ins.insert_dml(p_rec);
438: --
439: -- Call the supporting post-insert operation
440: --
441: ota_cre_ins.post_insert

Line 441: ota_cre_ins.post_insert

437: ota_cre_ins.insert_dml(p_rec);
438: --
439: -- Call the supporting post-insert operation
440: --
441: ota_cre_ins.post_insert
442: (p_effective_date
443: ,p_rec
444: );
445: --

Line 545: ota_cre_ins.ins

541: --
542: -- Having converted the arguments into the ota_cre_rec
543: -- plsql record structure we call the corresponding record business process.
544: --
545: ota_cre_ins.ins
546: (p_effective_date
547: ,l_rec
548: );
549: --

Line 559: end ota_cre_ins;

555: --
556: hr_utility.set_location(' Leaving:'||l_proc, 10);
557: End ins;
558: --
559: end ota_cre_ins;