54: --
55: l_proc varchar2(72) := g_package||'delete_dml';
56: --
57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: --
60: ff_fcu_shd.g_api_dml := true; -- Set the api dml status
61: --
62: -- Delete the ff_function_context_usages row.
66: and sequence_number = p_rec.sequence_number;
67: --
68: ff_fcu_shd.g_api_dml := false; -- Unset the api dml status
69: --
70: hr_utility.set_location(' Leaving:'||l_proc, 10);
71: --
72: Exception
73: When hr_api.child_integrity_violated then
74: -- Child integrity has been violated
116: --
117: l_proc varchar2(72) := g_package||'pre_delete';
118: --
119: Begin
120: hr_utility.set_location('Entering:'||l_proc, 5);
121: --
122: hr_utility.set_location(' Leaving:'||l_proc, 10);
123: End pre_delete;
124: --
118: --
119: Begin
120: hr_utility.set_location('Entering:'||l_proc, 5);
121: --
122: hr_utility.set_location(' Leaving:'||l_proc, 10);
123: End pre_delete;
124: --
125: -- ----------------------------------------------------------------------------
126: -- |-----------------------------< post_delete >------------------------------|
158: --
159: l_proc varchar2(72) := g_package||'post_delete';
160: --
161: Begin
162: hr_utility.set_location('Entering:'||l_proc, 5);
163: begin
164: --
165: ff_fcu_rkd.after_delete
166: (p_function_id
182: ,p_hook_type => 'AD');
183: --
184: end;
185: --
186: hr_utility.set_location(' Leaving:'||l_proc, 10);
187: End post_delete;
188: --
189: -- ----------------------------------------------------------------------------
190: -- |---------------------------------< del >----------------------------------|
195: --
196: l_proc varchar2(72) := g_package||'del';
197: --
198: Begin
199: hr_utility.set_location('Entering:'||l_proc, 5);
200: --
201: -- We must lock the row which we need to delete.
202: --
203: ff_fcu_shd.lck
242: l_rec ff_fcu_shd.g_rec_type;
243: l_proc varchar2(72) := g_package||'del';
244: --
245: Begin
246: hr_utility.set_location('Entering:'||l_proc, 5);
247: --
248: -- As the delete procedure accepts a plsql record structure we do need to
249: -- convert the arguments into the record structure.
250: -- We don't need to call the supplied conversion argument routine as we
260: -- business process
261: --
262: ff_fcu_del.del(l_rec);
263: --
264: hr_utility.set_location(' Leaving:'||l_proc, 10);
265: End del;
266: --
267: end ff_fcu_del;