DBA Data[Home] [Help]

APPS.BEN_XCC_UPD dependencies on BEN_XCC_SHD

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

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

Line 85: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status

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

Line 92: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status

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

Line 93: ben_xcc_shd.constraint_error

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

Line 97: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status

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

Line 98: ben_xcc_shd.constraint_error

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

Line 102: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status

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

Line 103: ben_xcc_shd.constraint_error

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

Line 106: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status

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

Line 142: Procedure pre_update(p_rec in ben_xcc_shd.g_rec_type) is

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

Line 185: p_effective_date in date,p_rec in ben_xcc_shd.g_rec_type) is

181: --
182: -- {End Of Comments}
183: -- ----------------------------------------------------------------------------
184: Procedure post_update(
185: p_effective_date in date,p_rec in ben_xcc_shd.g_rec_type) is
186: --
187: l_proc varchar2(72) := g_package||'post_update';
188: --
189: Begin

Line 209: ,p_crit_typ_cd_o =>ben_xcc_shd.g_old_rec.crit_typ_cd

205: ,p_business_group_id =>p_rec.business_group_id
206: ,p_legislation_code =>p_rec.legislation_code
207: ,p_object_version_number =>p_rec.object_version_number
208: ,p_effective_date =>p_effective_date
209: ,p_crit_typ_cd_o =>ben_xcc_shd.g_old_rec.crit_typ_cd
210: ,p_oper_cd_o =>ben_xcc_shd.g_old_rec.oper_cd
211: ,p_val_1_o =>ben_xcc_shd.g_old_rec.val_1
212: ,p_val_2_o =>ben_xcc_shd.g_old_rec.val_2
213: ,p_ext_crit_val_id_o =>ben_xcc_shd.g_old_rec.ext_crit_val_id

Line 210: ,p_oper_cd_o =>ben_xcc_shd.g_old_rec.oper_cd

206: ,p_legislation_code =>p_rec.legislation_code
207: ,p_object_version_number =>p_rec.object_version_number
208: ,p_effective_date =>p_effective_date
209: ,p_crit_typ_cd_o =>ben_xcc_shd.g_old_rec.crit_typ_cd
210: ,p_oper_cd_o =>ben_xcc_shd.g_old_rec.oper_cd
211: ,p_val_1_o =>ben_xcc_shd.g_old_rec.val_1
212: ,p_val_2_o =>ben_xcc_shd.g_old_rec.val_2
213: ,p_ext_crit_val_id_o =>ben_xcc_shd.g_old_rec.ext_crit_val_id
214: ,p_business_group_id_o =>ben_xcc_shd.g_old_rec.business_group_id

Line 211: ,p_val_1_o =>ben_xcc_shd.g_old_rec.val_1

207: ,p_object_version_number =>p_rec.object_version_number
208: ,p_effective_date =>p_effective_date
209: ,p_crit_typ_cd_o =>ben_xcc_shd.g_old_rec.crit_typ_cd
210: ,p_oper_cd_o =>ben_xcc_shd.g_old_rec.oper_cd
211: ,p_val_1_o =>ben_xcc_shd.g_old_rec.val_1
212: ,p_val_2_o =>ben_xcc_shd.g_old_rec.val_2
213: ,p_ext_crit_val_id_o =>ben_xcc_shd.g_old_rec.ext_crit_val_id
214: ,p_business_group_id_o =>ben_xcc_shd.g_old_rec.business_group_id
215: ,p_legislation_code_o =>ben_xcc_shd.g_old_rec.legislation_code

Line 212: ,p_val_2_o =>ben_xcc_shd.g_old_rec.val_2

208: ,p_effective_date =>p_effective_date
209: ,p_crit_typ_cd_o =>ben_xcc_shd.g_old_rec.crit_typ_cd
210: ,p_oper_cd_o =>ben_xcc_shd.g_old_rec.oper_cd
211: ,p_val_1_o =>ben_xcc_shd.g_old_rec.val_1
212: ,p_val_2_o =>ben_xcc_shd.g_old_rec.val_2
213: ,p_ext_crit_val_id_o =>ben_xcc_shd.g_old_rec.ext_crit_val_id
214: ,p_business_group_id_o =>ben_xcc_shd.g_old_rec.business_group_id
215: ,p_legislation_code_o =>ben_xcc_shd.g_old_rec.legislation_code
216: ,p_object_version_number_o =>ben_xcc_shd.g_old_rec.object_version_number

Line 213: ,p_ext_crit_val_id_o =>ben_xcc_shd.g_old_rec.ext_crit_val_id

209: ,p_crit_typ_cd_o =>ben_xcc_shd.g_old_rec.crit_typ_cd
210: ,p_oper_cd_o =>ben_xcc_shd.g_old_rec.oper_cd
211: ,p_val_1_o =>ben_xcc_shd.g_old_rec.val_1
212: ,p_val_2_o =>ben_xcc_shd.g_old_rec.val_2
213: ,p_ext_crit_val_id_o =>ben_xcc_shd.g_old_rec.ext_crit_val_id
214: ,p_business_group_id_o =>ben_xcc_shd.g_old_rec.business_group_id
215: ,p_legislation_code_o =>ben_xcc_shd.g_old_rec.legislation_code
216: ,p_object_version_number_o =>ben_xcc_shd.g_old_rec.object_version_number
217: );

Line 214: ,p_business_group_id_o =>ben_xcc_shd.g_old_rec.business_group_id

210: ,p_oper_cd_o =>ben_xcc_shd.g_old_rec.oper_cd
211: ,p_val_1_o =>ben_xcc_shd.g_old_rec.val_1
212: ,p_val_2_o =>ben_xcc_shd.g_old_rec.val_2
213: ,p_ext_crit_val_id_o =>ben_xcc_shd.g_old_rec.ext_crit_val_id
214: ,p_business_group_id_o =>ben_xcc_shd.g_old_rec.business_group_id
215: ,p_legislation_code_o =>ben_xcc_shd.g_old_rec.legislation_code
216: ,p_object_version_number_o =>ben_xcc_shd.g_old_rec.object_version_number
217: );
218: --

Line 215: ,p_legislation_code_o =>ben_xcc_shd.g_old_rec.legislation_code

211: ,p_val_1_o =>ben_xcc_shd.g_old_rec.val_1
212: ,p_val_2_o =>ben_xcc_shd.g_old_rec.val_2
213: ,p_ext_crit_val_id_o =>ben_xcc_shd.g_old_rec.ext_crit_val_id
214: ,p_business_group_id_o =>ben_xcc_shd.g_old_rec.business_group_id
215: ,p_legislation_code_o =>ben_xcc_shd.g_old_rec.legislation_code
216: ,p_object_version_number_o =>ben_xcc_shd.g_old_rec.object_version_number
217: );
218: --
219: exception

Line 216: ,p_object_version_number_o =>ben_xcc_shd.g_old_rec.object_version_number

212: ,p_val_2_o =>ben_xcc_shd.g_old_rec.val_2
213: ,p_ext_crit_val_id_o =>ben_xcc_shd.g_old_rec.ext_crit_val_id
214: ,p_business_group_id_o =>ben_xcc_shd.g_old_rec.business_group_id
215: ,p_legislation_code_o =>ben_xcc_shd.g_old_rec.legislation_code
216: ,p_object_version_number_o =>ben_xcc_shd.g_old_rec.object_version_number
217: );
218: --
219: exception
220: --

Line 278: Procedure convert_defs(p_rec in out nocopy ben_xcc_shd.g_rec_type) is

274: -- Internal Row Handler Use Only.
275: --
276: -- {End Of Comments}
277: -- ----------------------------------------------------------------------------
278: Procedure convert_defs(p_rec in out nocopy ben_xcc_shd.g_rec_type) is
279: --
280: l_proc varchar2(72) := g_package||'convert_defs';
281: --
282: Begin

Line 293: ben_xcc_shd.g_old_rec.crit_typ_cd;

289: -- is being used then we must set to the 'current' argument value.
290: --
291: If (p_rec.crit_typ_cd = hr_api.g_varchar2) then
292: p_rec.crit_typ_cd :=
293: ben_xcc_shd.g_old_rec.crit_typ_cd;
294: End If;
295: If (p_rec.oper_cd = hr_api.g_varchar2) then
296: p_rec.oper_cd :=
297: ben_xcc_shd.g_old_rec.oper_cd;

Line 297: ben_xcc_shd.g_old_rec.oper_cd;

293: ben_xcc_shd.g_old_rec.crit_typ_cd;
294: End If;
295: If (p_rec.oper_cd = hr_api.g_varchar2) then
296: p_rec.oper_cd :=
297: ben_xcc_shd.g_old_rec.oper_cd;
298: End If;
299: If (p_rec.val_1 = hr_api.g_varchar2) then
300: p_rec.val_1 :=
301: ben_xcc_shd.g_old_rec.val_1;

Line 301: ben_xcc_shd.g_old_rec.val_1;

297: ben_xcc_shd.g_old_rec.oper_cd;
298: End If;
299: If (p_rec.val_1 = hr_api.g_varchar2) then
300: p_rec.val_1 :=
301: ben_xcc_shd.g_old_rec.val_1;
302: End If;
303: If (p_rec.val_2 = hr_api.g_varchar2) then
304: p_rec.val_2 :=
305: ben_xcc_shd.g_old_rec.val_2;

Line 305: ben_xcc_shd.g_old_rec.val_2;

301: ben_xcc_shd.g_old_rec.val_1;
302: End If;
303: If (p_rec.val_2 = hr_api.g_varchar2) then
304: p_rec.val_2 :=
305: ben_xcc_shd.g_old_rec.val_2;
306: End If;
307: If (p_rec.ext_crit_val_id = hr_api.g_number) then
308: p_rec.ext_crit_val_id :=
309: ben_xcc_shd.g_old_rec.ext_crit_val_id;

Line 309: ben_xcc_shd.g_old_rec.ext_crit_val_id;

305: ben_xcc_shd.g_old_rec.val_2;
306: End If;
307: If (p_rec.ext_crit_val_id = hr_api.g_number) then
308: p_rec.ext_crit_val_id :=
309: ben_xcc_shd.g_old_rec.ext_crit_val_id;
310: End If;
311: If (p_rec.business_group_id = hr_api.g_number) then
312: p_rec.business_group_id :=
313: ben_xcc_shd.g_old_rec.business_group_id;

Line 313: ben_xcc_shd.g_old_rec.business_group_id;

309: ben_xcc_shd.g_old_rec.ext_crit_val_id;
310: End If;
311: If (p_rec.business_group_id = hr_api.g_number) then
312: p_rec.business_group_id :=
313: ben_xcc_shd.g_old_rec.business_group_id;
314: End If;
315: If (p_rec.legislation_code = hr_api.g_varchar2) then
316: p_rec.legislation_code :=
317: ben_xcc_shd.g_old_rec.legislation_code;

Line 317: ben_xcc_shd.g_old_rec.legislation_code;

313: ben_xcc_shd.g_old_rec.business_group_id;
314: End If;
315: If (p_rec.legislation_code = hr_api.g_varchar2) then
316: p_rec.legislation_code :=
317: ben_xcc_shd.g_old_rec.legislation_code;
318: End If;
319: --
320: hr_utility.set_location(' Leaving:'||l_proc, 10);
321: --

Line 330: p_rec in out nocopy ben_xcc_shd.g_rec_type

326: -- ----------------------------------------------------------------------------
327: Procedure upd
328: (
329: p_effective_date in date,
330: p_rec in out nocopy ben_xcc_shd.g_rec_type
331: ) is
332: --
333: l_proc varchar2(72) := g_package||'upd';
334: --

Line 340: ben_xcc_shd.lck

336: hr_utility.set_location('Entering:'||l_proc, 5);
337: --
338: -- We must lock the row which we need to update.
339: --
340: ben_xcc_shd.lck
341: (
342: p_rec.ext_crit_cmbn_id,
343: p_rec.object_version_number
344: );

Line 392: l_rec ben_xcc_shd.g_rec_type;

388: p_created_by in number default hr_api.g_number,
389: p_object_version_number in out nocopy number
390: ) is
391: --
392: l_rec ben_xcc_shd.g_rec_type;
393: l_proc varchar2(72) := g_package||'upd';
394: --
395: Begin
396: hr_utility.set_location('Entering:'||l_proc, 5);

Line 402: ben_xcc_shd.convert_args

398: -- Call conversion function to turn arguments into the
399: -- l_rec structure.
400: --
401: l_rec :=
402: ben_xcc_shd.convert_args
403: (
404: p_ext_crit_cmbn_id,
405: p_crit_typ_cd,
406: p_oper_cd,