DBA Data[Home] [Help]

APPS.BEN_WYP_INS dependencies on BEN_WYP_SHD

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

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

Line 150: ben_wyp_shd.g_api_dml := false; -- Unset the api dml status

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

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

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

Line 157: ben_wyp_shd.constraint_error

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

Line 161: ben_wyp_shd.g_api_dml := false; -- Unset the api dml status

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

Line 162: ben_wyp_shd.constraint_error

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

Line 166: ben_wyp_shd.g_api_dml := false; -- Unset the api dml status

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

Line 167: ben_wyp_shd.constraint_error

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

Line 170: ben_wyp_shd.g_api_dml := false; -- Unset the api dml status

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

Line 211: Procedure pre_insert(p_rec in out nocopy ben_wyp_shd.g_rec_type) is

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

Line 263: p_rec in ben_wyp_shd.g_rec_type) is

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

Line 342: p_rec in out nocopy ben_wyp_shd.g_rec_type

338: -- ----------------------------------------------------------------------------
339: Procedure ins
340: (
341: p_effective_date in date,
342: p_rec in out nocopy ben_wyp_shd.g_rec_type
343: ) is
344: --
345: l_proc varchar2(72) := g_package||'ins';
346: --

Line 417: l_rec ben_wyp_shd.g_rec_type;

413: p_wyp_attribute30 in varchar2 default null,
414: p_object_version_number out nocopy number
415: ) is
416: --
417: l_rec ben_wyp_shd.g_rec_type;
418: l_proc varchar2(72) := g_package||'ins';
419: --
420: Begin
421: hr_utility.set_location('Entering:'||l_proc, 5);

Line 427: ben_wyp_shd.convert_args

423: -- Call conversion function to turn arguments into the
424: -- p_rec structure.
425: --
426: l_rec :=
427: ben_wyp_shd.convert_args
428: (
429: null,
430: p_strt_day,
431: p_end_day,