1: Package Body pqh_rss_shd as
2: /* $Header: pqrssrhi.pkb 115.9 2002/12/13 13:57:40 joward noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pqh_rss_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |---------------------------< constraint_error >---------------------------|
12: -- ----------------------------------------------------------------------------
67: --
68: l_fct_ret := false;
69: Else
70: If (p_result_set_id
71: = pqh_rss_shd.g_old_rec.result_set_id and
72: p_object_version_number
73: = pqh_rss_shd.g_old_rec.object_version_number
74: ) Then
75: --
69: Else
70: If (p_result_set_id
71: = pqh_rss_shd.g_old_rec.result_set_id and
72: p_object_version_number
73: = pqh_rss_shd.g_old_rec.object_version_number
74: ) Then
75: --
76: -- The g_old_rec is current therefore we must
77: -- set the returning function to true
81: --
82: -- Select the current row into g_old_rec
83: --
84: Open C_Sel1;
85: Fetch C_Sel1 Into pqh_rss_shd.g_old_rec;
86: If C_Sel1%notfound Then
87: Close C_Sel1;
88: --
89: -- The primary key is invalid therefore we must error
92: fnd_message.raise_error;
93: End If;
94: Close C_Sel1;
95: If (p_object_version_number
96: <> pqh_rss_shd.g_old_rec.object_version_number) Then
97: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
98: fnd_message.raise_error;
99: End If;
100: l_fct_ret := true;
142: ,p_argument_value => p_object_version_number
143: );
144: --
145: Open C_Sel1;
146: Fetch C_Sel1 Into pqh_rss_shd.g_old_rec;
147: If C_Sel1%notfound then
148: Close C_Sel1;
149: --
150: -- The primary key is invalid therefore we must error
153: fnd_message.raise_error;
154: End If;
155: Close C_Sel1;
156: If (p_object_version_number
157: <> pqh_rss_shd.g_old_rec.object_version_number) Then
158: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
159: fnd_message.raise_error;
160: End If;
161: --
203: Return(l_rec);
204: --
205: End convert_args;
206: --
207: end pqh_rss_shd;