46: -- Internal Row Handler Use Only.
47: --
48: -- {End Of Comments}
49: -- ----------------------------------------------------------------------------
50: Procedure insert_dml(p_rec in out nocopy pqh_cef_shd.g_rec_type) is
51: --
52: l_proc varchar2(72) := g_package||'insert_dml';
53: --
54: Begin
99: hr_utility.set_location(' Leaving:'||l_proc, 10);
100: Exception
101: When hr_api.check_integrity_violated Then
102: -- A check constraint has been violated
103: pqh_cef_shd.constraint_error
104: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
105: When hr_api.parent_integrity_violated Then
106: -- Parent integrity has been violated
107: pqh_cef_shd.constraint_error
103: pqh_cef_shd.constraint_error
104: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
105: When hr_api.parent_integrity_violated Then
106: -- Parent integrity has been violated
107: pqh_cef_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
109: When hr_api.unique_integrity_violated Then
110: -- Unique integrity has been violated
111: pqh_cef_shd.constraint_error
107: pqh_cef_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
109: When hr_api.unique_integrity_violated Then
110: -- Unique integrity has been violated
111: pqh_cef_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When Others Then
114: Raise;
115: End insert_dml;
150: -- Internal Row Handler Use Only.
151: --
152: -- {End Of Comments}
153: -- ----------------------------------------------------------------------------
154: Procedure pre_insert(p_rec in out nocopy pqh_cef_shd.g_rec_type) is
155: --
156: l_proc varchar2(72) := g_package||'pre_insert';
157: --
158: Cursor C_Sel1 is select pqh_copy_entity_functions_s.nextval from sys.dual;
202: --
203: -- {End Of Comments}
204: -- ----------------------------------------------------------------------------
205: Procedure post_insert(
206: p_effective_date in date,p_rec in pqh_cef_shd.g_rec_type) is
207: --
208: l_proc varchar2(72) := g_package||'post_insert';
209: --
210: Begin
249: -- ----------------------------------------------------------------------------
250: Procedure ins
251: (
252: p_effective_date in date,
253: p_rec in out nocopy pqh_cef_shd.g_rec_type
254: ) is
255: --
256: l_proc varchar2(72) := g_package||'ins';
257: --
292: p_object_version_number out nocopy number,
293: p_context in varchar2
294: ) is
295: --
296: l_rec pqh_cef_shd.g_rec_type;
297: l_proc varchar2(72) := g_package||'ins';
298: --
299: Begin
300: hr_utility.set_location('Entering:'||l_proc, 5);
302: -- Call conversion function to turn arguments into the
303: -- p_rec structure.
304: --
305: l_rec :=
306: pqh_cef_shd.convert_args
307: (
308: null,
309: p_table_route_id,
310: p_function_type_cd,