DBA Data[Home] [Help]

APPS.BEN_ECR_INS dependencies on BEN_ECR_SHD

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

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

Line 263: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status

259: p_rec.program_update_date,
260: p_rec.object_version_number
261: );
262: --
263: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status
264: --
265: hr_utility.set_location(' Leaving:'||l_proc, 10);
266: Exception
267: When hr_api.check_integrity_violated Then

Line 269: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status

265: hr_utility.set_location(' Leaving:'||l_proc, 10);
266: Exception
267: When hr_api.check_integrity_violated Then
268: -- A check constraint has been violated
269: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status
270: ben_ecr_shd.constraint_error
271: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
272: When hr_api.parent_integrity_violated Then
273: -- Parent integrity has been violated

Line 270: ben_ecr_shd.constraint_error

266: Exception
267: When hr_api.check_integrity_violated Then
268: -- A check constraint has been violated
269: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status
270: ben_ecr_shd.constraint_error
271: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
272: When hr_api.parent_integrity_violated Then
273: -- Parent integrity has been violated
274: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status

Line 274: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status

270: ben_ecr_shd.constraint_error
271: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
272: When hr_api.parent_integrity_violated Then
273: -- Parent integrity has been violated
274: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status
275: ben_ecr_shd.constraint_error
276: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
277: When hr_api.unique_integrity_violated Then
278: -- Unique integrity has been violated

Line 275: ben_ecr_shd.constraint_error

271: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
272: When hr_api.parent_integrity_violated Then
273: -- Parent integrity has been violated
274: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status
275: ben_ecr_shd.constraint_error
276: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
277: When hr_api.unique_integrity_violated Then
278: -- Unique integrity has been violated
279: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status

Line 279: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status

275: ben_ecr_shd.constraint_error
276: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
277: When hr_api.unique_integrity_violated Then
278: -- Unique integrity has been violated
279: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status
280: ben_ecr_shd.constraint_error
281: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
282: When Others Then
283: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status

Line 280: ben_ecr_shd.constraint_error

276: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
277: When hr_api.unique_integrity_violated Then
278: -- Unique integrity has been violated
279: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status
280: ben_ecr_shd.constraint_error
281: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
282: When Others Then
283: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status
284: Raise;

Line 283: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status

279: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status
280: ben_ecr_shd.constraint_error
281: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
282: When Others Then
283: ben_ecr_shd.g_api_dml := false; -- Unset the api dml status
284: Raise;
285: End insert_dml;
286: --
287: -- ----------------------------------------------------------------------------

Line 324: Procedure pre_insert(p_rec in out nocopy ben_ecr_shd.g_rec_type) is

320: -- Internal Row Handler Use Only.
321: --
322: -- {End Of Comments}
323: -- ----------------------------------------------------------------------------
324: Procedure pre_insert(p_rec in out nocopy ben_ecr_shd.g_rec_type) is
325: --
326: l_proc varchar2(72) := g_package||'pre_insert';
327: --
328: Cursor C_Sel1 is select ben_enrt_rt_s.nextval from sys.dual;

Line 375: Procedure post_insert(p_rec in ben_ecr_shd.g_rec_type,

371: -- Internal Row Handler Use Only.
372: --
373: -- {End Of Comments}
374: -- ----------------------------------------------------------------------------
375: Procedure post_insert(p_rec in ben_ecr_shd.g_rec_type,
376: p_effective_date in date) is
377: --
378: l_proc varchar2(72) := g_package||'post_insert';
379: --

Line 390: (p_rec in out nocopy ben_ecr_shd.g_rec_type,

386: -- ----------------------------------------------------------------------------
387: -- |---------------------------------< ins >----------------------------------|
388: -- ----------------------------------------------------------------------------
389: Procedure ins
390: (p_rec in out nocopy ben_ecr_shd.g_rec_type,
391: p_effective_date in date) is
392: --
393: l_proc varchar2(72) := g_package||'ins';
394: --

Line 520: l_rec ben_ecr_shd.g_rec_type;

516: p_program_update_date in DATE DEFAULT NULL,
517: p_object_version_number out nocopy NUMBER )
518: is
519: --
520: l_rec ben_ecr_shd.g_rec_type;
521: l_proc varchar2(72) := g_package||'ins';
522: --
523: Begin
524: hr_utility.set_location('Entering:'||l_proc, 5);

Line 530: ben_ecr_shd.convert_args

526: -- Call conversion function to turn arguments into the
527: -- p_rec structure.
528: --
529: l_rec :=
530: ben_ecr_shd.convert_args
531: (
532: null,
533: p_ordr_num,
534: p_acty_typ_cd,