DBA Data[Home] [Help]

APPS.BEN_BMN_INS dependencies on BEN_BMN_SHD

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

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

Line 114: ben_bmn_shd.g_api_dml := false; -- Unset the api dml status

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

Line 120: ben_bmn_shd.g_api_dml := false; -- Unset the api dml status

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

Line 121: ben_bmn_shd.constraint_error

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

Line 125: ben_bmn_shd.g_api_dml := false; -- Unset the api dml status

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

Line 126: ben_bmn_shd.constraint_error

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

Line 130: ben_bmn_shd.g_api_dml := false; -- Unset the api dml status

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

Line 131: ben_bmn_shd.constraint_error

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

Line 134: ben_bmn_shd.g_api_dml := false; -- Unset the api dml status

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

Line 175: Procedure pre_insert(p_rec in out nocopy ben_bmn_shd.g_rec_type) is

171: -- Internal Row Handler Use Only.
172: --
173: -- {End Of Comments}
174: -- ----------------------------------------------------------------------------
175: Procedure pre_insert(p_rec in out nocopy ben_bmn_shd.g_rec_type) is
176: --
177: l_proc varchar2(72) := g_package||'pre_insert';
178: --
179: Cursor C_Sel1 is select ben_reporting_s.nextval from sys.dual;

Line 226: Procedure post_insert(p_rec in ben_bmn_shd.g_rec_type) is

222: -- Internal Row Handler Use Only.
223: --
224: -- {End Of Comments}
225: -- ----------------------------------------------------------------------------
226: Procedure post_insert(p_rec in ben_bmn_shd.g_rec_type) is
227: --
228: l_proc varchar2(72) := g_package||'post_insert';
229: --
230: Begin

Line 241: p_rec in out nocopy ben_bmn_shd.g_rec_type

237: -- |---------------------------------< ins >----------------------------------|
238: -- ----------------------------------------------------------------------------
239: Procedure ins
240: (
241: p_rec in out nocopy ben_bmn_shd.g_rec_type
242: ) is
243: --
244: l_proc varchar2(72) := g_package||'ins';
245: --

Line 295: l_rec ben_bmn_shd.g_rec_type;

291: p_yr_num in number default null,
292: p_object_version_number out nocopy number
293: ) is
294: --
295: l_rec ben_bmn_shd.g_rec_type;
296: l_proc varchar2(72) := g_package||'ins';
297: --
298: Begin
299: hr_utility.set_location('Entering:'||l_proc, 5);

Line 305: ben_bmn_shd.convert_args

301: -- Call conversion function to turn arguments into the
302: -- p_rec structure.
303: --
304: l_rec :=
305: ben_bmn_shd.convert_args
306: (
307: null,
308: p_benefit_action_id,
309: p_thread_id,