DBA Data[Home] [Help]

APPS.OTA_TPC_SHD dependencies on OTA_TPC_SHD

Line 1: Package Body ota_tpc_shd as

1: Package Body ota_tpc_shd as
2: /* $Header: ottpcrhi.pkb 115.5 2003/06/17 14:27:43 sfmorris noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |

Line 8: g_package varchar2(33) := ' ota_tpc_shd.'; -- Global package name

4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_tpc_shd.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |---------------------------< constraint_error >---------------------------|
12: -- ----------------------------------------------------------------------------

Line 162: = ota_tpc_shd.g_old_rec.training_plan_cost_id and

158: --
159: l_fct_ret := false;
160: Else
161: If (p_training_plan_cost_id
162: = ota_tpc_shd.g_old_rec.training_plan_cost_id and
163: p_object_version_number
164: = ota_tpc_shd.g_old_rec.object_version_number
165: ) Then
166: --

Line 164: = ota_tpc_shd.g_old_rec.object_version_number

160: Else
161: If (p_training_plan_cost_id
162: = ota_tpc_shd.g_old_rec.training_plan_cost_id and
163: p_object_version_number
164: = ota_tpc_shd.g_old_rec.object_version_number
165: ) Then
166: --
167: -- The g_old_rec is current therefore we must
168: -- set the returning function to true

Line 176: Fetch C_Sel1 Into ota_tpc_shd.g_old_rec;

172: --
173: -- Select the current row into g_old_rec
174: --
175: Open C_Sel1;
176: Fetch C_Sel1 Into ota_tpc_shd.g_old_rec;
177: If C_Sel1%notfound Then
178: Close C_Sel1;
179: --
180: -- The primary key is invalid therefore we must error

Line 187: <> ota_tpc_shd.g_old_rec.object_version_number) Then

183: fnd_message.raise_error;
184: End If;
185: Close C_Sel1;
186: If (p_object_version_number
187: <> ota_tpc_shd.g_old_rec.object_version_number) Then
188: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
189: fnd_message.raise_error;
190: End If;
191: l_fct_ret := true;

Line 297: Fetch C_Sel1 Into ota_tpc_shd.g_old_rec;

293: ,p_argument_value => p_training_plan_cost_id
294: );
295: --
296: Open C_Sel1;
297: Fetch C_Sel1 Into ota_tpc_shd.g_old_rec;
298: If C_Sel1%notfound then
299: Close C_Sel1;
300: --
301: -- The primary key is invalid therefore we must error

Line 308: <> ota_tpc_shd.g_old_rec.object_version_number) Then

304: fnd_message.raise_error;
305: End If;
306: Close C_Sel1;
307: If (p_object_version_number
308: <> ota_tpc_shd.g_old_rec.object_version_number) Then
309: fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
310: fnd_message.raise_error;
311: End If;
312: --

Line 490: end ota_tpc_shd;

486: Return(l_rec);
487: --
488: End convert_args;
489: --
490: end ota_tpc_shd;