1: Package Body ff_ffn_shd as
2: /* $Header: ffffnrhi.pkb 120.1 2005/10/05 01:50 adkumar noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ff_ffn_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |------------------------< return_api_dml_status >-------------------------|
12: -- ----------------------------------------------------------------------------
93: --
94: l_fct_ret := false;
95: Else
96: If (p_function_id
97: = ff_ffn_shd.g_old_rec.function_id and
98: p_object_version_number
99: = ff_ffn_shd.g_old_rec.object_version_number
100: ) Then
101: --
95: Else
96: If (p_function_id
97: = ff_ffn_shd.g_old_rec.function_id and
98: p_object_version_number
99: = ff_ffn_shd.g_old_rec.object_version_number
100: ) Then
101: --
102: -- The g_old_rec is current therefore we must
103: -- set the returning function to true
107: --
108: -- Select the current row into g_old_rec
109: --
110: Open C_Sel1;
111: Fetch C_Sel1 Into ff_ffn_shd.g_old_rec;
112: If C_Sel1%notfound Then
113: Close C_Sel1;
114: --
115: -- The primary key is invalid therefore we must error
118: fnd_message.raise_error;
119: End If;
120: Close C_Sel1;
121: If (p_object_version_number
122: <> ff_ffn_shd.g_old_rec.object_version_number) Then
123: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
124: fnd_message.raise_error;
125: End If;
126: l_fct_ret := true;
173: ,p_argument_value => p_object_version_number
174: );
175: --
176: Open C_Sel1;
177: Fetch C_Sel1 Into ff_ffn_shd.g_old_rec;
178: If C_Sel1%notfound then
179: Close C_Sel1;
180: --
181: -- The primary key is invalid therefore we must error
184: fnd_message.raise_error;
185: End If;
186: Close C_Sel1;
187: If (p_object_version_number
188: <> ff_ffn_shd.g_old_rec.object_version_number) Then
189: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
190: fnd_message.raise_error;
191: End If;
192: --
244: Return(l_rec);
245: --
246: End convert_args;
247: --
248: end ff_ffn_shd;