1: Package Body hxc_uld_shd as
2: /* $Header: hxculdrhi.pkb 120.2 2005/09/23 06:19:32 rchennur noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hxc_uld_shd.'; -- Global package name
9: g_debug boolean := hr_utility.debug_enabled;
10: --
11: -- ----------------------------------------------------------------------------
12: -- |---------------------------< constraint_error >---------------------------|
73: --
74: l_fct_ret := false;
75: Else
76: If (p_layout_comp_definition_id
77: = hxc_uld_shd.g_old_rec.layout_comp_definition_id and
78: p_object_version_number
79: = hxc_uld_shd.g_old_rec.object_version_number
80: ) Then
81: --
75: Else
76: If (p_layout_comp_definition_id
77: = hxc_uld_shd.g_old_rec.layout_comp_definition_id and
78: p_object_version_number
79: = hxc_uld_shd.g_old_rec.object_version_number
80: ) Then
81: --
82: -- The g_old_rec is current therefore we must
83: -- set the returning function to true
87: --
88: -- Select the current row into g_old_rec
89: --
90: Open C_Sel1;
91: Fetch C_Sel1 Into hxc_uld_shd.g_old_rec;
92: If C_Sel1%notfound Then
93: Close C_Sel1;
94: --
95: -- The primary key is invalid therefore we must error
98: fnd_message.raise_error;
99: End If;
100: Close C_Sel1;
101: If (p_object_version_number
102: <> hxc_uld_shd.g_old_rec.object_version_number) Then
103: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
104: fnd_message.raise_error;
105: End If;
106: l_fct_ret := true;
146: ,p_argument_value => p_layout_comp_definition_id
147: );
148: --
149: Open C_Sel1;
150: Fetch C_Sel1 Into hxc_uld_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: <> hxc_uld_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: --
209: Return(l_rec);
210: --
211: End convert_args;
212: --
213: end hxc_uld_shd;