DBA Data[Home] [Help]

APPS.GHR_CPL_INS dependencies on GHR_CPL_INS

Line 1: Package Body ghr_cpl_ins as

1: Package Body ghr_cpl_ins as
2: /* $Header: ghcplrhi.pkb 115.1 2003/01/30 19:25:27 asubrahm noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ghr_cpl_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_cpl_ins.g_compl_person_id_i := p_compl_person_id;

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

Line 179: ghr_cpl_ins.g_compl_person_id_i;

175: Cursor C_Sel2 is
176: Select null
177: from ghr_compl_people
178: where compl_person_id =
179: ghr_cpl_ins.g_compl_person_id_i;
180: --
181: l_proc varchar2(72) := g_package||'pre_insert';
182: l_exists varchar2(1);
183: --

Line 187: If (ghr_cpl_ins.g_compl_person_id_i is not null) Then

183: --
184: Begin
185: hr_utility.set_location('Entering:'||l_proc, 5);
186: --
187: If (ghr_cpl_ins.g_compl_person_id_i is not null) Then
188: --
189: -- Verify registered primary key values not already in use
190: --
191: Open C_Sel2;

Line 207: ghr_cpl_ins.g_compl_person_id_i;

203: --
204: -- Use registered key values and clear globals
205: --
206: p_rec.compl_person_id :=
207: ghr_cpl_ins.g_compl_person_id_i;
208: ghr_cpl_ins.g_compl_person_id_i := null;
209: Else
210: --
211: -- No registerd key values, so select the next sequence number

Line 208: ghr_cpl_ins.g_compl_person_id_i := null;

204: -- Use registered key values and clear globals
205: --
206: p_rec.compl_person_id :=
207: ghr_cpl_ins.g_compl_person_id_i;
208: ghr_cpl_ins.g_compl_person_id_i := null;
209: Else
210: --
211: -- No registerd key values, so select the next sequence number
212: --

Line 313: ghr_cpl_ins.pre_insert(p_rec);

309: );
310: --
311: -- Call the supporting pre-insert operation
312: --
313: ghr_cpl_ins.pre_insert(p_rec);
314: --
315: -- Insert the row
316: --
317: ghr_cpl_ins.insert_dml(p_rec);

Line 317: ghr_cpl_ins.insert_dml(p_rec);

313: ghr_cpl_ins.pre_insert(p_rec);
314: --
315: -- Insert the row
316: --
317: ghr_cpl_ins.insert_dml(p_rec);
318: --
319: -- Call the supporting post-insert operation
320: --
321: ghr_cpl_ins.post_insert

Line 321: ghr_cpl_ins.post_insert

317: ghr_cpl_ins.insert_dml(p_rec);
318: --
319: -- Call the supporting post-insert operation
320: --
321: ghr_cpl_ins.post_insert
322: (p_effective_date
323: ,p_rec
324: );
325: --

Line 366: ghr_cpl_ins.ins

362: --
363: -- Having converted the arguments into the ghr_cpl_rec
364: -- plsql record structure we call the corresponding record business process.
365: --
366: ghr_cpl_ins.ins
367: (p_effective_date
368: ,l_rec
369: );
370: --

Line 380: end ghr_cpl_ins;

376: --
377: hr_utility.set_location(' Leaving:'||l_proc, 10);
378: End ins;
379: --
380: end ghr_cpl_ins;