DBA Data[Home] [Help]

APPS.BEN_EPR_INS dependencies on BEN_EPR_SHD

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

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

Line 156: ben_epr_shd.g_api_dml := false; -- Unset the api dml status

152: p_rec.program_id,
153: p_rec.program_update_date
154: );
155: --
156: ben_epr_shd.g_api_dml := false; -- Unset the api dml status
157: --
158: hr_utility.set_location(' Leaving:'||l_proc, 10);
159: Exception
160: When hr_api.check_integrity_violated Then

Line 162: ben_epr_shd.g_api_dml := false; -- Unset the api dml status

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

Line 163: ben_epr_shd.constraint_error

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

Line 167: ben_epr_shd.g_api_dml := false; -- Unset the api dml status

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

Line 168: ben_epr_shd.constraint_error

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

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

168: ben_epr_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated
172: ben_epr_shd.g_api_dml := false; -- Unset the api dml status
173: ben_epr_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When Others Then
176: ben_epr_shd.g_api_dml := false; -- Unset the api dml status

Line 173: ben_epr_shd.constraint_error

169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated
172: ben_epr_shd.g_api_dml := false; -- Unset the api dml status
173: ben_epr_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When Others Then
176: ben_epr_shd.g_api_dml := false; -- Unset the api dml status
177: Raise;

Line 176: ben_epr_shd.g_api_dml := false; -- Unset the api dml status

172: ben_epr_shd.g_api_dml := false; -- Unset the api dml status
173: ben_epr_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When Others Then
176: ben_epr_shd.g_api_dml := false; -- Unset the api dml status
177: Raise;
178: End insert_dml;
179: --
180: -- ----------------------------------------------------------------------------

Line 217: Procedure pre_insert(p_rec in out nocopy ben_epr_shd.g_rec_type) is

213: -- Internal Row Handler Use Only.
214: --
215: -- {End Of Comments}
216: -- ----------------------------------------------------------------------------
217: Procedure pre_insert(p_rec in out nocopy ben_epr_shd.g_rec_type) is
218: --
219: l_proc varchar2(72) := g_package||'pre_insert';
220: --
221: Cursor C_Sel1 is select ben_enrt_prem_s.nextval from sys.dual;

Line 268: Procedure post_insert(p_rec in ben_epr_shd.g_rec_type) is

264: -- Internal Row Handler Use Only.
265: --
266: -- {End Of Comments}
267: -- ----------------------------------------------------------------------------
268: Procedure post_insert(p_rec in ben_epr_shd.g_rec_type) is
269: --
270: l_proc varchar2(72) := g_package||'post_insert';
271: --
272: Begin

Line 348: p_rec in out nocopy ben_epr_shd.g_rec_type

344: -- |---------------------------------< ins >----------------------------------|
345: -- ----------------------------------------------------------------------------
346: Procedure ins
347: (
348: p_rec in out nocopy ben_epr_shd.g_rec_type
349: ) is
350: --
351: l_proc varchar2(72) := g_package||'ins';
352: --

Line 423: l_rec ben_epr_shd.g_rec_type;

419: p_program_id in number default null,
420: p_program_update_date in date default null
421: ) is
422: --
423: l_rec ben_epr_shd.g_rec_type;
424: l_proc varchar2(72) := g_package||'ins';
425: --
426: Begin
427: hr_utility.set_location('Entering:'||l_proc, 5);

Line 433: ben_epr_shd.convert_args

429: -- Call conversion function to turn arguments into the
430: -- p_rec structure.
431: --
432: l_rec :=
433: ben_epr_shd.convert_args
434: (
435: null,
436: p_val,
437: p_uom,