DBA Data[Home] [Help]

APPS.AME_ACF_SHD dependencies on AME_ACF_SHD

Line 1: Package Body ame_acf_shd as

1: Package Body ame_acf_shd as
2: /* $Header: amacfrhi.pkb 120.5 2006/12/23 12:19:44 avarri noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

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

Line 77: ame_acf_shd.g_old_rec.action_type_id and

73: --
74: l_fct_ret := false;
75: Else
76: If (p_action_type_id =
77: ame_acf_shd.g_old_rec.action_type_id and
78: p_object_version_number =
79: ame_acf_shd.g_old_rec.object_version_number
80: ) Then
81: --

Line 79: ame_acf_shd.g_old_rec.object_version_number

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

Line 91: Fetch C_Sel1 Into ame_acf_shd.g_old_rec;

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

Line 102: <> ame_acf_shd.g_old_rec.object_version_number) Then

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

Line 137: ame_acf_shd.get_object_version_number

133: -- Because we are updating a row we must get the next object
134: -- version number.
135: --
136: l_object_version_number :=
137: ame_acf_shd.get_object_version_number
138: (p_action_type_id => p_action_type_id
139: ,p_application_id => p_application_id
140: );
141: --

Line 238: Fetch C_Sel1 Into ame_acf_shd.g_old_rec;

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

Line 249: <> ame_acf_shd.g_old_rec.object_version_number) Then

245: fnd_message.raise_error;
246: End If;
247: Close C_Sel1;
248: If (p_object_version_number
249: <> ame_acf_shd.g_old_rec.object_version_number) Then
250: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
251: fnd_message.raise_error;
252: End If;
253: --

Line 272: p_validation_end_date := ame_acf_shd.g_old_rec.end_date;

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

Line 357: end ame_acf_shd;

353: --
354: End get_object_version_number;
355: --
356: --
357: end ame_acf_shd;