72: --
73: -- {End Of Comments}
74: -- ----------------------------------------------------------------------------
75: Procedure insert_dml
76: (p_rec in out nocopy psp_erd_shd.g_rec_type
77: ) is
78: --
79: l_proc varchar2(72) := g_package||'insert_dml';
80: --
259: Exception
260: When hr_api.check_integrity_violated Then
261: -- A check constraint has been violated
262: --
263: psp_erd_shd.constraint_error
264: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
265: When hr_api.parent_integrity_violated Then
266: -- Parent integrity has been violated
267: --
264: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
265: When hr_api.parent_integrity_violated Then
266: -- Parent integrity has been violated
267: --
268: psp_erd_shd.constraint_error
269: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
270: When hr_api.unique_integrity_violated Then
271: -- Unique integrity has been violated
272: --
269: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
270: When hr_api.unique_integrity_violated Then
271: -- Unique integrity has been violated
272: --
273: psp_erd_shd.constraint_error
274: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
275: When Others Then
276: --
277: Raise;
314: --
315: -- {End Of Comments}
316: -- ----------------------------------------------------------------------------
317: Procedure pre_insert
318: (p_rec in out nocopy psp_erd_shd.g_rec_type
319: ) is
320: --
321: Cursor C_Sel1 is select psp_eff_report_details_s.nextval from sys.dual;
322: --
401: --
402: -- {End Of Comments}
403: -- ----------------------------------------------------------------------------
404: Procedure post_insert
405: (p_rec in psp_erd_shd.g_rec_type
406: ) is
407: --
408: l_proc varchar2(72) := g_package||'post_insert';
409: --
592: -- ----------------------------------------------------------------------------
593: -- |---------------------------------< ins >----------------------------------|
594: -- ----------------------------------------------------------------------------
595: Procedure ins
596: (p_rec in out nocopy psp_erd_shd.g_rec_type
597: ) is
598: --
599: l_proc varchar2(72) := g_package||'ins';
600: --
716: ,p_effort_report_detail_id out nocopy number
717: ,p_object_version_number out nocopy number
718: ) is
719: --
720: l_rec psp_erd_shd.g_rec_type;
721: l_proc varchar2(72) := g_package||'ins';
722: --
723: Begin
724: hr_utility.set_location('Entering:'||l_proc, 5);
726: -- Call conversion function to turn arguments into the
727: -- p_rec structure.
728: --
729: l_rec :=
730: psp_erd_shd.convert_args
731: (null
732: ,p_effort_report_id
733: ,null
734: ,p_assignment_id