50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure insert_dml
54: (p_rec in out nocopy hr_ott_shd.g_rec_type
55: ) is
56: --
57: l_proc varchar2(72) := g_package||'insert_dml';
58: --
83: Exception
84: When hr_api.check_integrity_violated Then
85: -- A check constraint has been violated
86: --
87: hr_ott_shd.constraint_error
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: --
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: --
92: hr_ott_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: --
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: --
97: hr_ott_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When Others Then
100: --
101: Raise;
138: --
139: -- {End Of Comments}
140: -- ----------------------------------------------------------------------------
141: Procedure pre_insert
142: (p_rec in out nocopy hr_ott_shd.g_rec_type
143: ,p_option_type_id in number
144: ) is
145: --
146: l_proc varchar2(72) := g_package||'pre_insert';
185: --
186: -- {End Of Comments}
187: -- ----------------------------------------------------------------------------
188: Procedure post_insert
189: (p_rec in hr_ott_shd.g_rec_type
190: ) is
191: --
192: l_proc varchar2(72) := g_package||'post_insert';
193: --
223: -- ----------------------------------------------------------------------------
224: -- |---------------------------------< ins >----------------------------------|
225: -- ----------------------------------------------------------------------------
226: Procedure ins
227: (p_rec in out nocopy hr_ott_shd.g_rec_type
228: ,p_option_type_id in number
229: ) is
230: --
231: l_proc varchar2(72) := g_package||'ins';
275: ,p_language in varchar2
276: ,p_source_lang in varchar2
277: ) is
278: --
279: l_rec hr_ott_shd.g_rec_type;
280: l_proc varchar2(72) := g_package||'ins';
281: --
282: Begin
283: hr_utility.set_location('Entering:'||l_proc, 5);
285: -- Call conversion function to turn arguments into the
286: -- p_rec structure.
287: --
288: l_rec :=
289: hr_ott_shd.convert_args
290: (null
291: ,p_option_name
292: ,p_language
293: ,p_source_lang