50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure insert_dml
54: (p_rec in out nocopy hr_fsc_shd.g_rec_type
55: ) is
56: --
57: l_proc varchar2(72) := g_package||'insert_dml';
58: --
83: Exception
84: When hr_api.check_integrity_violated Then
85: -- A check constraint has been violated
86: --
87: hr_fsc_shd.constraint_error
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: --
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: --
92: hr_fsc_shd.constraint_error
93: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.unique_integrity_violated Then
95: -- Unique integrity has been violated
96: --
93: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.unique_integrity_violated Then
95: -- Unique integrity has been violated
96: --
97: hr_fsc_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When Others Then
100: --
101: Raise;
138: --
139: -- {End Of Comments}
140: -- ----------------------------------------------------------------------------
141: Procedure pre_insert
142: (p_rec in out nocopy hr_fsc_shd.g_rec_type
143: ) is
144: --
145: l_proc varchar2(72) := g_package||'pre_insert';
146: --
191: --
192: -- {End Of Comments}
193: -- ----------------------------------------------------------------------------
194: Procedure post_insert
195: (p_rec in hr_fsc_shd.g_rec_type
196: ) is
197: --
198: l_proc varchar2(72) := g_package||'post_insert';
199: --
228: -- ----------------------------------------------------------------------------
229: -- |---------------------------------< ins >----------------------------------|
230: -- ----------------------------------------------------------------------------
231: Procedure ins
232: (p_rec in out nocopy hr_fsc_shd.g_rec_type
233: ) is
234: --
235: l_proc varchar2(72) := g_package||'ins';
236: --
269: ,p_form_tab_stacked_canvas_id out nocopy number
270: ,p_object_version_number out nocopy number
271: ) is
272: --
273: l_rec hr_fsc_shd.g_rec_type;
274: l_proc varchar2(72) := g_package||'ins';
275: --
276: Begin
277: hr_utility.set_location('Entering:'||l_proc, 5);
279: -- Call conversion function to turn arguments into the
280: -- p_rec structure.
281: --
282: l_rec :=
283: hr_fsc_shd.convert_args
284: (null
285: ,null
286: ,p_form_tab_page_id
287: ,p_form_canvas_id