DBA Data[Home] [Help]

APPS.BEN_ENP_INS dependencies on BEN_ENP_SHD

Line 53: Procedure insert_dml(p_rec in out nocopy ben_enp_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_enp_shd.g_rec_type) is
54: --
55: l_proc varchar2(72) := g_package||'insert_dml';
56: --
57: Begin

Line 61: ben_enp_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_enp_shd.g_api_dml := true; -- Set the api dml status
62: --
63: -- Insert the row into: ben_enrt_perd
64: --
65: insert into ben_enrt_perd

Line 224: ben_enp_shd.g_api_dml := false; -- Unset the api dml status

220: p_rec.reopen_le_on_reprocess,
221: p_rec.defer_deenrol_flag
222: );
223: --
224: ben_enp_shd.g_api_dml := false; -- Unset the api dml status
225: --
226: hr_utility.set_location(' Leaving:'||l_proc, 10);
227: Exception
228: When hr_api.check_integrity_violated Then

Line 230: ben_enp_shd.g_api_dml := false; -- Unset the api dml status

226: hr_utility.set_location(' Leaving:'||l_proc, 10);
227: Exception
228: When hr_api.check_integrity_violated Then
229: -- A check constraint has been violated
230: ben_enp_shd.g_api_dml := false; -- Unset the api dml status
231: ben_enp_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When hr_api.parent_integrity_violated Then
234: -- Parent integrity has been violated

Line 231: ben_enp_shd.constraint_error

227: Exception
228: When hr_api.check_integrity_violated Then
229: -- A check constraint has been violated
230: ben_enp_shd.g_api_dml := false; -- Unset the api dml status
231: ben_enp_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When hr_api.parent_integrity_violated Then
234: -- Parent integrity has been violated
235: ben_enp_shd.g_api_dml := false; -- Unset the api dml status

Line 235: ben_enp_shd.g_api_dml := false; -- Unset the api dml status

231: ben_enp_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When hr_api.parent_integrity_violated Then
234: -- Parent integrity has been violated
235: ben_enp_shd.g_api_dml := false; -- Unset the api dml status
236: ben_enp_shd.constraint_error
237: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
238: When hr_api.unique_integrity_violated Then
239: -- Unique integrity has been violated

Line 236: ben_enp_shd.constraint_error

232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When hr_api.parent_integrity_violated Then
234: -- Parent integrity has been violated
235: ben_enp_shd.g_api_dml := false; -- Unset the api dml status
236: ben_enp_shd.constraint_error
237: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
238: When hr_api.unique_integrity_violated Then
239: -- Unique integrity has been violated
240: ben_enp_shd.g_api_dml := false; -- Unset the api dml status

Line 240: ben_enp_shd.g_api_dml := false; -- Unset the api dml status

236: ben_enp_shd.constraint_error
237: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
238: When hr_api.unique_integrity_violated Then
239: -- Unique integrity has been violated
240: ben_enp_shd.g_api_dml := false; -- Unset the api dml status
241: ben_enp_shd.constraint_error
242: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
243: When Others Then
244: ben_enp_shd.g_api_dml := false; -- Unset the api dml status

Line 241: ben_enp_shd.constraint_error

237: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
238: When hr_api.unique_integrity_violated Then
239: -- Unique integrity has been violated
240: ben_enp_shd.g_api_dml := false; -- Unset the api dml status
241: ben_enp_shd.constraint_error
242: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
243: When Others Then
244: ben_enp_shd.g_api_dml := false; -- Unset the api dml status
245: Raise;

Line 244: ben_enp_shd.g_api_dml := false; -- Unset the api dml status

240: ben_enp_shd.g_api_dml := false; -- Unset the api dml status
241: ben_enp_shd.constraint_error
242: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
243: When Others Then
244: ben_enp_shd.g_api_dml := false; -- Unset the api dml status
245: Raise;
246: End insert_dml;
247: --
248: -- ----------------------------------------------------------------------------

Line 285: Procedure pre_insert(p_rec in out nocopy ben_enp_shd.g_rec_type) is

281: -- Internal Row Handler Use Only.
282: --
283: -- {End Of Comments}
284: -- ----------------------------------------------------------------------------
285: Procedure pre_insert(p_rec in out nocopy ben_enp_shd.g_rec_type) is
286: --
287: l_proc varchar2(72) := g_package||'pre_insert';
288: --
289: Cursor C_Sel1 is select ben_enrt_perd_s.nextval from sys.dual;

Line 337: p_effective_date in date,p_rec in ben_enp_shd.g_rec_type) is

333: --
334: -- {End Of Comments}
335: -- ----------------------------------------------------------------------------
336: Procedure post_insert(
337: p_effective_date in date,p_rec in ben_enp_shd.g_rec_type) is
338: --
339: l_proc varchar2(72) := g_package||'post_insert';
340: --
341: Begin

Line 455: p_rec in out nocopy ben_enp_shd.g_rec_type

451: -- ----------------------------------------------------------------------------
452: Procedure ins
453: (
454: p_effective_date in date,
455: p_rec in out nocopy ben_enp_shd.g_rec_type
456: ) is
457: --
458: l_proc varchar2(72) := g_package||'ins';
459: --

Line 568: l_rec ben_enp_shd.g_rec_type;

564: ,p_reopen_le_on_reprocess in varchar2
565: ,p_defer_deenrol_flag in varchar2
566: ) is
567: --
568: l_rec ben_enp_shd.g_rec_type;
569: l_proc varchar2(72) := g_package||'ins';
570: --
571: Begin
572: hr_utility.set_location('Entering:'||l_proc, 5);

Line 578: ben_enp_shd.convert_args

574: -- Call conversion function to turn arguments into the
575: -- p_rec structure.
576: --
577: l_rec :=
578: ben_enp_shd.convert_args
579: (
580: null,
581: p_business_group_id,
582: p_yr_perd_id,