DBA Data[Home] [Help]

APPS.AME_AXU_INS dependencies on AME_AXU_INS

Line 1: Package Body ame_axu_ins as

1: Package Body ame_axu_ins as
2: /* $Header: amaxurhi.pkb 120.3 2005/11/22 03:14 santosin noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ame_axu_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 28: ame_axu_ins.g_action_type_id_i := p_action_type_id;

24: --
25: Begin
26: hr_utility.set_location('Entering:'||l_proc, 10);
27: --
28: ame_axu_ins.g_action_type_id_i := p_action_type_id;
29: ame_axu_ins.g_rule_type_i := p_rule_type;
30: --
31: hr_utility.set_location(' Leaving:'||l_proc, 20);
32: End set_base_key_value;

Line 29: ame_axu_ins.g_rule_type_i := p_rule_type;

25: Begin
26: hr_utility.set_location('Entering:'||l_proc, 10);
27: --
28: ame_axu_ins.g_action_type_id_i := p_action_type_id;
29: ame_axu_ins.g_rule_type_i := p_rule_type;
30: --
31: hr_utility.set_location(' Leaving:'||l_proc, 20);
32: End set_base_key_value;
33: --

Line 255: ame_axu_ins.dt_insert_dml

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

Line 319: ame_axu_ins.g_action_type_id_i

315: Cursor C_Sel2 is
316: Select null
317: from ame_action_type_usages
318: where action_type_id =
319: ame_axu_ins.g_action_type_id_i
320: and rule_type =
321: ame_axu_ins.g_rule_type_i;
322: --
323: l_proc varchar2(72) := g_package||'pre_insert';

Line 321: ame_axu_ins.g_rule_type_i;

317: from ame_action_type_usages
318: where action_type_id =
319: ame_axu_ins.g_action_type_id_i
320: and rule_type =
321: ame_axu_ins.g_rule_type_i;
322: --
323: l_proc varchar2(72) := g_package||'pre_insert';
324: l_exists varchar2(1);
325: --

Line 329: If (ame_axu_ins.g_action_type_id_i is not null or

325: --
326: Begin
327: hr_utility.set_location('Entering:'||l_proc, 5);
328: --
329: If (ame_axu_ins.g_action_type_id_i is not null or
330: ame_axu_ins.g_rule_type_i is not null) Then
331: --
332: -- Verify registered primary key values not already in use
333: --

Line 330: ame_axu_ins.g_rule_type_i is not null) Then

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

Line 350: ame_axu_ins.g_action_type_id_i;

346: --
347: -- Use registered key values and clear globals
348: --
349: p_rec.action_type_id :=
350: ame_axu_ins.g_action_type_id_i;
351: ame_axu_ins.g_action_type_id_i := null;
352: p_rec.rule_type :=
353: ame_axu_ins.g_rule_type_i;
354: ame_axu_ins.g_rule_type_i := null;

Line 351: ame_axu_ins.g_action_type_id_i := null;

347: -- Use registered key values and clear globals
348: --
349: p_rec.action_type_id :=
350: ame_axu_ins.g_action_type_id_i;
351: ame_axu_ins.g_action_type_id_i := null;
352: p_rec.rule_type :=
353: ame_axu_ins.g_rule_type_i;
354: ame_axu_ins.g_rule_type_i := null;
355: End If;

Line 353: ame_axu_ins.g_rule_type_i;

349: p_rec.action_type_id :=
350: ame_axu_ins.g_action_type_id_i;
351: ame_axu_ins.g_action_type_id_i := null;
352: p_rec.rule_type :=
353: ame_axu_ins.g_rule_type_i;
354: ame_axu_ins.g_rule_type_i := null;
355: End If;
356: --
357: -- No registerd key values, so select the next sequence number

Line 354: ame_axu_ins.g_rule_type_i := null;

350: ame_axu_ins.g_action_type_id_i;
351: ame_axu_ins.g_action_type_id_i := null;
352: p_rec.rule_type :=
353: ame_axu_ins.g_rule_type_i;
354: ame_axu_ins.g_rule_type_i := null;
355: End If;
356: --
357: -- No registerd key values, so select the next sequence number
358: --

Line 539: ame_axu_ins.ins_lck

535: hr_utility.set_location('Entering:'||l_proc, 5);
536: --
537: -- Call the lock operation
538: --
539: ame_axu_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_axu_ins.pre_insert

558: hr_multi_message.end_validation_set;
559: --
560: -- Call the supporting pre-insert operation
561: --
562: ame_axu_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_axu_ins.insert_dml

568: );
569: --
570: -- Insert the row
571: --
572: ame_axu_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_axu_ins.post_insert

578: );
579: --
580: -- Call the supporting post-insert operation
581: --
582: ame_axu_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 632: ame_axu_ins.ins

628: -- Having converted the arguments into the ame_axu_rec
629: -- plsql record structure we call the corresponding record
630: -- business process.
631: --
632: ame_axu_ins.ins
633: (p_effective_date
634: ,l_rec
635: );
636: --

Line 651: end ame_axu_ins;

647: --
648: hr_utility.set_location(' Leaving:'||l_proc, 10);
649: End ins;
650: --
651: end ame_axu_ins;