DBA Data[Home] [Help]

APPS.AME_ATR_INS dependencies on AME_ATR_INS

Line 1: Package Body ame_atr_ins as

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

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

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ame_atr_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_atr_ins.g_attribute_id_i := p_attribute_id;

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

Line 260: ame_atr_ins.dt_insert_dml

256: --
257: Begin
258: hr_utility.set_location('Entering:'||l_proc, 5);
259: --
260: ame_atr_ins.dt_insert_dml
261: (p_rec => p_rec
262: ,p_effective_date => p_effective_date
263: ,p_datetrack_mode => p_datetrack_mode
264: ,p_validation_start_date => p_validation_start_date

Line 324: ame_atr_ins.g_attribute_id_i

320: Cursor C_Sel2 is
321: Select null
322: from ame_attributes
323: where attribute_id =
324: ame_atr_ins.g_attribute_id_i
325: and p_effective_date between start_date
326: and nvl(end_date - ame_util.oneSecond , p_effective_date);
327: --
328: l_proc varchar2(72) := g_package||'pre_insert';

Line 334: If (ame_atr_ins.g_attribute_id_i is not null) Then

330: --
331: Begin
332: hr_utility.set_location('Entering:'||l_proc, 5);
333: --
334: If (ame_atr_ins.g_attribute_id_i is not null) Then
335: --
336: -- Verify registered primary key values not already in use
337: --
338: Open C_Sel2;

Line 354: ame_atr_ins.g_attribute_id_i;

350: --
351: -- Use registered key values and clear globals
352: --
353: p_rec.attribute_id :=
354: ame_atr_ins.g_attribute_id_i;
355: ame_atr_ins.g_attribute_id_i := null;
356: Else
357: --
358: -- No registerd key values, so select the next sequence number

Line 355: ame_atr_ins.g_attribute_id_i := null;

351: -- Use registered key values and clear globals
352: --
353: p_rec.attribute_id :=
354: ame_atr_ins.g_attribute_id_i;
355: ame_atr_ins.g_attribute_id_i := null;
356: Else
357: --
358: -- No registerd key values, so select the next sequence number
359: --

Line 547: ame_atr_ins.ins_lck

543: hr_utility.set_location('Entering:'||l_proc, 5);
544: --
545: -- Call the lock operation
546: --
547: ame_atr_ins.ins_lck
548: (p_effective_date => p_effective_date
549: ,p_datetrack_mode => l_datetrack_mode
550: ,p_rec => p_rec
551: ,p_validation_start_date => l_validation_start_date

Line 570: ame_atr_ins.pre_insert

566: hr_multi_message.end_validation_set;
567: --
568: -- Call the supporting pre-insert operation
569: --
570: ame_atr_ins.pre_insert
571: (p_rec => p_rec
572: ,p_effective_date => p_effective_date
573: ,p_datetrack_mode => l_datetrack_mode
574: ,p_validation_start_date => l_validation_start_date

Line 580: ame_atr_ins.insert_dml

576: );
577: --
578: -- Insert the row
579: --
580: ame_atr_ins.insert_dml
581: (p_rec => p_rec
582: ,p_effective_date => p_effective_date
583: ,p_datetrack_mode => l_datetrack_mode
584: ,p_validation_start_date => l_validation_start_date

Line 590: ame_atr_ins.post_insert

586: );
587: --
588: -- Call the supporting post-insert operation
589: --
590: ame_atr_ins.post_insert
591: (p_rec => p_rec
592: ,p_effective_date => p_effective_date
593: ,p_datetrack_mode => l_datetrack_mode
594: ,p_validation_start_date => l_validation_start_date

Line 650: ame_atr_ins.ins

646: -- Having converted the arguments into the ame_atr_rec
647: -- plsql record structure we call the corresponding record
648: -- business process.
649: --
650: ame_atr_ins.ins
651: (p_effective_date
652: ,l_rec
653: );
654: --

Line 666: end ame_atr_ins;

662: --
663: hr_utility.set_location(' Leaving:'||l_proc, 10);
664: End ins;
665: --
666: end ame_atr_ins;