52: --
53: l_proc varchar2(72) := g_package||'delete_dml';
54: --
55: Begin
56: hr_utility.set_location('Entering:'||l_proc, 5);
57: --
58: per_prv_shd.g_api_dml := true; -- Set the api dml status
59: --
60: -- Delete the per_performance_reviews row.
63: where performance_review_id = p_rec.performance_review_id;
64: --
65: per_prv_shd.g_api_dml := false; -- Unset the api dml status
66: --
67: hr_utility.set_location(' Leaving:'||l_proc, 10);
68: --
69: Exception
70: When hr_api.child_integrity_violated then
71: -- Child integrity has been violated
113: --
114: l_proc varchar2(72) := g_package||'pre_delete';
115: --
116: Begin
117: hr_utility.set_location('Entering:'||l_proc, 5);
118: --
119: hr_utility.set_location(' Leaving:'||l_proc, 10);
120: End pre_delete;
121: --
115: --
116: Begin
117: hr_utility.set_location('Entering:'||l_proc, 5);
118: --
119: hr_utility.set_location(' Leaving:'||l_proc, 10);
120: End pre_delete;
121: --
122: -- ----------------------------------------------------------------------------
123: -- |-----------------------------< post_delete >------------------------------|
155: --
156: l_proc varchar2(72) := g_package||'post_delete';
157: --
158: Begin
159: hr_utility.set_location('Entering:'||l_proc, 5);
160: --
161: --
162: -- Start of API User Hook for post_delete.
163: --
217: --
218: -- End of API User Hook for post_delete.
219: --
220: --
221: hr_utility.set_location(' Leaving:'||l_proc, 10);
222: End post_delete;
223: --
224: -- ----------------------------------------------------------------------------
225: -- |---------------------------------< del >----------------------------------|
232: --
233: l_proc varchar2(72) := g_package||'del';
234: --
235: Begin
236: hr_utility.set_location('Entering:'||l_proc, 5);
237: --
238: -- Determine if the business process is to be validated.
239: --
240: If p_validate then
274: If p_validate then
275: Raise HR_Api.Validate_Enabled;
276: End If;
277: --
278: hr_utility.set_location(' Leaving:'||l_proc, 10);
279: Exception
280: When HR_Api.Validate_Enabled Then
281: --
282: -- As the Validate_Enabled exception has been raised
298: l_rec per_prv_shd.g_rec_type;
299: l_proc varchar2(72) := g_package||'del';
300: --
301: Begin
302: hr_utility.set_location('Entering:'||l_proc, 5);
303: --
304: -- As the delete procedure accepts a plsql record structure we do need to
305: -- convert the arguments into the record structure.
306: -- We don't need to call the supplied conversion argument routine as we
315: --
316: del(l_rec
317: ,p_validate);
318: --
319: hr_utility.set_location(' Leaving:'||l_proc, 10);
320: End del;
321: --
322: end per_prv_del;