DBA Data[Home] [Help]

APPS.BEN_XRS_INS dependencies on BEN_XRS_SHD

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

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

Line 112: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status

108: p_rec.xdo_template_id ,
109: p_rec.object_version_number
110: );
111: --
112: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status
113: --
114: hr_utility.set_location(' Leaving:'||l_proc, 10);
115: Exception
116: When hr_api.check_integrity_violated Then

Line 118: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status

114: hr_utility.set_location(' Leaving:'||l_proc, 10);
115: Exception
116: When hr_api.check_integrity_violated Then
117: -- A check constraint has been violated
118: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status
119: ben_xrs_shd.constraint_error
120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
121: When hr_api.parent_integrity_violated Then
122: -- Parent integrity has been violated

Line 119: ben_xrs_shd.constraint_error

115: Exception
116: When hr_api.check_integrity_violated Then
117: -- A check constraint has been violated
118: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status
119: ben_xrs_shd.constraint_error
120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
121: When hr_api.parent_integrity_violated Then
122: -- Parent integrity has been violated
123: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status

Line 123: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status

119: ben_xrs_shd.constraint_error
120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
121: When hr_api.parent_integrity_violated Then
122: -- Parent integrity has been violated
123: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status
124: ben_xrs_shd.constraint_error
125: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
126: When hr_api.unique_integrity_violated Then
127: -- Unique integrity has been violated

Line 124: ben_xrs_shd.constraint_error

120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
121: When hr_api.parent_integrity_violated Then
122: -- Parent integrity has been violated
123: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status
124: ben_xrs_shd.constraint_error
125: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
126: When hr_api.unique_integrity_violated Then
127: -- Unique integrity has been violated
128: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status

Line 128: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status

124: ben_xrs_shd.constraint_error
125: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
126: When hr_api.unique_integrity_violated Then
127: -- Unique integrity has been violated
128: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status
129: ben_xrs_shd.constraint_error
130: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
131: When Others Then
132: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status

Line 129: ben_xrs_shd.constraint_error

125: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
126: When hr_api.unique_integrity_violated Then
127: -- Unique integrity has been violated
128: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status
129: ben_xrs_shd.constraint_error
130: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
131: When Others Then
132: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status
133: Raise;

Line 132: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status

128: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status
129: ben_xrs_shd.constraint_error
130: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
131: When Others Then
132: ben_xrs_shd.g_api_dml := false; -- Unset the api dml status
133: Raise;
134: End insert_dml;
135: --
136: -- ----------------------------------------------------------------------------

Line 173: Procedure pre_insert(p_rec in out nocopy ben_xrs_shd.g_rec_type) is

169: -- Internal Row Handler Use Only.
170: --
171: -- {End Of Comments}
172: -- ----------------------------------------------------------------------------
173: Procedure pre_insert(p_rec in out nocopy ben_xrs_shd.g_rec_type) is
174: --
175: l_proc varchar2(72) := g_package||'pre_insert';
176: --
177: cursor c1 is

Line 227: p_effective_date in date,p_rec in ben_xrs_shd.g_rec_type) is

223: --
224: -- {End Of Comments}
225: -- ----------------------------------------------------------------------------
226: Procedure post_insert(
227: p_effective_date in date,p_rec in ben_xrs_shd.g_rec_type) is
228: --
229: l_proc varchar2(72) := g_package||'post_insert';
230: --
231: Begin

Line 287: p_rec in out nocopy ben_xrs_shd.g_rec_type

283: -- ----------------------------------------------------------------------------
284: Procedure ins
285: (
286: p_effective_date in date,
287: p_rec in out nocopy ben_xrs_shd.g_rec_type
288: ) is
289: --
290: l_proc varchar2(72) := g_package||'ins';
291: --

Line 343: l_rec ben_xrs_shd.g_rec_type;

339: p_xdo_template_id in number default null,
340: p_object_version_number out nocopy number
341: ) is
342: --
343: l_rec ben_xrs_shd.g_rec_type;
344: l_proc varchar2(72) := g_package||'ins';
345: --
346: Begin
347: hr_utility.set_location('Entering:'||l_proc, 5);

Line 353: ben_xrs_shd.convert_args

349: -- Call conversion function to turn arguments into the
350: -- p_rec structure.
351: --
352: l_rec :=
353: ben_xrs_shd.convert_args
354: (
355: null,
356: p_run_strt_dt,
357: p_run_end_dt,