1: Package Body per_ceo_shd as
2: /* $Header: peceorhi.pkb 120.1.12000000.2 2007/04/16 11:05:48 arumukhe ship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' per_ceo_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |------------------------< return_api_dml_status >-------------------------|
12: -- ----------------------------------------------------------------------------
131: --
132: l_fct_ret := false;
133: Else
134: If (p_comp_element_outcome_id
135: = per_ceo_shd.g_old_rec.comp_element_outcome_id and
136: p_object_version_number
137: = per_ceo_shd.g_old_rec.object_version_number
138: ) Then
139: --
133: Else
134: If (p_comp_element_outcome_id
135: = per_ceo_shd.g_old_rec.comp_element_outcome_id and
136: p_object_version_number
137: = per_ceo_shd.g_old_rec.object_version_number
138: ) Then
139: --
140: -- The g_old_rec is current therefore we must
141: -- set the returning function to true
145: --
146: -- Select the current row into g_old_rec
147: --
148: Open C_Sel1;
149: Fetch C_Sel1 Into per_ceo_shd.g_old_rec;
150: If C_Sel1%notfound Then
151: Close C_Sel1;
152: --
153: -- The primary key is invalid therefore we must error
156: fnd_message.raise_error;
157: End If;
158: Close C_Sel1;
159: If (p_object_version_number
160: <> per_ceo_shd.g_old_rec.object_version_number) Then
161: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
162: fnd_message.raise_error;
163: End If;
164: l_fct_ret := true;
250: );
251: --
252: hr_utility.set_location(l_proc,7);
253: Open C_Sel1;
254: Fetch C_Sel1 Into per_ceo_shd.g_old_rec;
255: If C_Sel1%notfound then
256: Close C_Sel1;
257: hr_utility.set_location(l_proc,8);
258: --
262: fnd_message.raise_error;
263: End If;
264: Close C_Sel1;
265: If (p_object_version_number
266: <> per_ceo_shd.g_old_rec.object_version_number) Then
267: hr_utility.set_location(l_proc,9);
268: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
269: fnd_message.raise_error;
270: End If;
399: Return(l_rec);
400: --
401: End convert_args;
402: --
403: end per_ceo_shd;