1: Package Body hr_itf_shd as
2: /* $Header: hritfrhi.pkb 120.0 2005/05/31 00:58:13 appldev noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_itf_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |---------------------------< constraint_error >---------------------------|
12: -- ----------------------------------------------------------------------------
69: --
70: l_fct_ret := false;
71: Else
72: If (p_user_interface_id
73: = hr_itf_shd.g_old_rec.user_interface_id and
74: p_object_version_number
75: = hr_itf_shd.g_old_rec.object_version_number
76: ) Then
77: --
71: Else
72: If (p_user_interface_id
73: = hr_itf_shd.g_old_rec.user_interface_id and
74: p_object_version_number
75: = hr_itf_shd.g_old_rec.object_version_number
76: ) Then
77: --
78: -- The g_old_rec is current therefore we must
79: -- set the returning function to true
83: --
84: -- Select the current row into g_old_rec
85: --
86: Open C_Sel1;
87: Fetch C_Sel1 Into hr_itf_shd.g_old_rec;
88: If C_Sel1%notfound Then
89: Close C_Sel1;
90: --
91: -- The primary key is invalid therefore we must error
94: fnd_message.raise_error;
95: End If;
96: Close C_Sel1;
97: If (p_object_version_number
98: <> hr_itf_shd.g_old_rec.object_version_number) Then
99: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
100: fnd_message.raise_error;
101: End If;
102: l_fct_ret := true;
146: ,p_argument_value => p_object_version_number
147: );
148: --
149: Open C_Sel1;
150: Fetch C_Sel1 Into hr_itf_shd.g_old_rec;
151: If C_Sel1%notfound then
152: Close C_Sel1;
153: --
154: -- The primary key is invalid therefore we must error
157: fnd_message.raise_error;
158: End If;
159: Close C_Sel1;
160: If (p_object_version_number
161: <> hr_itf_shd.g_old_rec.object_version_number) Then
162: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
163: fnd_message.raise_error;
164: End If;
165: --
293: hr_utility.set_location(' Leaving:' || l_proc,20);
294:
295: End construct_user_interface_key ;
296: --
297: end hr_itf_shd;