DBA Data[Home] [Help]

APPS.AME_APU_SHD dependencies on AME_APU_SHD

Line 1: Package Body ame_apu_shd as

1: Package Body ame_apu_shd as
2: /* $Header: amapurhi.pkb 120.3 2005/11/22 03:13 santosin noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

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

Line 74: ame_apu_shd.g_old_rec.approver_type_id and

70: --
71: l_fct_ret := false;
72: Else
73: If (p_approver_type_id =
74: ame_apu_shd.g_old_rec.approver_type_id and
75: p_object_version_number =
76: ame_apu_shd.g_old_rec.object_version_number
77: ) Then
78: --

Line 76: ame_apu_shd.g_old_rec.object_version_number

72: Else
73: If (p_approver_type_id =
74: ame_apu_shd.g_old_rec.approver_type_id and
75: p_object_version_number =
76: ame_apu_shd.g_old_rec.object_version_number
77: ) Then
78: --
79: -- The g_old_rec is current therefore we must
80: -- set the returning function to true

Line 88: Fetch C_Sel1 Into ame_apu_shd.g_old_rec;

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

Line 99: <> ame_apu_shd.g_old_rec.object_version_number) Then

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

Line 134: ame_apu_shd.get_object_version_number

130: -- Because we are updating a row we must get the next object
131: -- version number.
132: --
133: l_object_version_number :=
134: ame_apu_shd.get_object_version_number
135: (p_approver_type_id => p_approver_type_id
136: ,p_action_type_id => p_action_type_id
137: );
138: --

Line 232: Fetch C_Sel1 Into ame_apu_shd.g_old_rec;

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

Line 243: <> ame_apu_shd.g_old_rec.object_version_number) Then

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

Line 266: p_validation_end_date := ame_apu_shd.g_old_rec.end_date;

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

Line 345: end ame_apu_shd;

341: --
342: End get_object_version_number;
343: --
344: --
345: end ame_apu_shd;