54: --
55: l_proc varchar2(72) := g_package||'delete_dml';
56: --
57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: --
60: --
61: --
62: -- Delete the hr_template_windows_b row.
87: where template_window_id = p_rec.template_window_id;
88: --
89: --
90: --
91: hr_utility.set_location(' Leaving:'||l_proc, 10);
92: --
93: Exception
94: When hr_api.child_integrity_violated then
95: -- Child integrity has been violated
137: --
138: l_proc varchar2(72) := g_package||'pre_delete';
139: --
140: Begin
141: hr_utility.set_location('Entering:'||l_proc, 5);
142: --
143: hr_utility.set_location(' Leaving:'||l_proc, 10);
144: End pre_delete;
145: --
139: --
140: Begin
141: hr_utility.set_location('Entering:'||l_proc, 5);
142: --
143: hr_utility.set_location(' Leaving:'||l_proc, 10);
144: End pre_delete;
145: --
146: -- ----------------------------------------------------------------------------
147: -- |-----------------------------< post_delete >------------------------------|
179: --
180: l_proc varchar2(72) := g_package||'post_delete';
181: --
182: Begin
183: hr_utility.set_location('Entering:'||l_proc, 5);
184: begin
185: --
186: hr_twn_rkd.after_delete
187: (p_template_window_id
203: ,p_hook_type => 'AD');
204: --
205: end;
206: --
207: hr_utility.set_location(' Leaving:'||l_proc, 10);
208: End post_delete;
209: --
210: -- ----------------------------------------------------------------------------
211: -- |---------------------------------< del >----------------------------------|
216: --
217: l_proc varchar2(72) := g_package||'del';
218: --
219: Begin
220: hr_utility.set_location('Entering:'||l_proc, 5);
221: --
222: -- We must lock the row which we need to delete.
223: --
224: hr_twn_shd.lck
255: l_rec hr_twn_shd.g_rec_type;
256: l_proc varchar2(72) := g_package||'del';
257: --
258: Begin
259: hr_utility.set_location('Entering:'||l_proc, 5);
260: --
261: -- As the delete procedure accepts a plsql record structure we do need to
262: -- convert the arguments into the record structure.
263: -- We don't need to call the supplied conversion argument routine as we
271: -- business process
272: --
273: hr_twn_del.del(l_rec);
274: --
275: hr_utility.set_location(' Leaving:'||l_proc, 10);
276: End del;
277: --
278: end hr_twn_del;