1: Package Body pqh_rmv_shd as
2: /* $Header: pqrmvrhi.pkb 120.2 2005/06/23 03:41 srenukun noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' pqh_rmv_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |---------------------------< constraint_error >---------------------------|
12: -- ----------------------------------------------------------------------------
85: --
86: l_fct_ret := false;
87: Else
88: If (p_node_value_id
89: = pqh_rmv_shd.g_old_rec.node_value_id and
90: p_object_version_number
91: = pqh_rmv_shd.g_old_rec.object_version_number
92: ) Then
93: --
87: Else
88: If (p_node_value_id
89: = pqh_rmv_shd.g_old_rec.node_value_id and
90: p_object_version_number
91: = pqh_rmv_shd.g_old_rec.object_version_number
92: ) Then
93: --
94: -- The g_old_rec is current therefore we must
95: -- set the returning function to true
99: --
100: -- Select the current row into g_old_rec
101: --
102: Open C_Sel1;
103: Fetch C_Sel1 Into pqh_rmv_shd.g_old_rec;
104: If C_Sel1%notfound Then
105: Close C_Sel1;
106: --
107: -- The primary key is invalid therefore we must error
110: fnd_message.raise_error;
111: End If;
112: Close C_Sel1;
113: If (p_object_version_number
114: <> pqh_rmv_shd.g_old_rec.object_version_number) Then
115: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
116: fnd_message.raise_error;
117: End If;
118: l_fct_ret := true;
173: ,p_argument_value => p_object_version_number
174: );
175: --
176: Open C_Sel1;
177: Fetch C_Sel1 Into pqh_rmv_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: <> pqh_rmv_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: --
260: Return(l_rec);
261: --
262: End convert_args;
263: --
264: end pqh_rmv_shd;