DBA Data[Home] [Help]

APPS.BEN_PRV_INS dependencies on BEN_PRV_SHD

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

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

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

196: p_rec.pk_id,
197: p_rec.object_version_number
198: );
199: --
200: ben_prv_shd.g_api_dml := false; -- Unset the api dml status
201: --
202: hr_utility.set_location(' Leaving:'||l_proc, 10);
203: Exception
204: When hr_api.check_integrity_violated Then

Line 206: ben_prv_shd.g_api_dml := false; -- Unset the api dml status

202: hr_utility.set_location(' Leaving:'||l_proc, 10);
203: Exception
204: When hr_api.check_integrity_violated Then
205: -- A check constraint has been violated
206: ben_prv_shd.g_api_dml := false; -- Unset the api dml status
207: ben_prv_shd.constraint_error
208: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
209: When hr_api.parent_integrity_violated Then
210: -- Parent integrity has been violated

Line 207: ben_prv_shd.constraint_error

203: Exception
204: When hr_api.check_integrity_violated Then
205: -- A check constraint has been violated
206: ben_prv_shd.g_api_dml := false; -- Unset the api dml status
207: ben_prv_shd.constraint_error
208: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
209: When hr_api.parent_integrity_violated Then
210: -- Parent integrity has been violated
211: ben_prv_shd.g_api_dml := false; -- Unset the api dml status

Line 211: ben_prv_shd.g_api_dml := false; -- Unset the api dml status

207: ben_prv_shd.constraint_error
208: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
209: When hr_api.parent_integrity_violated Then
210: -- Parent integrity has been violated
211: ben_prv_shd.g_api_dml := false; -- Unset the api dml status
212: ben_prv_shd.constraint_error
213: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
214: When hr_api.unique_integrity_violated Then
215: -- Unique integrity has been violated

Line 212: ben_prv_shd.constraint_error

208: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
209: When hr_api.parent_integrity_violated Then
210: -- Parent integrity has been violated
211: ben_prv_shd.g_api_dml := false; -- Unset the api dml status
212: ben_prv_shd.constraint_error
213: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
214: When hr_api.unique_integrity_violated Then
215: -- Unique integrity has been violated
216: ben_prv_shd.g_api_dml := false; -- Unset the api dml status

Line 216: ben_prv_shd.g_api_dml := false; -- Unset the api dml status

212: ben_prv_shd.constraint_error
213: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
214: When hr_api.unique_integrity_violated Then
215: -- Unique integrity has been violated
216: ben_prv_shd.g_api_dml := false; -- Unset the api dml status
217: ben_prv_shd.constraint_error
218: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
219: When Others Then
220: ben_prv_shd.g_api_dml := false; -- Unset the api dml status

Line 217: ben_prv_shd.constraint_error

213: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
214: When hr_api.unique_integrity_violated Then
215: -- Unique integrity has been violated
216: ben_prv_shd.g_api_dml := false; -- Unset the api dml status
217: ben_prv_shd.constraint_error
218: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
219: When Others Then
220: ben_prv_shd.g_api_dml := false; -- Unset the api dml status
221: Raise;

Line 220: ben_prv_shd.g_api_dml := false; -- Unset the api dml status

216: ben_prv_shd.g_api_dml := false; -- Unset the api dml status
217: ben_prv_shd.constraint_error
218: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
219: When Others Then
220: ben_prv_shd.g_api_dml := false; -- Unset the api dml status
221: Raise;
222: End insert_dml;
223: --
224: -- ----------------------------------------------------------------------------

Line 261: Procedure pre_insert(p_rec in out nocopy ben_prv_shd.g_rec_type) is

257: -- Internal Row Handler Use Only.
258: --
259: -- {End Of Comments}
260: -- ----------------------------------------------------------------------------
261: Procedure pre_insert(p_rec in out nocopy ben_prv_shd.g_rec_type) is
262: --
263: l_proc varchar2(72) := g_package||'pre_insert';
264: --
265: Cursor C_Sel1 is select ben_prtt_rt_val_s.nextval from sys.dual;

Line 317: Procedure post_insert(p_rec in ben_prv_shd.g_rec_type,p_effective_date in date) is

313: -- Internal Row Handler Use Only.
314: --
315: -- {End Of Comments}
316: -- ----------------------------------------------------------------------------
317: Procedure post_insert(p_rec in ben_prv_shd.g_rec_type,p_effective_date in date) is
318: --
319: l_proc varchar2(72) := g_package||'post_insert';
320: -- p_effective_date date := sysdate;
321: l_old_rec ben_prv_ler.g_prv_ler_rec ;

Line 445: p_rec in out nocopy ben_prv_shd.g_rec_type ,

441: -- |---------------------------------< ins >----------------------------------|
442: -- ----------------------------------------------------------------------------
443: Procedure ins
444: (
445: p_rec in out nocopy ben_prv_shd.g_rec_type ,
446: p_effective_date in date
447: ) is
448: --
449: l_proc varchar2(72) := g_package||'ins';

Line 547: l_rec ben_prv_shd.g_rec_type;

543: p_object_version_number out nocopy number ,
544: p_effective_date in date
545: ) is
546: --
547: l_rec ben_prv_shd.g_rec_type;
548: l_proc varchar2(72) := g_package||'ins';
549: --
550: Begin
551: hr_utility.set_location('Entering:'||l_proc, 5);

Line 557: ben_prv_shd.convert_args

553: -- Call conversion function to turn arguments into the
554: -- p_rec structure.
555: --
556: l_rec :=
557: ben_prv_shd.convert_args
558: (
559: null,
560: p_enrt_rt_id,
561: p_rt_strt_dt,