DBA Data[Home] [Help]

APPS.AME_ITC_SHD dependencies on AME_ITC_SHD

Line 1: Package Body ame_itc_shd as

1: Package Body ame_itc_shd as
2: /* $Header: amitcrhi.pkb 120.2 2005/11/22 03:17 santosin noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

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

Line 72: ame_itc_shd.g_old_rec.item_class_id and

68: --
69: l_fct_ret := false;
70: Else
71: If (p_item_class_id =
72: ame_itc_shd.g_old_rec.item_class_id and
73: p_object_version_number =
74: ame_itc_shd.g_old_rec.object_version_number
75: ) Then
76: --

Line 74: ame_itc_shd.g_old_rec.object_version_number

70: Else
71: If (p_item_class_id =
72: ame_itc_shd.g_old_rec.item_class_id and
73: p_object_version_number =
74: ame_itc_shd.g_old_rec.object_version_number
75: ) Then
76: --
77: -- The g_old_rec is current therefore we must
78: -- set the returning function to true

Line 86: Fetch C_Sel1 Into ame_itc_shd.g_old_rec;

82: --
83: -- Select the current row
84: --
85: Open C_Sel1;
86: Fetch C_Sel1 Into ame_itc_shd.g_old_rec;
87: If C_Sel1%notfound Then
88: Close C_Sel1;
89: --
90: -- The primary key is invalid therefore we must error

Line 97: <> ame_itc_shd.g_old_rec.object_version_number) Then

93: fnd_message.raise_error;
94: End If;
95: Close C_Sel1;
96: If (p_object_version_number
97: <> ame_itc_shd.g_old_rec.object_version_number) Then
98: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
99: fnd_message.raise_error;
100: End If;
101: l_fct_ret := true;

Line 131: ame_itc_shd.get_object_version_number

127: -- Because we are updating a row we must get the next object
128: -- version number.
129: --
130: l_object_version_number :=
131: ame_itc_shd.get_object_version_number
132: (p_item_class_id => p_item_class_id
133: );
134: --
135: hr_utility.set_location(l_proc, 10);

Line 225: Fetch C_Sel1 Into ame_itc_shd.g_old_rec;

221: --
222: -- We must select and lock the current row.
223: --
224: Open C_Sel1;
225: Fetch C_Sel1 Into ame_itc_shd.g_old_rec;
226: If C_Sel1%notfound then
227: Close C_Sel1;
228: --
229: -- The primary key is invalid therefore we must error

Line 236: <> ame_itc_shd.g_old_rec.object_version_number) Then

232: fnd_message.raise_error;
233: End If;
234: Close C_Sel1;
235: If (p_object_version_number
236: <> ame_itc_shd.g_old_rec.object_version_number) Then
237: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
238: fnd_message.raise_error;
239: End If;
240: --

Line 259: p_validation_end_date := ame_itc_shd.g_old_rec.end_date;

255: -- Set the validation start and end date OUT arguments
256: --
257: if (p_datetrack_mode = hr_api.g_update) then
258: p_validation_start_date := p_effective_date;
259: p_validation_end_date := ame_itc_shd.g_old_rec.end_date;
260: elsif (p_datetrack_mode = hr_api.g_delete) then
261: p_validation_start_date := p_effective_date;
262: p_validation_end_date := p_effective_date;
263: end if;

Line 368: end ame_itc_shd;

364: End If;
365: --
366: End child_rows_exist;
367: --
368: end ame_itc_shd;