43: -- Internal Row Handler Use Only.
44: --
45: -- {End Of Comments}
46: -- ----------------------------------------------------------------------------
47: Procedure insert_dml(p_rec in out nocopy pqh_rft_shd.g_rec_type) is
48: --
49: l_proc varchar2(72) := g_package||'insert_dml';
50: --
51: Begin
84: hr_utility.set_location(' Leaving:'||l_proc, 10);
85: Exception
86: When hr_api.check_integrity_violated Then
87: -- A check constraint has been violated
88: pqh_rft_shd.constraint_error
89: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
90: When hr_api.parent_integrity_violated Then
91: -- Parent integrity has been violated
92: pqh_rft_shd.constraint_error
88: pqh_rft_shd.constraint_error
89: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
90: When hr_api.parent_integrity_violated Then
91: -- Parent integrity has been violated
92: pqh_rft_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: pqh_rft_shd.constraint_error
92: pqh_rft_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: pqh_rft_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When Others Then
99: Raise;
100: End insert_dml;
135: -- Internal Row Handler Use Only.
136: --
137: -- {End Of Comments}
138: -- ----------------------------------------------------------------------------
139: Procedure pre_insert(p_rec in out nocopy pqh_rft_shd.g_rec_type) is
140: --
141: l_proc varchar2(72) := g_package||'pre_insert';
142: --
143: Cursor C_Sel1 is select pqh_ref_templates_s.nextval from sys.dual;
186: -- Internal Row Handler Use Only.
187: --
188: -- {End Of Comments}
189: -- ----------------------------------------------------------------------------
190: Procedure post_insert(p_effective_date in date,p_rec in pqh_rft_shd.g_rec_type) is
191: --
192: l_proc varchar2(72) := g_package||'post_insert';
193: --
194: Begin
230: -- ----------------------------------------------------------------------------
231: Procedure ins
232: (
233: p_effective_date in date,
234: p_rec in out nocopy pqh_rft_shd.g_rec_type
235: ) is
236: --
237: l_proc varchar2(72) := g_package||'ins';
238: --
268: p_reference_type_cd in varchar2,
269: p_object_version_number out nocopy number
270: ) is
271: --
272: l_rec pqh_rft_shd.g_rec_type;
273: l_proc varchar2(72) := g_package||'ins';
274: --
275: Begin
276: hr_utility.set_location('Entering:'||l_proc, 5);
278: -- Call conversion function to turn arguments into the
279: -- p_rec structure.
280: --
281: l_rec :=
282: pqh_rft_shd.convert_args
283: (
284: null,
285: p_base_template_id,
286: p_parent_template_id,