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_ssm_shd.g_api_dml := true; -- Set the api dml status
59: --
60: -- Delete the per_salary_survey_mappings row.
63: where salary_survey_mapping_id = p_rec.salary_survey_mapping_id;
64: --
65: per_ssm_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: begin
162: per_ssm_rkd.after_delete
163: (
194: p_attribute20_o => per_ssm_shd.g_old_rec.attribute20
195: );
196: end;
197: --
198: hr_utility.set_location(' Leaving:'||l_proc, 10);
199: End post_delete;
200: --
201: -- ----------------------------------------------------------------------------
202: -- |---------------------------------< del >----------------------------------|
208: --
209: l_proc varchar2(72) := g_package||'del';
210: --
211: Begin
212: hr_utility.set_location('Entering:'||l_proc, 5);
213: --
214: -- We must lock the row which we need to delete.
215: --
216: per_ssm_shd.lck
248: l_rec per_ssm_shd.g_rec_type;
249: l_proc varchar2(72) := g_package||'del';
250: --
251: Begin
252: hr_utility.set_location('Entering:'||l_proc, 5);
253: --
254: -- As the delete procedure accepts a plsql record structure we do need to
255: -- convert the arguments into the record structure.
256: -- We don't need to call the supplied conversion argument routine as we
264: -- business process
265: --
266: del(l_rec);
267: --
268: hr_utility.set_location(' Leaving:'||l_proc, 10);
269: End del;
270: --
271: end per_ssm_del;