DBA Data[Home] [Help]

APPS.AME_CON_SHD dependencies on AME_CON_SHD

Line 1: Package Body ame_con_shd as

1: Package Body ame_con_shd as
2: /* $Header: amconrhi.pkb 120.6 2006/01/12 22:43 pvelugul noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

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

Line 81: ame_con_shd.g_old_rec.condition_id and

77: --
78: l_fct_ret := false;
79: Else
80: If (p_condition_id =
81: ame_con_shd.g_old_rec.condition_id and
82: p_object_version_number =
83: ame_con_shd.g_old_rec.object_version_number) Then
84: --
85: -- The g_old_rec is current therefore we must

Line 83: ame_con_shd.g_old_rec.object_version_number) Then

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

Line 94: Fetch C_Sel1 Into ame_con_shd.g_old_rec;

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

Line 105: <> ame_con_shd.g_old_rec.object_version_number) Then

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

Line 139: ame_con_shd.get_object_version_number

135: -- Because we are updating a row we must get the next object
136: -- version number.
137: --
138: l_object_version_number :=
139: ame_con_shd.get_object_version_number
140: (p_condition_id => p_condition_id
141: );
142: --
143: hr_utility.set_location(l_proc, 10);

Line 241: Fetch C_Sel1 Into ame_con_shd.g_old_rec;

237: --
238: -- We must select and lock the current row.
239: --
240: Open C_Sel1;
241: Fetch C_Sel1 Into ame_con_shd.g_old_rec;
242: If C_Sel1%notfound then
243: Close C_Sel1;
244: --
245: -- The primary key is invalid therefore we must error

Line 252: <> ame_con_shd.g_old_rec.object_version_number) Then

248: fnd_message.raise_error;
249: End If;
250: Close C_Sel1;
251: If (p_object_version_number
252: <> ame_con_shd.g_old_rec.object_version_number) Then
253: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
254: fnd_message.raise_error;
255: End If;
256: --

Line 275: p_validation_end_date := ame_con_shd.g_old_rec.end_date;

271: -- Set the validation start and end date OUT arguments
272: --
273: if (p_datetrack_mode = hr_api.g_update) then
274: p_validation_start_date := p_effective_date;
275: p_validation_end_date := ame_con_shd.g_old_rec.end_date;
276: elsif (p_datetrack_mode = hr_api.g_delete) then
277: p_validation_start_date := p_effective_date;
278: p_validation_end_date := p_effective_date;
279: end if;

Line 368: end ame_con_shd;

364: --
365: End get_object_version_number;
366: --
367: --
368: end ame_con_shd;