DBA Data[Home] [Help]

APPS.AME_CNU_SHD dependencies on AME_CNU_SHD

Line 1: Package Body ame_cnu_shd as

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

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

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

Line 79: ame_cnu_shd.g_old_rec.condition_id and

75: --
76: l_fct_ret := false;
77: Else
78: If (p_condition_id =
79: ame_cnu_shd.g_old_rec.condition_id and
80: p_rule_id =
81: ame_cnu_shd.g_old_rec.rule_id and
82: p_object_version_number =
83: ame_cnu_shd.g_old_rec.object_version_number) Then

Line 81: ame_cnu_shd.g_old_rec.rule_id and

77: Else
78: If (p_condition_id =
79: ame_cnu_shd.g_old_rec.condition_id and
80: p_rule_id =
81: ame_cnu_shd.g_old_rec.rule_id and
82: p_object_version_number =
83: ame_cnu_shd.g_old_rec.object_version_number) Then
84: --
85: -- The g_old_rec is current therefore we must

Line 83: ame_cnu_shd.g_old_rec.object_version_number) Then

79: ame_cnu_shd.g_old_rec.condition_id and
80: p_rule_id =
81: ame_cnu_shd.g_old_rec.rule_id and
82: p_object_version_number =
83: ame_cnu_shd.g_old_rec.object_version_number) Then
84: --
85: -- The g_old_rec is current therefore we must
86: -- set the returning function to true
87: --

Line 94: Fetch C_Sel1 Into ame_cnu_shd.g_old_rec;

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

Line 105: <> ame_cnu_shd.g_old_rec.object_version_number) Then

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

Line 140: ame_cnu_shd.get_object_version_number

136: -- Because we are updating a row we must get the next object
137: -- version number.
138: --
139: l_object_version_number :=
140: ame_cnu_shd.get_object_version_number
141: (p_condition_id => p_condition_id
142: ,p_rule_id => p_rule_id
143: );
144: --

Line 245: Fetch C_Sel1 Into ame_cnu_shd.g_old_rec;

241: --
242: -- We must select and lock the current row.
243: --
244: Open C_Sel1;
245: Fetch C_Sel1 Into ame_cnu_shd.g_old_rec;
246: If C_Sel1%notfound then
247: Close C_Sel1;
248: --
249: -- The primary key is invalid therefore we must error

Line 256: <> ame_cnu_shd.g_old_rec.object_version_number) Then

252: fnd_message.raise_error;
253: End If;
254: Close C_Sel1;
255: If (p_object_version_number
256: <> ame_cnu_shd.g_old_rec.object_version_number) Then
257: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
258: fnd_message.raise_error;
259: End If;
260: --

Line 279: p_validation_end_date := ame_cnu_shd.g_old_rec.end_date;

275: -- Set the validation start and end date OUT arguments
276: --
277: if (p_datetrack_mode = hr_api.g_update) then
278: p_validation_start_date := p_effective_date;
279: p_validation_end_date := ame_cnu_shd.g_old_rec.end_date;
280: elsif (p_datetrack_mode = hr_api.g_delete) then
281: p_validation_start_date := p_effective_date;
282: p_validation_end_date := p_effective_date;
283: end if;

Line 385: end ame_cnu_shd;

381: --
382: End get_object_version_number;
383: --
384: --
385: end ame_cnu_shd;