DBA Data[Home] [Help]

APPS.OTA_CPE_INS dependencies on OTA_CPE_INS

Line 1: Package Body ota_cpe_ins as

1: Package Body ota_cpe_ins as
2: /* $Header: otcperhi.pkb 120.3 2005/12/01 15:24 cmora noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_cpe_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_cpe_ins.g_cert_prd_enrollment_id_i := p_cert_prd_enrollment_id;

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

Line 225: ota_cpe_ins.g_cert_prd_enrollment_id_i;

221: Cursor C_Sel2 is
222: Select null
223: from ota_cert_prd_enrollments
224: where cert_prd_enrollment_id =
225: ota_cpe_ins.g_cert_prd_enrollment_id_i;
226: --
227: l_proc varchar2(72) := g_package||'pre_insert';
228: l_exists varchar2(1);
229: --

Line 233: If (ota_cpe_ins.g_cert_prd_enrollment_id_i is not null) Then

229: --
230: Begin
231: hr_utility.set_location('Entering:'||l_proc, 5);
232: --
233: If (ota_cpe_ins.g_cert_prd_enrollment_id_i is not null) Then
234: --
235: -- Verify registered primary key values not already in use
236: --
237: Open C_Sel2;

Line 253: ota_cpe_ins.g_cert_prd_enrollment_id_i;

249: --
250: -- Use registered key values and clear globals
251: --
252: p_rec.cert_prd_enrollment_id :=
253: ota_cpe_ins.g_cert_prd_enrollment_id_i;
254: ota_cpe_ins.g_cert_prd_enrollment_id_i := null;
255: Else
256: --
257: -- No registerd key values, so select the next sequence number

Line 254: ota_cpe_ins.g_cert_prd_enrollment_id_i := null;

250: -- Use registered key values and clear globals
251: --
252: p_rec.cert_prd_enrollment_id :=
253: ota_cpe_ins.g_cert_prd_enrollment_id_i;
254: ota_cpe_ins.g_cert_prd_enrollment_id_i := null;
255: Else
256: --
257: -- No registerd key values, so select the next sequence number
258: --

Line 415: ota_cpe_ins.pre_insert(p_rec);

411: hr_multi_message.end_validation_set;
412: --
413: -- Call the supporting pre-insert operation
414: --
415: ota_cpe_ins.pre_insert(p_rec);
416: --
417: -- Insert the row
418: --
419: ota_cpe_ins.insert_dml(p_rec);

Line 419: ota_cpe_ins.insert_dml(p_rec);

415: ota_cpe_ins.pre_insert(p_rec);
416: --
417: -- Insert the row
418: --
419: ota_cpe_ins.insert_dml(p_rec);
420: --
421: -- Call the supporting post-insert operation
422: --
423: ota_cpe_ins.post_insert

Line 423: ota_cpe_ins.post_insert

419: ota_cpe_ins.insert_dml(p_rec);
420: --
421: -- Call the supporting post-insert operation
422: --
423: ota_cpe_ins.post_insert
424: (p_effective_date
425: ,p_rec
426: );
427: --

Line 517: ota_cpe_ins.ins

513: --
514: -- Having converted the arguments into the ota_cpe_rec
515: -- plsql record structure we call the corresponding record business process.
516: --
517: ota_cpe_ins.ins
518: (p_effective_date
519: ,l_rec
520: );
521: --

Line 531: end ota_cpe_ins;

527: --
528: hr_utility.set_location(' Leaving:'||l_proc, 10);
529: End ins;
530: --
531: end ota_cpe_ins;