DBA Data[Home] [Help]

APPS.BEN_ERC_INS dependencies on BEN_ERC_SHD

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

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

Line 152: ben_erc_shd.g_api_dml := false; -- Unset the api dml status

148: p_rec.program_update_date,
149: p_rec.object_version_number
150: );
151: --
152: ben_erc_shd.g_api_dml := false; -- Unset the api dml status
153: --
154: hr_utility.set_location(' Leaving:'||l_proc, 10);
155: Exception
156: When hr_api.check_integrity_violated Then

Line 158: ben_erc_shd.g_api_dml := false; -- Unset the api dml status

154: hr_utility.set_location(' Leaving:'||l_proc, 10);
155: Exception
156: When hr_api.check_integrity_violated Then
157: -- A check constraint has been violated
158: ben_erc_shd.g_api_dml := false; -- Unset the api dml status
159: ben_erc_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When hr_api.parent_integrity_violated Then
162: -- Parent integrity has been violated

Line 159: ben_erc_shd.constraint_error

155: Exception
156: When hr_api.check_integrity_violated Then
157: -- A check constraint has been violated
158: ben_erc_shd.g_api_dml := false; -- Unset the api dml status
159: ben_erc_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When hr_api.parent_integrity_violated Then
162: -- Parent integrity has been violated
163: ben_erc_shd.g_api_dml := false; -- Unset the api dml status

Line 163: ben_erc_shd.g_api_dml := false; -- Unset the api dml status

159: ben_erc_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When hr_api.parent_integrity_violated Then
162: -- Parent integrity has been violated
163: ben_erc_shd.g_api_dml := false; -- Unset the api dml status
164: ben_erc_shd.constraint_error
165: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
166: When hr_api.unique_integrity_violated Then
167: -- Unique integrity has been violated

Line 164: ben_erc_shd.constraint_error

160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When hr_api.parent_integrity_violated Then
162: -- Parent integrity has been violated
163: ben_erc_shd.g_api_dml := false; -- Unset the api dml status
164: ben_erc_shd.constraint_error
165: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
166: When hr_api.unique_integrity_violated Then
167: -- Unique integrity has been violated
168: ben_erc_shd.g_api_dml := false; -- Unset the api dml status

Line 168: ben_erc_shd.g_api_dml := false; -- Unset the api dml status

164: ben_erc_shd.constraint_error
165: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
166: When hr_api.unique_integrity_violated Then
167: -- Unique integrity has been violated
168: ben_erc_shd.g_api_dml := false; -- Unset the api dml status
169: ben_erc_shd.constraint_error
170: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
171: When Others Then
172: ben_erc_shd.g_api_dml := false; -- Unset the api dml status

Line 169: ben_erc_shd.constraint_error

165: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
166: When hr_api.unique_integrity_violated Then
167: -- Unique integrity has been violated
168: ben_erc_shd.g_api_dml := false; -- Unset the api dml status
169: ben_erc_shd.constraint_error
170: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
171: When Others Then
172: ben_erc_shd.g_api_dml := false; -- Unset the api dml status
173: Raise;

Line 172: ben_erc_shd.g_api_dml := false; -- Unset the api dml status

168: ben_erc_shd.g_api_dml := false; -- Unset the api dml status
169: ben_erc_shd.constraint_error
170: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
171: When Others Then
172: ben_erc_shd.g_api_dml := false; -- Unset the api dml status
173: Raise;
174: End insert_dml;
175: --
176: -- ----------------------------------------------------------------------------

Line 213: Procedure pre_insert(p_rec in out nocopy ben_erc_shd.g_rec_type) is

209: -- Internal Row Handler Use Only.
210: --
211: -- {End Of Comments}
212: -- ----------------------------------------------------------------------------
213: Procedure pre_insert(p_rec in out nocopy ben_erc_shd.g_rec_type) is
214: --
215: l_proc varchar2(72) := g_package||'pre_insert';
216: --
217: Cursor C_Sel1 is select ben_enrt_rt_ctfn_s.nextval from sys.dual;

Line 265: p_effective_date in date,p_rec in ben_erc_shd.g_rec_type) is

261: --
262: -- {End Of Comments}
263: -- ----------------------------------------------------------------------------
264: Procedure post_insert(
265: p_effective_date in date,p_rec in ben_erc_shd.g_rec_type) is
266: --
267: l_proc varchar2(72) := g_package||'post_insert';
268: --
269: Begin

Line 345: p_rec in out nocopy ben_erc_shd.g_rec_type

341: -- ----------------------------------------------------------------------------
342: Procedure ins
343: (
344: p_effective_date in date,
345: p_rec in out nocopy ben_erc_shd.g_rec_type
346: ) is
347: --
348: l_proc varchar2(72) := g_package||'ins';
349: --

Line 421: l_rec ben_erc_shd.g_rec_type;

417: p_program_update_date in date default null,
418: p_object_version_number out nocopy number
419: ) is
420: --
421: l_rec ben_erc_shd.g_rec_type;
422: l_proc varchar2(72) := g_package||'ins';
423: --
424: Begin
425: hr_utility.set_location('Entering:'||l_proc, 5);

Line 431: ben_erc_shd.convert_args

427: -- Call conversion function to turn arguments into the
428: -- p_rec structure.
429: --
430: l_rec :=
431: ben_erc_shd.convert_args
432: (
433: null,
434: p_enrt_ctfn_typ_cd,
435: p_rqd_flag,