DBA Data[Home] [Help]

APPS.AME_ACA_SHD dependencies on AME_ACA_SHD

Line 1: Package Body ame_aca_shd as

1: Package Body ame_aca_shd as
2: /* $Header: amacarhi.pkb 120.4 2006/10/05 15:53:53 pvelugul noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

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

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

Line 77: ame_aca_shd.g_old_rec.application_id and

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

Line 79: ame_aca_shd.g_old_rec.object_version_number) Then

75: Else
76: If (p_application_id =
77: ame_aca_shd.g_old_rec.application_id and
78: p_object_version_number =
79: ame_aca_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_aca_shd.g_old_rec;

86: --
87: -- Select the current row
88: --
89: Open C_Sel1;
90: Fetch C_Sel1 Into ame_aca_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_aca_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_aca_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 135: ame_aca_shd.get_object_version_number

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

Line 233: Fetch C_Sel1 Into ame_aca_shd.g_old_rec;

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

Line 244: <> ame_aca_shd.g_old_rec.object_version_number) Then

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

Line 267: p_validation_end_date := ame_aca_shd.g_old_rec.end_date;

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

Line 352: end ame_aca_shd;

348: --
349: End get_object_version_number;
350: --
351: --
352: end ame_aca_shd;