DBA Data[Home] [Help]

APPS.AME_ATR_SHD dependencies on AME_ATR_SHD

Line 1: Package Body ame_atr_shd as

1: Package Body ame_atr_shd 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_shd.'; -- Global package name

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ame_atr_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |---------------------------< constraint_error >---------------------------|
12: -- ----------------------------------------------------------------------------

Line 80: ame_atr_shd.g_old_rec.attribute_id and

76: --
77: l_fct_ret := false;
78: Else
79: If (p_attribute_id =
80: ame_atr_shd.g_old_rec.attribute_id and
81: p_object_version_number =
82: ame_atr_shd.g_old_rec.object_version_number) Then
83: --
84: -- The g_old_rec is current therefore we must

Line 82: ame_atr_shd.g_old_rec.object_version_number) Then

78: Else
79: If (p_attribute_id =
80: ame_atr_shd.g_old_rec.attribute_id and
81: p_object_version_number =
82: ame_atr_shd.g_old_rec.object_version_number) Then
83: --
84: -- The g_old_rec is current therefore we must
85: -- set the returning function to true
86: --

Line 93: Fetch C_Sel1 Into ame_atr_shd.g_old_rec;

89: --
90: -- Select the current row
91: --
92: Open C_Sel1;
93: Fetch C_Sel1 Into ame_atr_shd.g_old_rec;
94: If C_Sel1%notfound Then
95: Close C_Sel1;
96: --
97: -- The primary key is invalid therefore we must error

Line 104: <> ame_atr_shd.g_old_rec.object_version_number) Then

100: fnd_message.raise_error;
101: End If;
102: Close C_Sel1;
103: If (p_object_version_number
104: <> ame_atr_shd.g_old_rec.object_version_number) Then
105: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
106: fnd_message.raise_error;
107: End If;
108: l_fct_ret := true;

Line 135: ame_atr_shd.get_object_version_number

131: -- Because we are updating a row we must get the next object
132: -- version number.
133: --
134: l_object_version_number :=
135: ame_atr_shd.get_object_version_number
136: (p_attribute_id => p_attribute_id
137: );
138: --
139: hr_utility.set_location(l_proc, 10);

Line 233: Fetch C_Sel1 Into ame_atr_shd.g_old_rec;

229: --
230: -- We must select and lock the current row.
231: --
232: Open C_Sel1;
233: Fetch C_Sel1 Into ame_atr_shd.g_old_rec;
234: If C_Sel1%notfound then
235: Close C_Sel1;
236: --
237: -- The primary key is invalid therefore we must error

Line 244: <> ame_atr_shd.g_old_rec.object_version_number) Then

240: fnd_message.raise_error;
241: End If;
242: Close C_Sel1;
243: If (p_object_version_number
244: <> ame_atr_shd.g_old_rec.object_version_number) Then
245: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
246: fnd_message.raise_error;
247: End If;
248: --

Line 267: p_validation_end_date := ame_atr_shd.g_old_rec.end_date;

263: -- Set the validation start and end date OUT arguments
264: --
265: if (p_datetrack_mode = hr_api.g_update) then
266: p_validation_start_date := p_effective_date;
267: p_validation_end_date := ame_atr_shd.g_old_rec.end_date;
268: elsif (p_datetrack_mode = hr_api.g_delete) then
269: p_validation_start_date := p_effective_date;
270: p_validation_end_date := p_effective_date;
271: end if;

Line 355: end ame_atr_shd;

351: Return(l_ovn);
352: --
353: End get_object_version_number;
354: --
355: end ame_atr_shd;