DBA Data[Home] [Help]

APPS.BEN_XCV_UPD dependencies on BEN_XCV_SHD

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

Line 65: ben_xcv_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_xcv_shd.g_api_dml := true; -- Set the api dml status
66: --
67: -- Update the ben_ext_crit_val Row
68: --
69: update ben_ext_crit_val

Line 84: ben_xcv_shd.g_api_dml := false; -- Unset the api dml status

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

Line 91: ben_xcv_shd.g_api_dml := false; -- Unset the api dml status

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

Line 92: ben_xcv_shd.constraint_error

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

Line 96: ben_xcv_shd.g_api_dml := false; -- Unset the api dml status

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

Line 97: ben_xcv_shd.constraint_error

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

Line 101: ben_xcv_shd.g_api_dml := false; -- Unset the api dml status

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

Line 102: ben_xcv_shd.constraint_error

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

Line 105: ben_xcv_shd.g_api_dml := false; -- Unset the api dml status

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

Line 141: Procedure pre_update(p_rec in ben_xcv_shd.g_rec_type) is

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

Line 183: Procedure post_update(p_rec in ben_xcv_shd.g_rec_type) is

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

Line 205: ,p_val_1_o =>ben_xcv_shd.g_old_rec.val_1

201: ,p_business_group_id =>p_rec.business_group_id
202: ,p_ext_crit_bg_id =>p_rec.ext_crit_bg_id
203: ,p_legislation_code =>p_rec.legislation_code
204: ,p_object_version_number =>p_rec.object_version_number
205: ,p_val_1_o =>ben_xcv_shd.g_old_rec.val_1
206: ,p_val_2_o =>ben_xcv_shd.g_old_rec.val_2
207: ,p_ext_crit_typ_id_o =>ben_xcv_shd.g_old_rec.ext_crit_typ_id
208: ,p_business_group_id_o =>ben_xcv_shd.g_old_rec.business_group_id
209: ,p_ext_crit_bg_id_o =>ben_xcv_shd.g_old_rec.ext_crit_bg_id

Line 206: ,p_val_2_o =>ben_xcv_shd.g_old_rec.val_2

202: ,p_ext_crit_bg_id =>p_rec.ext_crit_bg_id
203: ,p_legislation_code =>p_rec.legislation_code
204: ,p_object_version_number =>p_rec.object_version_number
205: ,p_val_1_o =>ben_xcv_shd.g_old_rec.val_1
206: ,p_val_2_o =>ben_xcv_shd.g_old_rec.val_2
207: ,p_ext_crit_typ_id_o =>ben_xcv_shd.g_old_rec.ext_crit_typ_id
208: ,p_business_group_id_o =>ben_xcv_shd.g_old_rec.business_group_id
209: ,p_ext_crit_bg_id_o =>ben_xcv_shd.g_old_rec.ext_crit_bg_id
210: ,p_legislation_code_o =>ben_xcv_shd.g_old_rec.legislation_code

Line 207: ,p_ext_crit_typ_id_o =>ben_xcv_shd.g_old_rec.ext_crit_typ_id

203: ,p_legislation_code =>p_rec.legislation_code
204: ,p_object_version_number =>p_rec.object_version_number
205: ,p_val_1_o =>ben_xcv_shd.g_old_rec.val_1
206: ,p_val_2_o =>ben_xcv_shd.g_old_rec.val_2
207: ,p_ext_crit_typ_id_o =>ben_xcv_shd.g_old_rec.ext_crit_typ_id
208: ,p_business_group_id_o =>ben_xcv_shd.g_old_rec.business_group_id
209: ,p_ext_crit_bg_id_o =>ben_xcv_shd.g_old_rec.ext_crit_bg_id
210: ,p_legislation_code_o =>ben_xcv_shd.g_old_rec.legislation_code
211: ,p_object_version_number_o =>ben_xcv_shd.g_old_rec.object_version_number

Line 208: ,p_business_group_id_o =>ben_xcv_shd.g_old_rec.business_group_id

204: ,p_object_version_number =>p_rec.object_version_number
205: ,p_val_1_o =>ben_xcv_shd.g_old_rec.val_1
206: ,p_val_2_o =>ben_xcv_shd.g_old_rec.val_2
207: ,p_ext_crit_typ_id_o =>ben_xcv_shd.g_old_rec.ext_crit_typ_id
208: ,p_business_group_id_o =>ben_xcv_shd.g_old_rec.business_group_id
209: ,p_ext_crit_bg_id_o =>ben_xcv_shd.g_old_rec.ext_crit_bg_id
210: ,p_legislation_code_o =>ben_xcv_shd.g_old_rec.legislation_code
211: ,p_object_version_number_o =>ben_xcv_shd.g_old_rec.object_version_number
212: );

Line 209: ,p_ext_crit_bg_id_o =>ben_xcv_shd.g_old_rec.ext_crit_bg_id

205: ,p_val_1_o =>ben_xcv_shd.g_old_rec.val_1
206: ,p_val_2_o =>ben_xcv_shd.g_old_rec.val_2
207: ,p_ext_crit_typ_id_o =>ben_xcv_shd.g_old_rec.ext_crit_typ_id
208: ,p_business_group_id_o =>ben_xcv_shd.g_old_rec.business_group_id
209: ,p_ext_crit_bg_id_o =>ben_xcv_shd.g_old_rec.ext_crit_bg_id
210: ,p_legislation_code_o =>ben_xcv_shd.g_old_rec.legislation_code
211: ,p_object_version_number_o =>ben_xcv_shd.g_old_rec.object_version_number
212: );
213: --

Line 210: ,p_legislation_code_o =>ben_xcv_shd.g_old_rec.legislation_code

206: ,p_val_2_o =>ben_xcv_shd.g_old_rec.val_2
207: ,p_ext_crit_typ_id_o =>ben_xcv_shd.g_old_rec.ext_crit_typ_id
208: ,p_business_group_id_o =>ben_xcv_shd.g_old_rec.business_group_id
209: ,p_ext_crit_bg_id_o =>ben_xcv_shd.g_old_rec.ext_crit_bg_id
210: ,p_legislation_code_o =>ben_xcv_shd.g_old_rec.legislation_code
211: ,p_object_version_number_o =>ben_xcv_shd.g_old_rec.object_version_number
212: );
213: --
214: exception

Line 211: ,p_object_version_number_o =>ben_xcv_shd.g_old_rec.object_version_number

207: ,p_ext_crit_typ_id_o =>ben_xcv_shd.g_old_rec.ext_crit_typ_id
208: ,p_business_group_id_o =>ben_xcv_shd.g_old_rec.business_group_id
209: ,p_ext_crit_bg_id_o =>ben_xcv_shd.g_old_rec.ext_crit_bg_id
210: ,p_legislation_code_o =>ben_xcv_shd.g_old_rec.legislation_code
211: ,p_object_version_number_o =>ben_xcv_shd.g_old_rec.object_version_number
212: );
213: --
214: exception
215: --

Line 273: Procedure convert_defs(p_rec in out nocopy ben_xcv_shd.g_rec_type) is

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

Line 288: ben_xcv_shd.g_old_rec.val_1;

284: -- is being used then we must set to the 'current' argument value.
285: --
286: If (p_rec.val_1 = hr_api.g_varchar2) then
287: p_rec.val_1 :=
288: ben_xcv_shd.g_old_rec.val_1;
289: End If;
290: If (p_rec.val_2 = hr_api.g_varchar2) then
291: p_rec.val_2 :=
292: ben_xcv_shd.g_old_rec.val_2;

Line 292: ben_xcv_shd.g_old_rec.val_2;

288: ben_xcv_shd.g_old_rec.val_1;
289: End If;
290: If (p_rec.val_2 = hr_api.g_varchar2) then
291: p_rec.val_2 :=
292: ben_xcv_shd.g_old_rec.val_2;
293: End If;
294: If (p_rec.ext_crit_typ_id = hr_api.g_number) then
295: p_rec.ext_crit_typ_id :=
296: ben_xcv_shd.g_old_rec.ext_crit_typ_id;

Line 296: ben_xcv_shd.g_old_rec.ext_crit_typ_id;

292: ben_xcv_shd.g_old_rec.val_2;
293: End If;
294: If (p_rec.ext_crit_typ_id = hr_api.g_number) then
295: p_rec.ext_crit_typ_id :=
296: ben_xcv_shd.g_old_rec.ext_crit_typ_id;
297: End If;
298: If (p_rec.business_group_id = hr_api.g_number) then
299: p_rec.business_group_id :=
300: ben_xcv_shd.g_old_rec.business_group_id;

Line 300: ben_xcv_shd.g_old_rec.business_group_id;

296: ben_xcv_shd.g_old_rec.ext_crit_typ_id;
297: End If;
298: If (p_rec.business_group_id = hr_api.g_number) then
299: p_rec.business_group_id :=
300: ben_xcv_shd.g_old_rec.business_group_id;
301: End If;
302:
303: If (p_rec.ext_crit_bg_id = hr_api.g_number) then
304: p_rec.ext_crit_bg_id :=

Line 305: ben_xcv_shd.g_old_rec.ext_crit_bg_id;

301: End If;
302:
303: If (p_rec.ext_crit_bg_id = hr_api.g_number) then
304: p_rec.ext_crit_bg_id :=
305: ben_xcv_shd.g_old_rec.ext_crit_bg_id;
306: End If;
307:
308: If (p_rec.legislation_code = hr_api.g_varchar2) then
309: p_rec.legislation_code :=

Line 310: ben_xcv_shd.g_old_rec.legislation_code;

306: End If;
307:
308: If (p_rec.legislation_code = hr_api.g_varchar2) then
309: p_rec.legislation_code :=
310: ben_xcv_shd.g_old_rec.legislation_code;
311: End If;
312: --
313: hr_utility.set_location(' Leaving:'||l_proc, 10);
314: --

Line 323: p_rec in out nocopy ben_xcv_shd.g_rec_type

319: -- ----------------------------------------------------------------------------
320: Procedure upd
321: (
322: p_effective_date in date,
323: p_rec in out nocopy ben_xcv_shd.g_rec_type
324: ) is
325: --
326: l_proc varchar2(72) := g_package||'upd';
327: --

Line 333: ben_xcv_shd.lck

329: hr_utility.set_location('Entering:'||l_proc, 5);
330: --
331: -- We must lock the row which we need to update.
332: --
333: ben_xcv_shd.lck
334: (
335: p_rec.ext_crit_val_id,
336: p_rec.object_version_number
337: );

Line 383: l_rec ben_xcv_shd.g_rec_type;

379: p_created_by in number default hr_api.g_number,
380: p_object_version_number in out nocopy number
381: ) is
382: --
383: l_rec ben_xcv_shd.g_rec_type;
384: l_proc varchar2(72) := g_package||'upd';
385: --
386: Begin
387: hr_utility.set_location('Entering:'||l_proc, 5);

Line 393: ben_xcv_shd.convert_args

389: -- Call conversion function to turn arguments into the
390: -- l_rec structure.
391: --
392: l_rec :=
393: ben_xcv_shd.convert_args
394: (
395: p_ext_crit_val_id,
396: p_val_1,
397: p_val_2,