DBA Data[Home] [Help]

APPS.AME_ATY_SHD dependencies on AME_ATY_SHD

Line 1: Package Body ame_aty_shd as

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

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

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

Line 77: ame_aty_shd.g_old_rec.action_type_id and

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

Line 79: ame_aty_shd.g_old_rec.object_version_number

75: Else
76: If (p_action_type_id =
77: ame_aty_shd.g_old_rec.action_type_id and
78: p_object_version_number =
79: ame_aty_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_aty_shd.g_old_rec;

87: --
88: -- Select the current row
89: --
90: Open C_Sel1;
91: Fetch C_Sel1 Into ame_aty_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_aty_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_aty_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 136: ame_aty_shd.get_object_version_number

132: -- Because we are updating a row we must get the next object
133: -- version number.
134: --
135: l_object_version_number :=
136: ame_aty_shd.get_object_version_number
137: (p_action_type_id => p_action_type_id
138: );
139: --
140: hr_utility.set_location(l_proc, 10);

Line 235: Fetch C_Sel1 Into ame_aty_shd.g_old_rec;

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

Line 246: <> ame_aty_shd.g_old_rec.object_version_number) Then

242: fnd_message.raise_error;
243: End If;
244: Close C_Sel1;
245: If (p_object_version_number
246: <> ame_aty_shd.g_old_rec.object_version_number) Then
247: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
248: fnd_message.raise_error;
249: End If;
250: --

Line 288: p_validation_end_date := ame_aty_shd.g_old_rec.end_date;

284: -- p_validation_end_date := l_validation_end_date;
285: -- MURTHY_CHANGES
286: if (p_datetrack_mode = hr_api.g_update) then
287: p_validation_start_date := p_effective_date;
288: p_validation_end_date := ame_aty_shd.g_old_rec.end_date;
289: elsif (p_datetrack_mode = hr_api.g_delete) then
290: p_validation_start_date := p_effective_date;
291: p_validation_end_date := p_effective_date;
292: end if;

Line 470: end ame_aty_shd;

466: End If;
467: --
468: End child_rows_exist;
469: --
470: end ame_aty_shd;