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_za_ass_shd.g_api_dml := true; -- Set the api dml status
59: --
60: -- Delete the per_qualifications row.
63: where assessment_id = p_rec.assessment_id;
64: --
65: per_za_ass_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: hr_utility.set_location(' Leaving:'||l_proc, 10);
162: End post_delete;
163: --
157: --
158: Begin
159: hr_utility.set_location('Entering:'||l_proc, 5);
160: --
161: hr_utility.set_location(' Leaving:'||l_proc, 10);
162: End post_delete;
163: --
164: -- ----------------------------------------------------------------------------
165: -- |---------------------------------< del >----------------------------------|
172: --
173: l_proc varchar2(72) := g_package||'del';
174: --
175: Begin
176: hr_utility.set_location('Entering:'||l_proc, 5);
177: --
178: -- Determine if the business process is to be validated.
179: --
180: If p_validate then
213: If p_validate then
214: Raise HR_Api.Validate_Enabled;
215: End If;
216: --
217: hr_utility.set_location(' Leaving:'||l_proc, 10);
218: Exception
219: When HR_Api.Validate_Enabled Then
220: --
221: -- As the Validate_Enabled exception has been raised
236: l_rec per_za_ass_shd.g_za_rec_type;
237: l_proc varchar2(72) := g_package||'del';
238: --
239: Begin
240: hr_utility.set_location('Entering:'||l_proc, 5);
241: --
242: -- As the delete procedure accepts a plsql record structure we do need to
243: -- convert the arguments into the record structure.
244: -- We don't need to call the supplied conversion argument routine as we
251: -- business process
252: --
253: del(l_rec, p_validate);
254: --
255: hr_utility.set_location(' Leaving:'||l_proc, 10);
256: End del;
257: --
258: end per_za_ass_del;