DBA Data[Home] [Help]

APPS.GHR_CAH_INS dependencies on GHR_CAH_INS

Line 1: Package Body ghr_cah_ins as

1: Package Body ghr_cah_ins as
2: /* $Header: ghcahrhi.pkb 115.1 2003/01/30 19:24:56 asubrahm noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ghr_cah_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: ghr_cah_ins.g_compl_ca_header_id_i := p_compl_ca_header_id;

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

Line 211: ghr_cah_ins.g_compl_ca_header_id_i;

207: Cursor C_Sel2 is
208: Select null
209: from ghr_compl_ca_headers
210: where compl_ca_header_id =
211: ghr_cah_ins.g_compl_ca_header_id_i;
212: --
213: l_proc varchar2(72) := g_package||'pre_insert';
214: l_exists varchar2(1);
215: --

Line 219: If (ghr_cah_ins.g_compl_ca_header_id_i is not null) Then

215: --
216: Begin
217: hr_utility.set_location('Entering:'||l_proc, 5);
218: --
219: If (ghr_cah_ins.g_compl_ca_header_id_i is not null) Then
220: --
221: -- Verify registered primary key values not already in use
222: --
223: Open C_Sel2;

Line 239: ghr_cah_ins.g_compl_ca_header_id_i;

235: --
236: -- Use registered key values and clear globals
237: --
238: p_rec.compl_ca_header_id :=
239: ghr_cah_ins.g_compl_ca_header_id_i;
240: ghr_cah_ins.g_compl_ca_header_id_i := null;
241: Else
242: --
243: -- No registerd key values, so select the next sequence number

Line 240: ghr_cah_ins.g_compl_ca_header_id_i := null;

236: -- Use registered key values and clear globals
237: --
238: p_rec.compl_ca_header_id :=
239: ghr_cah_ins.g_compl_ca_header_id_i;
240: ghr_cah_ins.g_compl_ca_header_id_i := null;
241: Else
242: --
243: -- No registerd key values, so select the next sequence number
244: --

Line 361: ghr_cah_ins.pre_insert(p_rec);

357: );
358: --
359: -- Call the supporting pre-insert operation
360: --
361: ghr_cah_ins.pre_insert(p_rec);
362: --
363: -- Insert the row
364: --
365: ghr_cah_ins.insert_dml(p_rec);

Line 365: ghr_cah_ins.insert_dml(p_rec);

361: ghr_cah_ins.pre_insert(p_rec);
362: --
363: -- Insert the row
364: --
365: ghr_cah_ins.insert_dml(p_rec);
366: --
367: -- Call the supporting post-insert operation
368: --
369: ghr_cah_ins.post_insert

Line 369: ghr_cah_ins.post_insert

365: ghr_cah_ins.insert_dml(p_rec);
366: --
367: -- Call the supporting post-insert operation
368: --
369: ghr_cah_ins.post_insert
370: (p_effective_date
371: ,p_rec
372: );
373: --

Line 446: ghr_cah_ins.ins

442: --
443: -- Having converted the arguments into the ghr_cah_rec
444: -- plsql record structure we call the corresponding record business process.
445: --
446: ghr_cah_ins.ins
447: (p_effective_date
448: ,l_rec
449: );
450: --

Line 460: end ghr_cah_ins;

456: --
457: hr_utility.set_location(' Leaving:'||l_proc, 10);
458: End ins;
459: --
460: end ghr_cah_ins;