1: Package Body irc_inp_shd as
2: /* $Header: irinprhi.pkb 120.2 2006/02/23 15:36:24 gjaggava noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' irc_inp_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |------------------------< return_api_dml_status >-------------------------|
12: -- ----------------------------------------------------------------------------
119: --
120: l_fct_ret := false;
121: Else
122: If (p_notification_preference_id
123: = irc_inp_shd.g_old_rec.notification_preference_id and
124: p_object_version_number
125: = irc_inp_shd.g_old_rec.object_version_number
126: ) Then
127: --
121: Else
122: If (p_notification_preference_id
123: = irc_inp_shd.g_old_rec.notification_preference_id and
124: p_object_version_number
125: = irc_inp_shd.g_old_rec.object_version_number
126: ) Then
127: --
128: -- The g_old_rec is current therefore we must
129: -- set the returning function to true
133: --
134: -- Select the current row into g_old_rec
135: --
136: Open C_Sel1;
137: Fetch C_Sel1 Into irc_inp_shd.g_old_rec;
138: If C_Sel1%notfound Then
139: Close C_Sel1;
140: --
141: -- The primary key is invalid therefore we must error
144: fnd_message.raise_error;
145: End If;
146: Close C_Sel1;
147: If (p_object_version_number
148: <> irc_inp_shd.g_old_rec.object_version_number) Then
149: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
150: fnd_message.raise_error;
151: End If;
152: l_fct_ret := true;
231: ,p_argument_value => p_object_version_number
232: );
233: --
234: Open C_Sel1;
235: Fetch C_Sel1 Into irc_inp_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
242: fnd_message.raise_error;
243: End If;
244: Close C_Sel1;
245: If (p_object_version_number
246: <> irc_inp_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: --
366: Return(l_rec);
367: --
368: End convert_args;
369: --
370: end irc_inp_shd;