DBA Data[Home] [Help]

APPS.BEN_BPI_INS dependencies on BEN_BPI_SHD

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

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

Line 98: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status

94: p_rec.business_group_id,
95: p_rec.object_version_number
96: );
97: --
98: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status
99: --
100: hr_utility.set_location(' Leaving:'||l_proc, 10);
101: Exception
102: When hr_api.check_integrity_violated Then

Line 104: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status

100: hr_utility.set_location(' Leaving:'||l_proc, 10);
101: Exception
102: When hr_api.check_integrity_violated Then
103: -- A check constraint has been violated
104: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status
105: ben_bpi_shd.constraint_error
106: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
107: When hr_api.parent_integrity_violated Then
108: -- Parent integrity has been violated

Line 105: ben_bpi_shd.constraint_error

101: Exception
102: When hr_api.check_integrity_violated Then
103: -- A check constraint has been violated
104: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status
105: ben_bpi_shd.constraint_error
106: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
107: When hr_api.parent_integrity_violated Then
108: -- Parent integrity has been violated
109: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status

Line 109: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status

105: ben_bpi_shd.constraint_error
106: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
107: When hr_api.parent_integrity_violated Then
108: -- Parent integrity has been violated
109: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status
110: ben_bpi_shd.constraint_error
111: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
112: When hr_api.unique_integrity_violated Then
113: -- Unique integrity has been violated

Line 110: ben_bpi_shd.constraint_error

106: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
107: When hr_api.parent_integrity_violated Then
108: -- Parent integrity has been violated
109: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status
110: ben_bpi_shd.constraint_error
111: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
112: When hr_api.unique_integrity_violated Then
113: -- Unique integrity has been violated
114: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status

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

110: ben_bpi_shd.constraint_error
111: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
112: When hr_api.unique_integrity_violated Then
113: -- Unique integrity has been violated
114: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status
115: ben_bpi_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When Others Then
118: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status

Line 115: ben_bpi_shd.constraint_error

111: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
112: When hr_api.unique_integrity_violated Then
113: -- Unique integrity has been violated
114: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status
115: ben_bpi_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When Others Then
118: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status
119: Raise;

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

114: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status
115: ben_bpi_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When Others Then
118: ben_bpi_shd.g_api_dml := false; -- Unset the api dml status
119: Raise;
120: End insert_dml;
121: --
122: -- ----------------------------------------------------------------------------

Line 159: Procedure pre_insert(p_rec in out nocopy ben_bpi_shd.g_rec_type) is

155: -- Internal Row Handler Use Only.
156: --
157: -- {End Of Comments}
158: -- ----------------------------------------------------------------------------
159: Procedure pre_insert(p_rec in out nocopy ben_bpi_shd.g_rec_type) is
160: --
161: l_proc varchar2(72) := g_package||'pre_insert';
162: --
163: Cursor C_Sel1 is select ben_batch_proc_info_s.nextval from sys.dual;

Line 210: Procedure post_insert(p_rec in ben_bpi_shd.g_rec_type) is

206: -- Internal Row Handler Use Only.
207: --
208: -- {End Of Comments}
209: -- ----------------------------------------------------------------------------
210: Procedure post_insert(p_rec in ben_bpi_shd.g_rec_type) is
211: --
212: l_proc varchar2(72) := g_package||'post_insert';
213: --
214: Begin

Line 259: p_rec in out nocopy ben_bpi_shd.g_rec_type

255: -- |---------------------------------< ins >----------------------------------|
256: -- ----------------------------------------------------------------------------
257: Procedure ins
258: (
259: p_rec in out nocopy ben_bpi_shd.g_rec_type
260: ) is
261: --
262: l_proc varchar2(72) := g_package||'ins';
263: --

Line 305: l_rec ben_bpi_shd.g_rec_type;

301: p_business_group_id in number,
302: p_object_version_number out nocopy number
303: ) is
304: --
305: l_rec ben_bpi_shd.g_rec_type;
306: l_proc varchar2(72) := g_package||'ins';
307: --
308: Begin
309: hr_utility.set_location('Entering:'||l_proc, 5);

Line 315: ben_bpi_shd.convert_args

311: -- Call conversion function to turn arguments into the
312: -- p_rec structure.
313: --
314: l_rec :=
315: ben_bpi_shd.convert_args
316: (
317: null,
318: p_benefit_action_id,
319: p_strt_dt,