DBA Data[Home] [Help]

APPS.BEN_AGF_INS dependencies on BEN_AGF_SHD

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

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

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

158: p_rec.agf_attribute30,
159: p_rec.object_version_number
160: );
161: --
162: ben_agf_shd.g_api_dml := false; -- Unset the api dml status
163: --
164: hr_utility.set_location(' Leaving:'||l_proc, 10);
165: Exception
166: When hr_api.check_integrity_violated Then

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

164: hr_utility.set_location(' Leaving:'||l_proc, 10);
165: Exception
166: When hr_api.check_integrity_violated Then
167: -- A check constraint has been violated
168: ben_agf_shd.g_api_dml := false; -- Unset the api dml status
169: ben_agf_shd.constraint_error
170: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
171: When hr_api.parent_integrity_violated Then
172: -- Parent integrity has been violated

Line 169: ben_agf_shd.constraint_error

165: Exception
166: When hr_api.check_integrity_violated Then
167: -- A check constraint has been violated
168: ben_agf_shd.g_api_dml := false; -- Unset the api dml status
169: ben_agf_shd.constraint_error
170: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
171: When hr_api.parent_integrity_violated Then
172: -- Parent integrity has been violated
173: ben_agf_shd.g_api_dml := false; -- Unset the api dml status

Line 173: ben_agf_shd.g_api_dml := false; -- Unset the api dml status

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

Line 174: ben_agf_shd.constraint_error

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

Line 178: ben_agf_shd.g_api_dml := false; -- Unset the api dml status

174: ben_agf_shd.constraint_error
175: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
176: When hr_api.unique_integrity_violated Then
177: -- Unique integrity has been violated
178: ben_agf_shd.g_api_dml := false; -- Unset the api dml status
179: ben_agf_shd.constraint_error
180: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
181: When Others Then
182: ben_agf_shd.g_api_dml := false; -- Unset the api dml status

Line 179: ben_agf_shd.constraint_error

175: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
176: When hr_api.unique_integrity_violated Then
177: -- Unique integrity has been violated
178: ben_agf_shd.g_api_dml := false; -- Unset the api dml status
179: ben_agf_shd.constraint_error
180: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
181: When Others Then
182: ben_agf_shd.g_api_dml := false; -- Unset the api dml status
183: Raise;

Line 182: ben_agf_shd.g_api_dml := false; -- Unset the api dml status

178: ben_agf_shd.g_api_dml := false; -- Unset the api dml status
179: ben_agf_shd.constraint_error
180: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
181: When Others Then
182: ben_agf_shd.g_api_dml := false; -- Unset the api dml status
183: Raise;
184: End insert_dml;
185: --
186: -- ----------------------------------------------------------------------------

Line 223: Procedure pre_insert(p_rec in out nocopy ben_agf_shd.g_rec_type) is

219: -- Internal Row Handler Use Only.
220: --
221: -- {End Of Comments}
222: -- ----------------------------------------------------------------------------
223: Procedure pre_insert(p_rec in out nocopy ben_agf_shd.g_rec_type) is
224: --
225: l_proc varchar2(72) := g_package||'pre_insert';
226: --
227: Cursor C_Sel1 is select ben_age_fctr_s.nextval from sys.dual;

Line 275: p_effective_date in date,p_rec in ben_agf_shd.g_rec_type) is

271: --
272: -- {End Of Comments}
273: -- ----------------------------------------------------------------------------
274: Procedure post_insert(
275: p_effective_date in date,p_rec in ben_agf_shd.g_rec_type) is
276: --
277: l_proc varchar2(72) := g_package||'post_insert';
278: --
279: Begin

Line 360: p_rec in out nocopy ben_agf_shd.g_rec_type

356: -- ----------------------------------------------------------------------------
357: Procedure ins
358: (
359: p_effective_date in date,
360: p_rec in out nocopy ben_agf_shd.g_rec_type
361: ) is
362: --
363: l_proc varchar2(72) := g_package||'ins';
364: --

Line 441: l_rec ben_agf_shd.g_rec_type;

437: p_agf_attribute30 in varchar2 default null,
438: p_object_version_number out nocopy number
439: ) is
440: --
441: l_rec ben_agf_shd.g_rec_type;
442: l_proc varchar2(72) := g_package||'ins';
443: --
444: Begin
445: hr_utility.set_location('Entering:'||l_proc, 5);

Line 451: ben_agf_shd.convert_args

447: -- Call conversion function to turn arguments into the
448: -- p_rec structure.
449: --
450: l_rec :=
451: ben_agf_shd.convert_args
452: (
453: null,
454: p_name,
455: p_mx_age_num,