52:
53: l_proc varchar2(72) := g_package||'delete_dml';
54:
55: Begin
56: hr_utility.set_location('Entering:'||l_proc, 5);
57:
58: --Delete the hr_questionnaires row.
59:
60: delete from hr_questionnaires
59:
60: delete from hr_questionnaires
61: where questionnaire_template_id = p_rec.questionnaire_template_id;
62:
63: hr_utility.set_location(' Leaving:'||l_proc, 10);
64:
65: Exception
66: When hr_api.child_integrity_violated then
67: --Child integrity has been violated
107:
108: l_proc varchar2(72) := g_package||'pre_delete';
109:
110: Begin
111: hr_utility.set_location('Entering:'||l_proc, 5);
112:
113: hr_utility.set_location(' Leaving:'||l_proc, 10);
114: End pre_delete;
115: --
109:
110: Begin
111: hr_utility.set_location('Entering:'||l_proc, 5);
112:
113: hr_utility.set_location(' Leaving:'||l_proc, 10);
114: End pre_delete;
115: --
116: -- ----------------------------------------------------------------------------
117: -- |-----------------------------< post_delete >------------------------------|
149:
150: l_proc varchar2(72) := g_package||'post_delete';
151:
152: Begin
153: hr_utility.set_location('Entering:'||l_proc, 5);
154:
155: hr_utility.set_location(' Leaving:'||l_proc, 10);
156: End post_delete;
157: --
151:
152: Begin
153: hr_utility.set_location('Entering:'||l_proc, 5);
154:
155: hr_utility.set_location(' Leaving:'||l_proc, 10);
156: End post_delete;
157: --
158: -- ----------------------------------------------------------------------------
159: -- |---------------------------------< del >----------------------------------|
163:
164: l_proc varchar2(72) := g_package||'del';
165:
166: Begin
167: hr_utility.set_location('Entering:'||l_proc, 5);
168:
169: --We must lock the row which we need to delete.
170:
171: hr_qsn_shd.lck
209: l_rec hr_qsn_shd.g_rec_type;
210: l_proc varchar2(72) := g_package||'del';
211:
212: Begin
213: hr_utility.set_location('Entering:'||l_proc, 5);
214:
215: -- As the delete procedure accepts a plsql record structure we do need to
216: -- convert the arguments into the record structure.
217: -- We don't need to call the supplied conversion argument routine as we
225: -- business process
226: --
227: del(l_rec);
228:
229: hr_utility.set_location(' Leaving:'||l_proc, 10);
230: End del;
231:
232: end hr_qsn_del;