DBA Data[Home] [Help]

APPS.BEN_CRT_INS dependencies on BEN_CRT_SHD

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

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

Line 174: ben_crt_shd.g_api_dml := false; -- Unset the api dml status

170: p_rec.qdro_per_perd_cd,
171: p_rec.pl_typ_id
172: );
173: --
174: ben_crt_shd.g_api_dml := false; -- Unset the api dml status
175: --
176: hr_utility.set_location(' Leaving:'||l_proc, 10);
177: Exception
178: When hr_api.check_integrity_violated Then

Line 180: ben_crt_shd.g_api_dml := false; -- Unset the api dml status

176: hr_utility.set_location(' Leaving:'||l_proc, 10);
177: Exception
178: When hr_api.check_integrity_violated Then
179: -- A check constraint has been violated
180: ben_crt_shd.g_api_dml := false; -- Unset the api dml status
181: ben_crt_shd.constraint_error
182: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
183: When hr_api.parent_integrity_violated Then
184: -- Parent integrity has been violated

Line 181: ben_crt_shd.constraint_error

177: Exception
178: When hr_api.check_integrity_violated Then
179: -- A check constraint has been violated
180: ben_crt_shd.g_api_dml := false; -- Unset the api dml status
181: ben_crt_shd.constraint_error
182: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
183: When hr_api.parent_integrity_violated Then
184: -- Parent integrity has been violated
185: ben_crt_shd.g_api_dml := false; -- Unset the api dml status

Line 185: ben_crt_shd.g_api_dml := false; -- Unset the api dml status

181: ben_crt_shd.constraint_error
182: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
183: When hr_api.parent_integrity_violated Then
184: -- Parent integrity has been violated
185: ben_crt_shd.g_api_dml := false; -- Unset the api dml status
186: ben_crt_shd.constraint_error
187: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
188: When hr_api.unique_integrity_violated Then
189: -- Unique integrity has been violated

Line 186: ben_crt_shd.constraint_error

182: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
183: When hr_api.parent_integrity_violated Then
184: -- Parent integrity has been violated
185: ben_crt_shd.g_api_dml := false; -- Unset the api dml status
186: ben_crt_shd.constraint_error
187: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
188: When hr_api.unique_integrity_violated Then
189: -- Unique integrity has been violated
190: ben_crt_shd.g_api_dml := false; -- Unset the api dml status

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

186: ben_crt_shd.constraint_error
187: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
188: When hr_api.unique_integrity_violated Then
189: -- Unique integrity has been violated
190: ben_crt_shd.g_api_dml := false; -- Unset the api dml status
191: ben_crt_shd.constraint_error
192: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
193: When Others Then
194: ben_crt_shd.g_api_dml := false; -- Unset the api dml status

Line 191: ben_crt_shd.constraint_error

187: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
188: When hr_api.unique_integrity_violated Then
189: -- Unique integrity has been violated
190: ben_crt_shd.g_api_dml := false; -- Unset the api dml status
191: ben_crt_shd.constraint_error
192: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
193: When Others Then
194: ben_crt_shd.g_api_dml := false; -- Unset the api dml status
195: Raise;

Line 194: ben_crt_shd.g_api_dml := false; -- Unset the api dml status

190: ben_crt_shd.g_api_dml := false; -- Unset the api dml status
191: ben_crt_shd.constraint_error
192: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
193: When Others Then
194: ben_crt_shd.g_api_dml := false; -- Unset the api dml status
195: Raise;
196: End insert_dml;
197: --
198: -- ----------------------------------------------------------------------------

Line 235: Procedure pre_insert(p_rec in out nocopy ben_crt_shd.g_rec_type) is

231: -- Internal Row Handler Use Only.
232: --
233: -- {End Of Comments}
234: -- ----------------------------------------------------------------------------
235: Procedure pre_insert(p_rec in out nocopy ben_crt_shd.g_rec_type) is
236: --
237: l_proc varchar2(72) := g_package||'pre_insert';
238: --
239: Cursor C_Sel1 is select ben_crt_ordr_s.nextval from sys.dual;

Line 287: p_effective_date in date,p_rec in ben_crt_shd.g_rec_type) is

283: --
284: -- {End Of Comments}
285: -- ----------------------------------------------------------------------------
286: Procedure post_insert(
287: p_effective_date in date,p_rec in ben_crt_shd.g_rec_type) is
288: --
289: l_proc varchar2(72) := g_package||'post_insert';
290: l_old_rec ben_crt_ler.g_crt_ler_rec ;
291: l_new_rec ben_crt_ler.g_crt_ler_rec ;

Line 399: p_rec in out nocopy ben_crt_shd.g_rec_type

395: -- ----------------------------------------------------------------------------
396: Procedure ins
397: (
398: p_effective_date in date,
399: p_rec in out nocopy ben_crt_shd.g_rec_type
400: ) is
401: --
402: l_proc varchar2(72) := g_package||'ins';
403: --

Line 484: l_rec ben_crt_shd.g_rec_type;

480: p_qdro_per_perd_cd in varchar2 default null,
481: p_pl_typ_id in number default null
482: ) is
483: --
484: l_rec ben_crt_shd.g_rec_type;
485: l_proc varchar2(72) := g_package||'ins';
486: --
487: Begin
488: hr_utility.set_location('Entering:'||l_proc, 5);

Line 494: ben_crt_shd.convert_args

490: -- Call conversion function to turn arguments into the
491: -- p_rec structure.
492: --
493: l_rec :=
494: ben_crt_shd.convert_args
495: (
496: null,
497: p_crt_ordr_typ_cd,
498: p_apls_perd_endg_dt,