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_cel_shd.g_api_dml := true; -- Set the api dml status
59: --
60: -- Delete the per_competence_elements row.
63: where competence_element_id = p_rec.competence_element_id;
64: --
65: per_cel_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: -- This is a hook point and the user hook for post_delete is called here.
162: --
163: begin
265: );
266: end;
267: -- End of API User Hook for post_delete.
268: --
269: hr_utility.set_location(' Leaving:'||l_proc, 10);
270: End post_delete;
271: --
272: -- ----------------------------------------------------------------------------
273: -- |---------------------------------< del >----------------------------------|
280: --
281: l_proc varchar2(72) := g_package||'del';
282: --
283: Begin
284: hr_utility.set_location('Entering:'||l_proc, 5);
285: --
286: -- Determine if the business process is to be validated.
287: --
288: If p_validate then
327: If p_validate then
328: Raise HR_Api.Validate_Enabled;
329: End If;
330: --
331: hr_utility.set_location(' Leaving:'||l_proc, 10);
332: Exception
333: When HR_Api.Validate_Enabled Then
334: --
335: -- As the Validate_Enabled exception has been raised
351: l_rec per_cel_shd.g_rec_type;
352: l_proc varchar2(72) := g_package||'del';
353: --
354: Begin
355: hr_utility.set_location('Entering:'||l_proc, 5);
356: --
357: -- As the delete procedure accepts a plsql record structure we do need to
358: -- convert the arguments into the record structure.
359: -- We don't need to call the supplied conversion argument routine as we
368: --
369: del(p_rec => l_rec
370: ,p_validate => p_validate);
371: --
372: hr_utility.set_location(' Leaving:'||l_proc, 10);
373: End del;
374: --
375: end per_cel_del;