DBA Data[Home] [Help]

APPS.AME_APG_SHD dependencies on AME_APG_SHD

Line 1: Package Body ame_apg_shd as

1: Package Body ame_apg_shd as
2: /* $Header: amapgrhi.pkb 120.6 2006/10/05 16:02:47 pvelugul noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

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

Line 77: ame_apg_shd.g_old_rec.approval_group_id and

73: --
74: l_fct_ret := false;
75: Else
76: If (p_approval_group_id =
77: ame_apg_shd.g_old_rec.approval_group_id and
78: p_object_version_number =
79: ame_apg_shd.g_old_rec.object_version_number) Then
80: --
81: -- The g_old_rec is current therefore we must

Line 79: ame_apg_shd.g_old_rec.object_version_number) Then

75: Else
76: If (p_approval_group_id =
77: ame_apg_shd.g_old_rec.approval_group_id and
78: p_object_version_number =
79: ame_apg_shd.g_old_rec.object_version_number) Then
80: --
81: -- The g_old_rec is current therefore we must
82: -- set the returning function to true
83: --

Line 90: Fetch C_Sel1 Into ame_apg_shd.g_old_rec;

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

Line 101: <> ame_apg_shd.g_old_rec.object_version_number) Then

97: fnd_message.raise_error;
98: End If;
99: Close C_Sel1;
100: If (p_object_version_number
101: <> ame_apg_shd.g_old_rec.object_version_number) Then
102: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
103: fnd_message.raise_error;
104: End If;
105: l_fct_ret := true;

Line 132: ame_apg_shd.get_object_version_number

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

Line 227: Fetch C_Sel1 Into ame_apg_shd.g_old_rec;

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

Line 238: <> ame_apg_shd.g_old_rec.object_version_number) Then

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

Line 261: p_validation_end_date := ame_apg_shd.g_old_rec.end_date;

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

Line 402: end ame_apg_shd;

398: --
399: --
400: End child_rows_exist;
401: --
402: end ame_apg_shd;