49: -- Internal Table Handler Use Only.
50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure insert_dml(p_rec in out nocopy ghr_rei_shd.g_rec_type) is
54: --
55: l_proc varchar2(72) := g_package||'insert_dml';
56: --
57: Begin
188: hr_utility.set_location(' Leaving:'||l_proc, 10);
189: Exception
190: When hr_api.check_integrity_violated Then
191: -- A check constraint has been violated
192: ghr_rei_shd.constraint_error
193: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
194: When hr_api.parent_integrity_violated Then
195: -- Parent integrity has been violated
196: ghr_rei_shd.constraint_error
192: ghr_rei_shd.constraint_error
193: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
194: When hr_api.parent_integrity_violated Then
195: -- Parent integrity has been violated
196: ghr_rei_shd.constraint_error
197: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
198: When hr_api.unique_integrity_violated Then
199: -- Unique integrity has been violated
200: ghr_rei_shd.constraint_error
196: ghr_rei_shd.constraint_error
197: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
198: When hr_api.unique_integrity_violated Then
199: -- Unique integrity has been violated
200: ghr_rei_shd.constraint_error
201: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
202: When Others Then
203: Raise;
204: End insert_dml;
239: -- Internal Table Handler Use Only.
240: --
241: -- {End Of Comments}
242: -- ----------------------------------------------------------------------------
243: Procedure pre_insert(p_rec in out nocopy ghr_rei_shd.g_rec_type) is
244: --
245: l_proc varchar2(72) := g_package||'pre_insert';
246: Cursor C_Sel1 is select ghr_pa_request_extra_info_s.nextval from sys.dual;
247: --
291: -- Internal Table Handler Use Only.
292: --
293: -- {End Of Comments}
294: -- ----------------------------------------------------------------------------
295: Procedure post_insert(p_rec in ghr_rei_shd.g_rec_type) is
296: --
297: l_proc varchar2(72) := g_package||'post_insert';
298: --
299: Begin
378: -- |---------------------------------< ins >----------------------------------|
379: -- ----------------------------------------------------------------------------
380: Procedure ins
381: (
382: p_rec in out nocopy ghr_rei_shd.g_rec_type,
383: p_validate in boolean default false
384: ) is
385: --
386: l_proc varchar2(72) := g_package||'ins';
496: p_program_update_date in date default null,
497: p_validate in boolean default false
498: ) is
499: --
500: l_rec ghr_rei_shd.g_rec_type;
501: l_proc varchar2(72) := g_package||'ins';
502: --
503: Begin
504: hr_utility.set_location('Entering:'||l_proc, 5);
506: -- Call conversion function to turn arguments into the
507: -- p_rec structure.
508: --
509: l_rec :=
510: ghr_rei_shd.convert_args
511: (
512: null,
513: p_pa_request_id,
514: p_information_type,