DBA Data[Home] [Help]

APPS.AME_ACT_SHD dependencies on AME_ACT_SHD

Line 1: Package Body ame_act_shd as

1: Package Body ame_act_shd as
2: /* $Header: amactrhi.pkb 120.4 2005/11/22 03:12 santosin noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

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

Line 78: ame_act_shd.g_old_rec.action_id and

74: --
75: l_fct_ret := false;
76: Else
77: If (p_action_id =
78: ame_act_shd.g_old_rec.action_id and
79: p_object_version_number =
80: ame_act_shd.g_old_rec.object_version_number
81: ) Then
82: --

Line 80: ame_act_shd.g_old_rec.object_version_number

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

Line 92: Fetch C_Sel1 Into ame_act_shd.g_old_rec;

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

Line 103: <> ame_act_shd.g_old_rec.object_version_number) Then

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

Line 138: ame_act_shd.get_object_version_number

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

Line 240: Fetch C_Sel1 Into ame_act_shd.g_old_rec;

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

Line 251: <> ame_act_shd.g_old_rec.object_version_number) Then

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

Line 274: p_validation_end_date := ame_act_shd.g_old_rec.end_date;

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

Line 398: end ame_act_shd;

394: --
395: --
396: End child_rows_exist;
397: --
398: end ame_act_shd;