1: Package Body pqh_rei_shd as
2: /* $Header: pqreirhi.pkb 115.3 2002/12/03 20:42:51 rpasapul noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pqh_rei_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |---------------------------< constraint_error >---------------------------|
12: -- ----------------------------------------------------------------------------
138: --
139: l_fct_ret := false;
140: Else
141: If (p_role_extra_info_id
142: = pqh_rei_shd.g_old_rec.role_extra_info_id and
143: p_object_version_number
144: = pqh_rei_shd.g_old_rec.object_version_number
145: ) Then
146: --
140: Else
141: If (p_role_extra_info_id
142: = pqh_rei_shd.g_old_rec.role_extra_info_id and
143: p_object_version_number
144: = pqh_rei_shd.g_old_rec.object_version_number
145: ) Then
146: --
147: -- The g_old_rec is current therefore we must
148: -- set the returning function to true
152: --
153: -- Select the current row into g_old_rec
154: --
155: Open C_Sel1;
156: Fetch C_Sel1 Into pqh_rei_shd.g_old_rec;
157: If C_Sel1%notfound Then
158: Close C_Sel1;
159: --
160: -- The primary key is invalid therefore we must error
280: ,p_argument_value => p_object_version_number
281: );
282: --
283: Open C_Sel1;
284: Fetch C_Sel1 Into pqh_rei_shd.g_old_rec;
285: If C_Sel1%notfound then
286: Close C_Sel1;
287: --
288: -- The primary key is invalid therefore we must error
472: Return(l_rec);
473: --
474: End convert_args;
475: --
476: end pqh_rei_shd;