DBA Data[Home] [Help]

APPS.BEN_EGL_INS dependencies on BEN_EGL_SHD

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

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

Line 195: ben_egl_shd.g_api_dml := false; -- Unset the api dml status

191: p_rec.time_access_calc_rule1,
192: p_Rec.time_access_calc_rule2
193: );
194: --
195: ben_egl_shd.g_api_dml := false; -- Unset the api dml status
196: --
197: hr_utility.set_location(' Leaving:'||l_proc, 10);
198: Exception
199: When hr_api.check_integrity_violated Then

Line 201: ben_egl_shd.g_api_dml := false; -- Unset the api dml status

197: hr_utility.set_location(' Leaving:'||l_proc, 10);
198: Exception
199: When hr_api.check_integrity_violated Then
200: -- A check constraint has been violated
201: ben_egl_shd.g_api_dml := false; -- Unset the api dml status
202: ben_egl_shd.constraint_error
203: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
204: When hr_api.parent_integrity_violated Then
205: -- Parent integrity has been violated

Line 202: ben_egl_shd.constraint_error

198: Exception
199: When hr_api.check_integrity_violated Then
200: -- A check constraint has been violated
201: ben_egl_shd.g_api_dml := false; -- Unset the api dml status
202: ben_egl_shd.constraint_error
203: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
204: When hr_api.parent_integrity_violated Then
205: -- Parent integrity has been violated
206: ben_egl_shd.g_api_dml := false; -- Unset the api dml status

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

202: ben_egl_shd.constraint_error
203: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
204: When hr_api.parent_integrity_violated Then
205: -- Parent integrity has been violated
206: ben_egl_shd.g_api_dml := false; -- Unset the api dml status
207: ben_egl_shd.constraint_error
208: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
209: When hr_api.unique_integrity_violated Then
210: -- Unique integrity has been violated

Line 207: ben_egl_shd.constraint_error

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

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

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

Line 212: ben_egl_shd.constraint_error

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

Line 215: ben_egl_shd.g_api_dml := false; -- Unset the api dml status

211: ben_egl_shd.g_api_dml := false; -- Unset the api dml status
212: ben_egl_shd.constraint_error
213: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
214: When Others Then
215: ben_egl_shd.g_api_dml := false; -- Unset the api dml status
216: Raise;
217: End insert_dml;
218: --
219: -- ----------------------------------------------------------------------------

Line 256: Procedure pre_insert(p_rec in out nocopy ben_egl_shd.g_rec_type) is

252: -- Internal Row Handler Use Only.
253: --
254: -- {End Of Comments}
255: -- ----------------------------------------------------------------------------
256: Procedure pre_insert(p_rec in out nocopy ben_egl_shd.g_rec_type) is
257: --
258: l_proc varchar2(72) := g_package||'pre_insert';
259: --
260: Cursor C_Sel1 is select ben_eligy_criteria_s.nextval from sys.dual;

Line 307: Procedure post_insert(p_rec in ben_egl_shd.g_rec_type

303: -- Internal Row Handler Use Only.
304: --
305: -- {End Of Comments}
306: -- ----------------------------------------------------------------------------
307: Procedure post_insert(p_rec in ben_egl_shd.g_rec_type
308: ,p_effective_date in date) is
309: --
310: l_proc varchar2(72) := g_package||'post_insert';
311: l_eligy_criteria_id ben_eligy_criteria.eligy_criteria_id%TYPE;

Line 411: p_rec in out nocopy ben_egl_shd.g_rec_type

407: -- |---------------------------------< ins >----------------------------------|
408: -- ----------------------------------------------------------------------------
409: Procedure ins
410: (
411: p_rec in out nocopy ben_egl_shd.g_rec_type
412: ,p_effective_date in date
413: ) is
414: --
415: l_proc varchar2(72) := g_package||'ins';

Line 509: l_rec ben_egl_shd.g_rec_type;

505: ,p_time_access_calc_rule1 in number default null
506: ,p_time_access_calc_rule2 in number default null
507: ) is
508: --
509: l_rec ben_egl_shd.g_rec_type;
510: l_proc varchar2(72) := g_package||'ins';
511: --
512: Begin
513: hr_utility.set_location('Entering:'||l_proc, 5);

Line 519: ben_egl_shd.convert_args

515: -- Call conversion function to turn arguments into the
516: -- p_rec structure.
517: --
518: l_rec :=
519: ben_egl_shd.convert_args
520: (
521: null
522: ,p_name
523: ,p_short_code