DBA Data[Home] [Help]

APPS.PER_PAT_INS dependencies on PER_PAT_INS

Line 1: Package Body per_pat_ins as

1: Package Body per_pat_ins as
2: /* $Header: pepatrhi.pkb 120.6 2012/01/10 10:39:57 srannama ship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' per_pat_ins.'; -- Global package name
9: g_debug boolean := hr_utility.debug_enabled;
10: --
11: -- The following global variables are only to be used by
12: -- the set_base_key_value and pre_insert procedures.

Line 27: per_pat_ins.g_allocated_task_id_i := p_allocated_task_id;

23: --
24: Begin
25: hr_utility.set_location('Entering:'||l_proc, 10);
26: --
27: per_pat_ins.g_allocated_task_id_i := p_allocated_task_id;
28: --
29: hr_utility.set_location(' Leaving:'||l_proc, 20);
30: End set_base_key_value;
31: --

Line 282: per_pat_ins.g_allocated_task_id_i;

278: Cursor C_Sel2 is
279: Select null
280: from per_allocated_tasks
281: where allocated_task_id =
282: per_pat_ins.g_allocated_task_id_i;
283: --
284: l_proc varchar2(72) := g_package||'pre_insert';
285: l_exists varchar2(1);
286: --

Line 290: If (per_pat_ins.g_allocated_task_id_i is not null) Then

286: --
287: Begin
288: hr_utility.set_location('Entering:'||l_proc, 5);
289: --
290: If (per_pat_ins.g_allocated_task_id_i is not null) Then
291: --
292: -- Verify registered primary key values not already in use
293: --
294: Open C_Sel2;

Line 310: per_pat_ins.g_allocated_task_id_i;

306: --
307: -- Use registered key values and clear globals
308: --
309: p_rec.allocated_task_id :=
310: per_pat_ins.g_allocated_task_id_i;
311: per_pat_ins.g_allocated_task_id_i := null;
312: Else
313: --
314: -- No registerd key values, so select the next sequence number

Line 311: per_pat_ins.g_allocated_task_id_i := null;

307: -- Use registered key values and clear globals
308: --
309: p_rec.allocated_task_id :=
310: per_pat_ins.g_allocated_task_id_i;
311: per_pat_ins.g_allocated_task_id_i := null;
312: Else
313: --
314: -- No registerd key values, so select the next sequence number
315: --

Line 528: per_pat_ins.pre_insert(p_rec);

524: hr_multi_message.end_validation_set;
525: --
526: -- Call the supporting pre-insert operation
527: --
528: per_pat_ins.pre_insert(p_rec);
529: --
530: -- Insert the row
531: --
532: per_pat_ins.insert_dml(p_rec);

Line 532: per_pat_ins.insert_dml(p_rec);

528: per_pat_ins.pre_insert(p_rec);
529: --
530: -- Insert the row
531: --
532: per_pat_ins.insert_dml(p_rec);
533: --
534: -- Call the supporting post-insert operation
535: --
536: per_pat_ins.post_insert

Line 536: per_pat_ins.post_insert

532: per_pat_ins.insert_dml(p_rec);
533: --
534: -- Call the supporting post-insert operation
535: --
536: per_pat_ins.post_insert
537: (p_effective_date
538: ,p_rec
539: );
540: --

Line 686: per_pat_ins.ins

682: --
683: -- Having converted the arguments into the per_pat_rec
684: -- plsql record structure we call the corresponding record business process.
685: --
686: per_pat_ins.ins
687: (p_effective_date
688: ,l_rec
689: );
690: --

Line 700: end per_pat_ins;

696: --
697: hr_utility.set_location(' Leaving:'||l_proc, 10);
698: End ins;
699: --
700: end per_pat_ins;