1: Package Body ota_thg_del as
2: /* $Header: otthgrhi.pkb 120.0 2005/05/29 07:44:06 appldev noship $ */
3: --
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
4: -- ----------------------------------------------------------------------------
5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' ota_thg_del.'; -- Global package name
9: --
10: -- ----------------------------------------------------------------------------
11: -- |------------------------------< delete_dml >------------------------------|
12: -- ----------------------------------------------------------------------------
224: ota_thg_bus.delete_validate(p_rec);
225: --
226: -- Call the supporting pre-delete operation
227: --
228: ota_thg_del.pre_delete(p_rec);
229: --
230: -- Delete the row.
231: --
232: ota_thg_del.delete_dml(p_rec);
228: ota_thg_del.pre_delete(p_rec);
229: --
230: -- Delete the row.
231: --
232: ota_thg_del.delete_dml(p_rec);
233: --
234: -- Call the supporting post-delete operation
235: --
236: ota_thg_del.post_delete(p_rec);
232: ota_thg_del.delete_dml(p_rec);
233: --
234: -- Call the supporting post-delete operation
235: --
236: ota_thg_del.post_delete(p_rec);
237: --
238: If p_validate then
239: Raise HR_Api.Validate_Enabled;
240: End If;
276: -- Having converted the arguments into the ota_thg_rec
277: -- plsql record structure we must call the corresponding entity
278: -- business process
279: --
280: ota_thg_del.del(l_rec
281: ,p_validate
282: );
283: --
284: hr_utility.set_location(' Leaving:'||l_proc, 10);
283: --
284: hr_utility.set_location(' Leaving:'||l_proc, 10);
285: End del;
286: --
287: end ota_thg_del;