DBA Data[Home] [Help]

APPS.AME_APT_SHD dependencies on AME_APT_SHD

Line 1: Package Body ame_apt_shd as

1: Package Body ame_apt_shd as
2: /* $Header: amaptrhi.pkb 120.1 2006/04/21 08:44 avarri noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

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

Line 83: ame_apt_shd.g_old_rec.approver_type_id and

79: --
80: l_fct_ret := false;
81: Else
82: If (p_approver_type_id =
83: ame_apt_shd.g_old_rec.approver_type_id and
84: p_object_version_number =
85: ame_apt_shd.g_old_rec.object_version_number)
86: Then
87: --

Line 85: ame_apt_shd.g_old_rec.object_version_number)

81: Else
82: If (p_approver_type_id =
83: ame_apt_shd.g_old_rec.approver_type_id and
84: p_object_version_number =
85: ame_apt_shd.g_old_rec.object_version_number)
86: Then
87: --
88: -- The g_old_rec is current therefore we must
89: -- set the returning function to true

Line 97: Fetch C_Sel1 Into ame_apt_shd.g_old_rec;

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

Line 108: <> ame_apt_shd.g_old_rec.object_version_number) Then

104: fnd_message.raise_error;
105: End If;
106: Close C_Sel1;
107: If (p_object_version_number
108: <> ame_apt_shd.g_old_rec.object_version_number) Then
109: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
110: fnd_message.raise_error;
111: End If;
112: l_fct_ret := true;

Line 142: ame_apt_shd.get_object_version_number

138: -- Because we are updating a row we must get the next object
139: -- version number.
140: --
141: l_object_version_number :=
142: ame_apt_shd.get_object_version_number
143: (p_approver_type_id => p_approver_type_id
144: );
145: --
146: hr_utility.set_location(l_proc, 10);

Line 249: Fetch C_Sel1 Into ame_apt_shd.g_old_rec;

245: --
246: -- We must select and lock the current row.
247: --
248: Open C_Sel1;
249: Fetch C_Sel1 Into ame_apt_shd.g_old_rec;
250: If C_Sel1%notfound then
251: Close C_Sel1;
252: --
253: -- The primary key is invalid therefore we must error

Line 260: <> ame_apt_shd.g_old_rec.object_version_number) Then

256: fnd_message.raise_error;
257: End If;
258: Close C_Sel1;
259: If (p_object_version_number
260: <> ame_apt_shd.g_old_rec.object_version_number) Then
261: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
262: fnd_message.raise_error;
263: End If;
264: --

Line 283: p_validation_end_date := ame_apt_shd.g_old_rec.end_date;

279: -- Set the validation start and end date OUT arguments
280: --
281: if (p_datetrack_mode = hr_api.g_update) then
282: p_validation_start_date := p_effective_date;
283: p_validation_end_date := ame_apt_shd.g_old_rec.end_date;
284: elsif (p_datetrack_mode = hr_api.g_delete) then
285: p_validation_start_date := p_effective_date;
286: p_validation_end_date := p_effective_date;
287: end if;

Line 391: end ame_apt_shd;

387: End child_rows_exist;
388: --
389: */
390: --
391: end ame_apt_shd;