72: --
73: -- {End Of Comments}
74: -- ----------------------------------------------------------------------------
75: Procedure insert_dml
76: (p_rec in out nocopy ota_off_shd.g_rec_type
77: ) is
78: --
79: l_proc varchar2(72) := g_package||'insert_dml';
80: --
197: Exception
198: When hr_api.check_integrity_violated Then
199: -- A check constraint has been violated
200: --
201: ota_off_shd.constraint_error
202: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
203: When hr_api.parent_integrity_violated Then
204: -- Parent integrity has been violated
205: --
202: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
203: When hr_api.parent_integrity_violated Then
204: -- Parent integrity has been violated
205: --
206: ota_off_shd.constraint_error
207: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
208: When hr_api.unique_integrity_violated Then
209: -- Unique integrity has been violated
210: --
207: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
208: When hr_api.unique_integrity_violated Then
209: -- Unique integrity has been violated
210: --
211: ota_off_shd.constraint_error
212: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
213: When Others Then
214: --
215: Raise;
252: --
253: -- {End Of Comments}
254: -- ----------------------------------------------------------------------------
255: Procedure pre_insert
256: (p_rec in out nocopy ota_off_shd.g_rec_type
257: ) is
258: --
259: Cursor C_Sel1 is select ota_offerings_s.nextval from sys.dual;
260: --
340: -- {End Of Comments}
341: -- ----------------------------------------------------------------------------
342: Procedure post_insert
343: (p_effective_date in date
344: ,p_rec in ota_off_shd.g_rec_type
345: ) is
346: --
347: l_proc varchar2(72) := g_package||'post_insert';
348: --
468: -- |---------------------------------< ins >----------------------------------|
469: -- ----------------------------------------------------------------------------
470: Procedure ins
471: (p_effective_date in date
472: ,p_rec in out nocopy ota_off_shd.g_rec_type
473: ,p_name in varchar
474: ) is
475: --
476: l_proc varchar2(72) := g_package||'ins';
567: ,p_language_code in varchar2 default null -- 2733966
568:
569: ) is
570: --
571: l_rec ota_off_shd.g_rec_type;
572: l_proc varchar2(72) := g_package||'ins';
573: --
574: Begin
575: hr_utility.set_location('Entering:'||l_proc, 5);
577: -- Call conversion function to turn arguments into the
578: -- p_rec structure.
579: --
580: l_rec :=
581: ota_off_shd.convert_args
582: (null
583: ,p_activity_version_id
584: ,p_business_group_id
585: ,p_name