1: Package Body per_pso_shd as
2: /* $Header: pepsorhi.pkb 115.1 2002/12/04 16:50:05 eumenyio noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' per_pso_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |------------------------< return_api_dml_status >-------------------------|
12: -- ----------------------------------------------------------------------------
88: --
89: l_fct_ret := false;
90: Else
91: If (p_object_version_number
92: = per_pso_shd.g_old_rec.object_version_number and
93: p_security_organization_id
94: = per_pso_shd.g_old_rec.security_organization_id
95: ) Then
96: --
90: Else
91: If (p_object_version_number
92: = per_pso_shd.g_old_rec.object_version_number and
93: p_security_organization_id
94: = per_pso_shd.g_old_rec.security_organization_id
95: ) Then
96: --
97: -- The g_old_rec is current therefore we must
98: -- set the returning function to true
102: --
103: -- Select the current row into g_old_rec
104: --
105: Open C_Sel1;
106: Fetch C_Sel1 Into per_pso_shd.g_old_rec;
107: If C_Sel1%notfound Then
108: Close C_Sel1;
109: --
110: -- The primary key is invalid therefore we must error
113: fnd_message.raise_error;
114: End If;
115: Close C_Sel1;
116: If (p_object_version_number
117: <> per_pso_shd.g_old_rec.object_version_number) Then
118: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
119: fnd_message.raise_error;
120: End If;
121: l_fct_ret := true;
163: ,p_argument_value => p_security_organization_id
164: );
165: --
166: Open C_Sel1;
167: Fetch C_Sel1 Into per_pso_shd.g_old_rec;
168: If C_Sel1%notfound then
169: Close C_Sel1;
170: --
171: -- The primary key is invalid therefore we must error
174: fnd_message.raise_error;
175: End If;
176: Close C_Sel1;
177: If (p_object_version_number
178: <> per_pso_shd.g_old_rec.object_version_number) Then
179: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
180: fnd_message.raise_error;
181: End If;
182: --
224: Return(l_rec);
225: --
226: End convert_args;
227: --
228: end per_pso_shd;