72: --
73: -- {End Of Comments}
74: -- ----------------------------------------------------------------------------
75: Procedure insert_dml
76: (p_rec in out nocopy per_cnl_shd.g_rec_type
77: ) is
78: --
79: l_proc varchar2(72) := g_package||'insert_dml';
80: --
151: Exception
152: When hr_api.check_integrity_violated Then
153: -- A check constraint has been violated
154: --
155: per_cnl_shd.constraint_error
156: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
157: When hr_api.parent_integrity_violated Then
158: -- Parent integrity has been violated
159: --
156: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
157: When hr_api.parent_integrity_violated Then
158: -- Parent integrity has been violated
159: --
160: per_cnl_shd.constraint_error
161: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
162: When hr_api.unique_integrity_violated Then
163: -- Unique integrity has been violated
164: --
161: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
162: When hr_api.unique_integrity_violated Then
163: -- Unique integrity has been violated
164: --
165: per_cnl_shd.constraint_error
166: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
167: When Others Then
168: --
169: Raise;
206: --
207: -- {End Of Comments}
208: -- ----------------------------------------------------------------------------
209: Procedure pre_insert
210: (p_rec in out nocopy per_cnl_shd.g_rec_type
211: ) is
212: --
213: Cursor C_Sel1 is select per_ri_config_locations_s.nextval from sys.dual;
214: --
294: -- {End Of Comments}
295: -- ----------------------------------------------------------------------------
296: Procedure post_insert
297: (p_effective_date in date
298: ,p_rec in per_cnl_shd.g_rec_type
299: ) is
300: --
301: l_proc varchar2(72) := g_package||'post_insert';
302: --
352: -- |---------------------------------< ins >----------------------------------|
353: -- ----------------------------------------------------------------------------
354: Procedure ins
355: (p_effective_date in date
356: ,p_rec in out nocopy per_cnl_shd.g_rec_type
357: ) is
358: --
359: l_proc varchar2(72) := g_package||'ins';
360: --
423: ,p_location_id out nocopy number
424: ,p_object_version_number out nocopy number
425: ) is
426: --
427: l_rec per_cnl_shd.g_rec_type;
428: l_proc varchar2(72) := g_package||'ins';
429: --
430: Begin
431: hr_utility.set_location('Entering:'||l_proc, 5);
433: -- Call conversion function to turn arguments into the
434: -- p_rec structure.
435: --
436: l_rec :=
437: per_cnl_shd.convert_args
438: (p_configuration_code
439: ,p_configuration_context
440: ,null
441: ,p_location_code