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_qua_shd.g_api_dml := true; -- Set the api dml status
59: --
60: -- Delete the per_qualifications row.
63: where qualification_id = p_rec.qualification_id;
64: --
65: per_qua_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: -- Start of Row Handler User Hook for post_delete.
162: --
163: Begin
246: end;
247: --
248: -- End of Row Handler User Hook for post_delete.
249: --
250: hr_utility.set_location(' Leaving:'||l_proc, 10);
251: End post_delete;
252: --
253: -- ----------------------------------------------------------------------------
254: -- |---------------------------------< del >----------------------------------|
261: --
262: l_proc varchar2(72) := g_package||'del';
263: --
264: Begin
265: hr_utility.set_location('Entering:'||l_proc, 5);
266: --
267: -- Determine if the business process is to be validated.
268: --
269: If p_validate then
310: If p_validate then
311: Raise HR_Api.Validate_Enabled;
312: End If;
313: --
314: hr_utility.set_location(' Leaving:'||l_proc, 10);
315: Exception
316: When HR_Api.Validate_Enabled Then
317: --
318: -- As the Validate_Enabled exception has been raised
334: l_rec per_qua_shd.g_rec_type;
335: l_proc varchar2(72) := g_package||'del';
336: --
337: Begin
338: hr_utility.set_location('Entering:'||l_proc, 5);
339: --
340: -- As the delete procedure accepts a plsql record structure we do need to
341: -- convert the arguments into the record structure.
342: -- We don't need to call the supplied conversion argument routine as we
350: -- business process
351: --
352: del(l_rec, p_validate);
353: --
354: hr_utility.set_location(' Leaving:'||l_proc, 10);
355: End del;
356: --
357: end per_qua_del;