DBA Data[Home] [Help]

APPS.AME_APG_INS dependencies on AME_APG_INS

Line 1: Package Body ame_apg_ins as

1: Package Body ame_apg_ins as
2: /* $Header: amapgrhi.pkb 120.6 2006/10/05 16:02:47 pvelugul noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ame_apg_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: ame_apg_ins.g_approval_group_id_i := p_approval_group_id;

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

Line 256: ame_apg_ins.dt_insert_dml

252: --
253: Begin
254: hr_utility.set_location('Entering:'||l_proc, 5);
255: --
256: ame_apg_ins.dt_insert_dml
257: (p_rec => p_rec
258: ,p_effective_date => p_effective_date
259: ,p_datetrack_mode => p_datetrack_mode
260: ,p_validation_start_date => p_validation_start_date

Line 320: ame_apg_ins.g_approval_group_id_i

316: Cursor C_Sel2 is
317: Select null
318: from ame_approval_groups
319: where approval_group_id =
320: ame_apg_ins.g_approval_group_id_i
321: and p_effective_date between start_date
322: and nvl(end_date - ame_util.oneSecond , p_effective_date);
323: --
324: l_proc varchar2(72) := g_package||'pre_insert';

Line 330: If (ame_apg_ins.g_approval_group_id_i is not null) Then

326: --
327: Begin
328: hr_utility.set_location('Entering:'||l_proc, 5);
329: --
330: If (ame_apg_ins.g_approval_group_id_i is not null) Then
331: --
332: -- Verify registered primary key values not already in use
333: --
334: Open C_Sel2;

Line 350: ame_apg_ins.g_approval_group_id_i;

346: --
347: -- Use registered key values and clear globals
348: --
349: p_rec.approval_group_id :=
350: ame_apg_ins.g_approval_group_id_i;
351: ame_apg_ins.g_approval_group_id_i := null;
352: Else
353: --
354: -- No registerd key values, so select the next sequence number

Line 351: ame_apg_ins.g_approval_group_id_i := null;

347: -- Use registered key values and clear globals
348: --
349: p_rec.approval_group_id :=
350: ame_apg_ins.g_approval_group_id_i;
351: ame_apg_ins.g_approval_group_id_i := null;
352: Else
353: --
354: -- No registerd key values, so select the next sequence number
355: --

Line 539: ame_apg_ins.ins_lck

535: hr_utility.set_location('Entering:'||l_proc, 5);
536: --
537: -- Call the lock operation
538: --
539: ame_apg_ins.ins_lck
540: (p_effective_date => p_effective_date
541: ,p_datetrack_mode => l_datetrack_mode
542: ,p_rec => p_rec
543: ,p_validation_start_date => l_validation_start_date

Line 562: ame_apg_ins.pre_insert

558: hr_multi_message.end_validation_set;
559: --
560: -- Call the supporting pre-insert operation
561: --
562: ame_apg_ins.pre_insert
563: (p_rec => p_rec
564: ,p_effective_date => p_effective_date
565: ,p_datetrack_mode => l_datetrack_mode
566: ,p_validation_start_date => l_validation_start_date

Line 572: ame_apg_ins.insert_dml

568: );
569: --
570: -- Insert the row
571: --
572: ame_apg_ins.insert_dml
573: (p_rec => p_rec
574: ,p_effective_date => p_effective_date
575: ,p_datetrack_mode => l_datetrack_mode
576: ,p_validation_start_date => l_validation_start_date

Line 582: ame_apg_ins.post_insert

578: );
579: --
580: -- Call the supporting post-insert operation
581: --
582: ame_apg_ins.post_insert
583: (p_rec => p_rec
584: ,p_effective_date => p_effective_date
585: ,p_datetrack_mode => l_datetrack_mode
586: ,p_validation_start_date => l_validation_start_date

Line 638: ame_apg_ins.ins

634: -- Having converted the arguments into the ame_apg_rec
635: -- plsql record structure we call the corresponding record
636: -- business process.
637: --
638: ame_apg_ins.ins
639: (p_effective_date
640: ,l_rec
641: );
642: --

Line 654: end ame_apg_ins;

650: --
651: hr_utility.set_location(' Leaving:'||l_proc, 10);
652: End ins;
653: --
654: end ame_apg_ins;