DBA Data[Home] [Help]

APPS.BEN_PIL_INS dependencies on BEN_PIL_SHD

Line 53: Procedure insert_dml(p_rec in out nocopy ben_pil_shd.g_rec_type) is

49: -- Internal Row Handler Use Only.
50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure insert_dml(p_rec in out nocopy ben_pil_shd.g_rec_type) is
54: --
55: l_proc varchar2(72) := g_package||'insert_dml';
56: --
57: Begin

Line 61: ben_pil_shd.g_api_dml := true; -- Set the api dml status

57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: p_rec.object_version_number := 1; -- Initialise the object version
60: --
61: ben_pil_shd.g_api_dml := true; -- Set the api dml status
62: --
63: -- Insert the row into: ben_per_in_ler
64: --
65: insert into ben_per_in_ler

Line 184: ben_pil_shd.g_api_dml := false; -- Unset the api dml status

180: p_rec.program_update_date,
181: p_rec.object_version_number
182: );
183: --
184: ben_pil_shd.g_api_dml := false; -- Unset the api dml status
185: --
186: hr_utility.set_location(' Leaving:'||l_proc, 10);
187: Exception
188: When hr_api.check_integrity_violated Then

Line 190: ben_pil_shd.g_api_dml := false; -- Unset the api dml status

186: hr_utility.set_location(' Leaving:'||l_proc, 10);
187: Exception
188: When hr_api.check_integrity_violated Then
189: -- A check constraint has been violated
190: ben_pil_shd.g_api_dml := false; -- Unset the api dml status
191: ben_pil_shd.constraint_error
192: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
193: When hr_api.parent_integrity_violated Then
194: -- Parent integrity has been violated

Line 191: ben_pil_shd.constraint_error

187: Exception
188: When hr_api.check_integrity_violated Then
189: -- A check constraint has been violated
190: ben_pil_shd.g_api_dml := false; -- Unset the api dml status
191: ben_pil_shd.constraint_error
192: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
193: When hr_api.parent_integrity_violated Then
194: -- Parent integrity has been violated
195: ben_pil_shd.g_api_dml := false; -- Unset the api dml status

Line 195: ben_pil_shd.g_api_dml := false; -- Unset the api dml status

191: ben_pil_shd.constraint_error
192: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
193: When hr_api.parent_integrity_violated Then
194: -- Parent integrity has been violated
195: ben_pil_shd.g_api_dml := false; -- Unset the api dml status
196: ben_pil_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

Line 196: ben_pil_shd.constraint_error

192: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
193: When hr_api.parent_integrity_violated Then
194: -- Parent integrity has been violated
195: ben_pil_shd.g_api_dml := false; -- Unset the api dml status
196: ben_pil_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: ben_pil_shd.g_api_dml := false; -- Unset the api dml status

Line 200: ben_pil_shd.g_api_dml := false; -- Unset the api dml status

196: ben_pil_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: ben_pil_shd.g_api_dml := false; -- Unset the api dml status
201: ben_pil_shd.constraint_error
202: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
203: When Others Then
204: ben_pil_shd.g_api_dml := false; -- Unset the api dml status

Line 201: ben_pil_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: ben_pil_shd.g_api_dml := false; -- Unset the api dml status
201: ben_pil_shd.constraint_error
202: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
203: When Others Then
204: ben_pil_shd.g_api_dml := false; -- Unset the api dml status
205: Raise;

Line 204: ben_pil_shd.g_api_dml := false; -- Unset the api dml status

200: ben_pil_shd.g_api_dml := false; -- Unset the api dml status
201: ben_pil_shd.constraint_error
202: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
203: When Others Then
204: ben_pil_shd.g_api_dml := false; -- Unset the api dml status
205: Raise;
206: End insert_dml;
207: --
208: -- ----------------------------------------------------------------------------

Line 245: Procedure pre_insert(p_rec in out nocopy ben_pil_shd.g_rec_type) is

241: -- Internal Row Handler Use Only.
242: --
243: -- {End Of Comments}
244: -- ----------------------------------------------------------------------------
245: Procedure pre_insert(p_rec in out nocopy ben_pil_shd.g_rec_type) is
246: --
247: l_proc varchar2(72) := g_package||'pre_insert';
248: --
249: Cursor C_Sel1 is select ben_per_in_ler_s.nextval from sys.dual;

Line 297: p_effective_date in date,p_rec in ben_pil_shd.g_rec_type) is

293: --
294: -- {End Of Comments}
295: -- ----------------------------------------------------------------------------
296: Procedure post_insert(
297: p_effective_date in date,p_rec in ben_pil_shd.g_rec_type) is
298: --
299: l_proc varchar2(72) := g_package||'post_insert';
300: --
301: Begin

Line 393: p_rec in out nocopy ben_pil_shd.g_rec_type

389: -- ----------------------------------------------------------------------------
390: Procedure ins
391: (
392: p_effective_date in date,
393: p_rec in out nocopy ben_pil_shd.g_rec_type
394: ) is
395: --
396: l_proc varchar2(72) := g_package||'ins';
397: --

Line 485: l_rec ben_pil_shd.g_rec_type;

481: p_program_update_date in date default null,
482: p_object_version_number out nocopy number
483: ) is
484: --
485: l_rec ben_pil_shd.g_rec_type;
486: l_proc varchar2(72) := g_package||'ins';
487: --
488: Begin
489: hr_utility.set_location('Entering:'||l_proc, 5);

Line 495: ben_pil_shd.convert_args

491: -- Call conversion function to turn arguments into the
492: -- p_rec structure.
493: --
494: l_rec :=
495: ben_pil_shd.convert_args
496: (
497: null,
498: p_per_in_ler_stat_cd,
499: p_prvs_stat_cd,