1: Package Body hr_ftp_shd as
2: /* $Header: hrftprhi.pkb 115.3 2002/12/03 13:05:33 hjonnala noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hr_ftp_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |---------------------------< constraint_error >---------------------------|
12: -- ----------------------------------------------------------------------------
78: --
79: l_fct_ret := false;
80: Else
81: If (p_form_tab_page_id
82: = hr_ftp_shd.g_old_rec.form_tab_page_id and
83: p_object_version_number
84: = hr_ftp_shd.g_old_rec.object_version_number
85: ) Then
86: --
80: Else
81: If (p_form_tab_page_id
82: = hr_ftp_shd.g_old_rec.form_tab_page_id and
83: p_object_version_number
84: = hr_ftp_shd.g_old_rec.object_version_number
85: ) Then
86: --
87: -- The g_old_rec is current therefore we must
88: -- set the returning function to true
92: --
93: -- Select the current row into g_old_rec
94: --
95: Open C_Sel1;
96: Fetch C_Sel1 Into hr_ftp_shd.g_old_rec;
97: If C_Sel1%notfound Then
98: Close C_Sel1;
99: --
100: -- The primary key is invalid therefore we must error
103: fnd_message.raise_error;
104: End If;
105: Close C_Sel1;
106: If (p_object_version_number
107: <> hr_ftp_shd.g_old_rec.object_version_number) Then
108: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
109: fnd_message.raise_error;
110: End If;
111: l_fct_ret := true;
155: );
156: --Bug:1790746 fix End
157:
158: Open C_Sel1;
159: Fetch C_Sel1 Into hr_ftp_shd.g_old_rec;
160: If C_Sel1%notfound then
161: Close C_Sel1;
162: --
163: -- The primary key is invalid therefore we must error
166: fnd_message.raise_error;
167: End If;
168: Close C_Sel1;
169: If (p_object_version_number
170: <> hr_ftp_shd.g_old_rec.object_version_number) Then
171: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
172: fnd_message.raise_error;
173: End If;
174: --
222: Return(l_rec);
223: --
224: End convert_args;
225: --
226: end hr_ftp_shd;