DBA Data[Home] [Help]

APPS.BEN_XID_UPD dependencies on BEN_XID_SHD

Line 54: Procedure update_dml(p_rec in out nocopy ben_xid_shd.g_rec_type) is

50: -- Internal Row Handler Use Only.
51: --
52: -- {End Of Comments}
53: -- ----------------------------------------------------------------------------
54: Procedure update_dml(p_rec in out nocopy ben_xid_shd.g_rec_type) is
55: --
56: l_proc varchar2(72) := g_package||'update_dml';
57: --
58: Begin

Line 65: ben_xid_shd.g_api_dml := true; -- Set the api dml status

61: -- Increment the object version
62: --
63: p_rec.object_version_number := p_rec.object_version_number + 1;
64: --
65: ben_xid_shd.g_api_dml := true; -- Set the api dml status
66: --
67: -- Update the ben_ext_incl_data_elmt Row
68: --
69: update ben_ext_incl_data_elmt

Line 83: ben_xid_shd.g_api_dml := false; -- Unset the api dml status

79: object_version_number = p_rec.object_version_number,
80: ext_data_elmt_in_rcd_id = p_rec.ext_data_elmt_in_rcd_id
81: where ext_incl_data_elmt_id = p_rec.ext_incl_data_elmt_id;
82: --
83: ben_xid_shd.g_api_dml := false; -- Unset the api dml status
84: --
85: hr_utility.set_location(' Leaving:'||l_proc, 10);
86: --
87: Exception

Line 90: ben_xid_shd.g_api_dml := false; -- Unset the api dml status

86: --
87: Exception
88: When hr_api.check_integrity_violated Then
89: -- A check constraint has been violated
90: ben_xid_shd.g_api_dml := false; -- Unset the api dml status
91: ben_xid_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.parent_integrity_violated Then
94: -- Parent integrity has been violated

Line 91: ben_xid_shd.constraint_error

87: Exception
88: When hr_api.check_integrity_violated Then
89: -- A check constraint has been violated
90: ben_xid_shd.g_api_dml := false; -- Unset the api dml status
91: ben_xid_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.parent_integrity_violated Then
94: -- Parent integrity has been violated
95: ben_xid_shd.g_api_dml := false; -- Unset the api dml status

Line 95: ben_xid_shd.g_api_dml := false; -- Unset the api dml status

91: ben_xid_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.parent_integrity_violated Then
94: -- Parent integrity has been violated
95: ben_xid_shd.g_api_dml := false; -- Unset the api dml status
96: ben_xid_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.unique_integrity_violated Then
99: -- Unique integrity has been violated

Line 96: ben_xid_shd.constraint_error

92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.parent_integrity_violated Then
94: -- Parent integrity has been violated
95: ben_xid_shd.g_api_dml := false; -- Unset the api dml status
96: ben_xid_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.unique_integrity_violated Then
99: -- Unique integrity has been violated
100: ben_xid_shd.g_api_dml := false; -- Unset the api dml status

Line 100: ben_xid_shd.g_api_dml := false; -- Unset the api dml status

96: ben_xid_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.unique_integrity_violated Then
99: -- Unique integrity has been violated
100: ben_xid_shd.g_api_dml := false; -- Unset the api dml status
101: ben_xid_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When Others Then
104: ben_xid_shd.g_api_dml := false; -- Unset the api dml status

Line 101: ben_xid_shd.constraint_error

97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.unique_integrity_violated Then
99: -- Unique integrity has been violated
100: ben_xid_shd.g_api_dml := false; -- Unset the api dml status
101: ben_xid_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When Others Then
104: ben_xid_shd.g_api_dml := false; -- Unset the api dml status
105: Raise;

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

100: ben_xid_shd.g_api_dml := false; -- Unset the api dml status
101: ben_xid_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When Others Then
104: ben_xid_shd.g_api_dml := false; -- Unset the api dml status
105: Raise;
106: End update_dml;
107: --
108: -- ----------------------------------------------------------------------------

Line 140: Procedure pre_update(p_rec in ben_xid_shd.g_rec_type) is

136: -- Internal Row Handler Use Only.
137: --
138: -- {End Of Comments}
139: -- ----------------------------------------------------------------------------
140: Procedure pre_update(p_rec in ben_xid_shd.g_rec_type) is
141: --
142: l_proc varchar2(72) := g_package||'pre_update';
143: --
144: Begin

Line 182: Procedure post_update(p_rec in ben_xid_shd.g_rec_type) is

178: -- Internal Row Handler Use Only.
179: --
180: -- {End Of Comments}
181: -- ----------------------------------------------------------------------------
182: Procedure post_update(p_rec in ben_xid_shd.g_rec_type) is
183: --
184: l_proc varchar2(72) := g_package||'post_update';
185: --
186: Begin

Line 203: ,p_ext_rcd_in_file_id_o =>ben_xid_shd.g_old_rec.ext_rcd_in_file_id

199: ,p_business_group_id =>p_rec.business_group_id
200: ,p_legislation_code =>p_rec.legislation_code
201: ,p_object_version_number =>p_rec.object_version_number
202: ,p_ext_data_elmt_in_rcd_id =>p_rec.ext_data_elmt_in_rcd_id
203: ,p_ext_rcd_in_file_id_o =>ben_xid_shd.g_old_rec.ext_rcd_in_file_id
204: ,p_ext_data_elmt_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_id
205: ,p_business_group_id_o =>ben_xid_shd.g_old_rec.business_group_id
206: ,p_legislation_code_o =>ben_xid_shd.g_old_rec.legislation_code
207: ,p_object_version_number_o =>ben_xid_shd.g_old_rec.object_version_number

Line 204: ,p_ext_data_elmt_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_id

200: ,p_legislation_code =>p_rec.legislation_code
201: ,p_object_version_number =>p_rec.object_version_number
202: ,p_ext_data_elmt_in_rcd_id =>p_rec.ext_data_elmt_in_rcd_id
203: ,p_ext_rcd_in_file_id_o =>ben_xid_shd.g_old_rec.ext_rcd_in_file_id
204: ,p_ext_data_elmt_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_id
205: ,p_business_group_id_o =>ben_xid_shd.g_old_rec.business_group_id
206: ,p_legislation_code_o =>ben_xid_shd.g_old_rec.legislation_code
207: ,p_object_version_number_o =>ben_xid_shd.g_old_rec.object_version_number
208: ,p_ext_data_elmt_in_rcd_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_in_rcd_id

Line 205: ,p_business_group_id_o =>ben_xid_shd.g_old_rec.business_group_id

201: ,p_object_version_number =>p_rec.object_version_number
202: ,p_ext_data_elmt_in_rcd_id =>p_rec.ext_data_elmt_in_rcd_id
203: ,p_ext_rcd_in_file_id_o =>ben_xid_shd.g_old_rec.ext_rcd_in_file_id
204: ,p_ext_data_elmt_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_id
205: ,p_business_group_id_o =>ben_xid_shd.g_old_rec.business_group_id
206: ,p_legislation_code_o =>ben_xid_shd.g_old_rec.legislation_code
207: ,p_object_version_number_o =>ben_xid_shd.g_old_rec.object_version_number
208: ,p_ext_data_elmt_in_rcd_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_in_rcd_id
209: );

Line 206: ,p_legislation_code_o =>ben_xid_shd.g_old_rec.legislation_code

202: ,p_ext_data_elmt_in_rcd_id =>p_rec.ext_data_elmt_in_rcd_id
203: ,p_ext_rcd_in_file_id_o =>ben_xid_shd.g_old_rec.ext_rcd_in_file_id
204: ,p_ext_data_elmt_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_id
205: ,p_business_group_id_o =>ben_xid_shd.g_old_rec.business_group_id
206: ,p_legislation_code_o =>ben_xid_shd.g_old_rec.legislation_code
207: ,p_object_version_number_o =>ben_xid_shd.g_old_rec.object_version_number
208: ,p_ext_data_elmt_in_rcd_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_in_rcd_id
209: );
210: --

Line 207: ,p_object_version_number_o =>ben_xid_shd.g_old_rec.object_version_number

203: ,p_ext_rcd_in_file_id_o =>ben_xid_shd.g_old_rec.ext_rcd_in_file_id
204: ,p_ext_data_elmt_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_id
205: ,p_business_group_id_o =>ben_xid_shd.g_old_rec.business_group_id
206: ,p_legislation_code_o =>ben_xid_shd.g_old_rec.legislation_code
207: ,p_object_version_number_o =>ben_xid_shd.g_old_rec.object_version_number
208: ,p_ext_data_elmt_in_rcd_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_in_rcd_id
209: );
210: --
211: exception

Line 208: ,p_ext_data_elmt_in_rcd_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_in_rcd_id

204: ,p_ext_data_elmt_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_id
205: ,p_business_group_id_o =>ben_xid_shd.g_old_rec.business_group_id
206: ,p_legislation_code_o =>ben_xid_shd.g_old_rec.legislation_code
207: ,p_object_version_number_o =>ben_xid_shd.g_old_rec.object_version_number
208: ,p_ext_data_elmt_in_rcd_id_o =>ben_xid_shd.g_old_rec.ext_data_elmt_in_rcd_id
209: );
210: --
211: exception
212: --

Line 270: Procedure convert_defs(p_rec in out nocopy ben_xid_shd.g_rec_type) is

266: -- Internal Row Handler Use Only.
267: --
268: -- {End Of Comments}
269: -- ----------------------------------------------------------------------------
270: Procedure convert_defs(p_rec in out nocopy ben_xid_shd.g_rec_type) is
271: --
272: l_proc varchar2(72) := g_package||'convert_defs';
273: --
274: Begin

Line 285: ben_xid_shd.g_old_rec.ext_rcd_in_file_id;

281: -- is being used then we must set to the 'current' argument value.
282: --
283: If (p_rec.ext_rcd_in_file_id = hr_api.g_number) then
284: p_rec.ext_rcd_in_file_id :=
285: ben_xid_shd.g_old_rec.ext_rcd_in_file_id;
286: End If;
287: If (p_rec.ext_data_elmt_id = hr_api.g_number) then
288: p_rec.ext_data_elmt_id :=
289: ben_xid_shd.g_old_rec.ext_data_elmt_id;

Line 289: ben_xid_shd.g_old_rec.ext_data_elmt_id;

285: ben_xid_shd.g_old_rec.ext_rcd_in_file_id;
286: End If;
287: If (p_rec.ext_data_elmt_id = hr_api.g_number) then
288: p_rec.ext_data_elmt_id :=
289: ben_xid_shd.g_old_rec.ext_data_elmt_id;
290: End If;
291: If (p_rec.business_group_id = hr_api.g_number) then
292: p_rec.business_group_id :=
293: ben_xid_shd.g_old_rec.business_group_id;

Line 293: ben_xid_shd.g_old_rec.business_group_id;

289: ben_xid_shd.g_old_rec.ext_data_elmt_id;
290: End If;
291: If (p_rec.business_group_id = hr_api.g_number) then
292: p_rec.business_group_id :=
293: ben_xid_shd.g_old_rec.business_group_id;
294: End If;
295: If (p_rec.legislation_code = hr_api.g_varchar2) then
296: p_rec.legislation_code :=
297: ben_xid_shd.g_old_rec.legislation_code;

Line 297: ben_xid_shd.g_old_rec.legislation_code;

293: ben_xid_shd.g_old_rec.business_group_id;
294: End If;
295: If (p_rec.legislation_code = hr_api.g_varchar2) then
296: p_rec.legislation_code :=
297: ben_xid_shd.g_old_rec.legislation_code;
298: End If;
299: If (p_rec.ext_data_elmt_in_rcd_id = hr_api.g_number) then
300: p_rec.ext_data_elmt_in_rcd_id :=
301: ben_xid_shd.g_old_rec.ext_data_elmt_in_rcd_id;

Line 301: ben_xid_shd.g_old_rec.ext_data_elmt_in_rcd_id;

297: ben_xid_shd.g_old_rec.legislation_code;
298: End If;
299: If (p_rec.ext_data_elmt_in_rcd_id = hr_api.g_number) then
300: p_rec.ext_data_elmt_in_rcd_id :=
301: ben_xid_shd.g_old_rec.ext_data_elmt_in_rcd_id;
302: End If;
303: --
304: hr_utility.set_location(' Leaving:'||l_proc, 10);
305: --

Line 313: p_rec in out nocopy ben_xid_shd.g_rec_type

309: -- |---------------------------------< upd >----------------------------------|
310: -- ----------------------------------------------------------------------------
311: Procedure upd
312: (
313: p_rec in out nocopy ben_xid_shd.g_rec_type
314: ) is
315: --
316: l_proc varchar2(72) := g_package||'upd';
317: --

Line 323: ben_xid_shd.lck

319: hr_utility.set_location('Entering:'||l_proc, 5);
320: --
321: -- We must lock the row which we need to update.
322: --
323: ben_xid_shd.lck
324: (
325: p_rec.ext_incl_data_elmt_id,
326: p_rec.object_version_number
327: );

Line 370: l_rec ben_xid_shd.g_rec_type;

366: p_object_version_number in out nocopy number,
367: p_ext_data_elmt_in_rcd_id in number default hr_api.g_number
368: ) is
369: --
370: l_rec ben_xid_shd.g_rec_type;
371: l_proc varchar2(72) := g_package||'upd';
372: --
373: Begin
374: hr_utility.set_location('Entering:'||l_proc, 5);

Line 380: ben_xid_shd.convert_args

376: -- Call conversion function to turn arguments into the
377: -- l_rec structure.
378: --
379: l_rec :=
380: ben_xid_shd.convert_args
381: (
382: p_ext_incl_data_elmt_id,
383: p_ext_rcd_in_file_id,
384: p_ext_data_elmt_id,