72: --
73: -- {End Of Comments}
74: -- ----------------------------------------------------------------------------
75: Procedure insert_dml
76: (p_rec in out nocopy pqh_opg_shd.g_rec_type
77: ) is
78: --
79: l_proc varchar2(72) := g_package||'insert_dml';
80: --
107: Exception
108: When hr_api.check_integrity_violated Then
109: -- A check constraint has been violated
110: --
111: pqh_opg_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When hr_api.parent_integrity_violated Then
114: -- Parent integrity has been violated
115: --
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When hr_api.parent_integrity_violated Then
114: -- Parent integrity has been violated
115: --
116: pqh_opg_shd.constraint_error
117: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
118: When hr_api.unique_integrity_violated Then
119: -- Unique integrity has been violated
120: --
117: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
118: When hr_api.unique_integrity_violated Then
119: -- Unique integrity has been violated
120: --
121: pqh_opg_shd.constraint_error
122: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
123: When Others Then
124: --
125: Raise;
162: --
163: -- {End Of Comments}
164: -- ----------------------------------------------------------------------------
165: Procedure pre_insert
166: (p_rec in out nocopy pqh_opg_shd.g_rec_type
167: ) is
168: --
169: Cursor C_Sel1 is select pqh_de_operation_groups_s.nextval from sys.dual;
170: --
250: -- {End Of Comments}
251: -- ----------------------------------------------------------------------------
252: Procedure post_insert
253: (p_effective_date in date
254: ,p_rec in pqh_opg_shd.g_rec_type
255: ) is
256: --
257: l_proc varchar2(72) := g_package||'post_insert';
258: --
291: -- |---------------------------------< ins >----------------------------------|
292: -- ----------------------------------------------------------------------------
293: Procedure ins
294: (p_effective_date in date
295: ,p_rec in out nocopy pqh_opg_shd.g_rec_type
296: ) is
297: --
298: l_proc varchar2(72) := g_package||'ins';
299: --
348: ,p_operation_group_id out nocopy number
349: ,p_object_version_number out nocopy number
350: ) is
351: --
352: l_rec pqh_opg_shd.g_rec_type;
353: l_proc varchar2(72) := g_package||'ins';
354: --
355: Begin
356: hr_utility.set_location('Entering:'||l_proc, 5);
358: -- Call conversion function to turn arguments into the
359: -- p_rec structure.
360: --
361: l_rec :=
362: pqh_opg_shd.convert_args
363: (null
364: ,p_operation_group_code
365: ,p_description
366: ,p_business_group_id