[Home] [Help]
PACKAGE BODY: APPS.BEN_LDC_SHD
Source
1 Package Body ben_ldc_shd as
2 /* $Header: beldcrhi.pkb 120.1 2007/07/04 12:37:38 rtagarra noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- | Private Global Definitions |
6 -- ----------------------------------------------------------------------------
7 --
8 g_package varchar2(33) := ' ben_ldc_shd.'; -- Global package name
9 --
10 -- ----------------------------------------------------------------------------
11 -- |------------------------< return_api_dml_status >-------------------------|
12 -- ----------------------------------------------------------------------------
13 Function return_api_dml_status Return Boolean Is
14 --
15 l_proc varchar2(72) := g_package||'return_api_dml_status';
16 --
17 Begin
18 hr_utility.set_location('Entering:'||l_proc, 5);
19 --
20 Return (nvl(g_api_dml, false));
21 --
22 hr_utility.set_location(' Leaving:'||l_proc, 10);
23 End return_api_dml_status;
24 --
25 -- ----------------------------------------------------------------------------
26 -- |---------------------------< constraint_error >---------------------------|
27 -- ----------------------------------------------------------------------------
28 Procedure constraint_error
29 (p_constraint_name in all_constraints.constraint_name%TYPE) Is
30 --
31 l_proc varchar2(72) := g_package||'constraint_error';
32 --
33 Begin
34 hr_utility.set_location('Entering:'||l_proc, 5);
35 --
36 If (p_constraint_name = 'BEN_LER_CHG_DPNT_CVG_FK2') Then
37 fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
38 fnd_message.set_token('PROCEDURE', l_proc);
39 fnd_message.set_token('STEP','5');
40 fnd_message.raise_error;
41 ElsIf (p_constraint_name = 'BEN_LER_CHG_DPNT_CVG_PK') Then
42 fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
43 fnd_message.set_token('PROCEDURE', l_proc);
44 fnd_message.set_token('STEP','10');
45 fnd_message.raise_error;
46 Else
47 fnd_message.set_name('PAY', 'HR_7877_API_INVALID_CONSTRAINT');
48 fnd_message.set_token('PROCEDURE', l_proc);
49 fnd_message.set_token('CONSTRAINT_NAME', p_constraint_name);
50 fnd_message.raise_error;
51 End If;
52 --
53 hr_utility.set_location(' Leaving:'||l_proc, 10);
54 End constraint_error;
55 --
56 -- ----------------------------------------------------------------------------
57 -- |-----------------------------< api_updating >-----------------------------|
58 -- ----------------------------------------------------------------------------
59 Function api_updating
60 (p_effective_date in date,
61 p_ler_chg_dpnt_cvg_id in number,
62 p_object_version_number in number
63 ) Return Boolean Is
64 --
65 --
66 -- Cursor selects the 'current' row from the HR Schema
67 --
68 Cursor C_Sel1 is
69 select
70 ler_chg_dpnt_cvg_id,
71 effective_start_date,
72 effective_end_date,
73 pl_id,
74 pgm_id,
75 business_group_id,
76 ler_id,
77 ptip_id,
78 add_rmv_cvg_cd,
79 cvg_eff_end_cd,
80 cvg_eff_strt_cd,
81 ler_chg_dpnt_cvg_rl,
82 ler_chg_dpnt_cvg_cd,
83 cvg_eff_strt_rl,
84 cvg_eff_end_rl,
85 ldc_attribute_category,
86 ldc_attribute1,
87 ldc_attribute2,
88 ldc_attribute3,
89 ldc_attribute4,
90 ldc_attribute5,
91 ldc_attribute6,
92 ldc_attribute7,
93 ldc_attribute8,
94 ldc_attribute9,
95 ldc_attribute10,
96 ldc_attribute11,
97 ldc_attribute12,
98 ldc_attribute13,
99 ldc_attribute14,
100 ldc_attribute15,
101 ldc_attribute16,
102 ldc_attribute17,
103 ldc_attribute18,
104 ldc_attribute19,
105 ldc_attribute20,
106 ldc_attribute21,
107 ldc_attribute22,
108 ldc_attribute23,
109 ldc_attribute24,
110 ldc_attribute25,
111 ldc_attribute26,
112 ldc_attribute27,
113 ldc_attribute28,
114 ldc_attribute29,
115 ldc_attribute30,
116 susp_if_ctfn_not_prvd_flag,
117 ctfn_determine_cd,
118 object_version_number
119 from ben_ler_chg_dpnt_cvg_f
120 where ler_chg_dpnt_cvg_id = p_ler_chg_dpnt_cvg_id
121 and p_effective_date
122 between effective_start_date and effective_end_date;
123 --
124 l_proc varchar2(72) := g_package||'api_updating';
125 l_fct_ret boolean;
126 --
127 Begin
128 hr_utility.set_location('Entering:'||l_proc, 5);
129 --
130 If (p_effective_date is null or
131 p_ler_chg_dpnt_cvg_id is null or
132 p_object_version_number is null) Then
133 --
134 -- One of the primary key arguments is null therefore we must
135 -- set the returning function value to false
136 --
137 l_fct_ret := false;
138 Else
139 If (p_ler_chg_dpnt_cvg_id = g_old_rec.ler_chg_dpnt_cvg_id and
140 p_object_version_number = g_old_rec.object_version_number) Then
141 hr_utility.set_location(l_proc, 10);
142 --
146 l_fct_ret := true;
143 -- The g_old_rec is current therefore we must
144 -- set the returning function to true
145 --
147 Else
148 --
149 -- Select the current row
150 --
151 Open C_Sel1;
152 Fetch C_Sel1 Into g_old_rec;
153 If C_Sel1%notfound Then
154 Close C_Sel1;
155 --
156 -- The primary key is invalid therefore we must error
157 --
158 fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
159 fnd_message.raise_error;
160 End If;
161 Close C_Sel1;
162 If (p_object_version_number <> g_old_rec.object_version_number) Then
163 fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
164 fnd_message.raise_error;
165 End If;
166 hr_utility.set_location(l_proc, 15);
167 l_fct_ret := true;
168 End If;
169 End If;
170 hr_utility.set_location(' Leaving:'||l_proc, 20);
171 Return (l_fct_ret);
172 --
173 End api_updating;
174 --
175 -- ----------------------------------------------------------------------------
176 -- |--------------------------< find_dt_del_modes >---------------------------|
177 -- ----------------------------------------------------------------------------
178 Procedure find_dt_del_modes
179 (p_effective_date in date,
180 p_base_key_value in number,
181 p_zap out nocopy boolean,
182 p_delete out nocopy boolean,
183 p_future_change out nocopy boolean,
184 p_delete_next_change out nocopy boolean) is
185 --
186 l_proc varchar2(72) := g_package||'find_dt_del_modes';
187 --
188 l_parent_key_value1 number;
189 l_parent_key_value2 number;
190 l_parent_key_value3 number;
191 l_parent_key_value4 number;
192 l_parent_key_value5 number;
193 l_parent_key_value6 number;
194 l_parent_key_value7 number;
195 --
196 Cursor C_Sel1 Is
197 select t.ler_chg_dpnt_cvg_rl,
198 t.cvg_eff_strt_rl,
199 t.cvg_eff_end_rl,
200 t.ptip_id,
201 t.ler_id,
202 t.pl_id,
203 t.pgm_id
204 from ben_ler_chg_dpnt_cvg_f t
205 where t.ler_chg_dpnt_cvg_id = p_base_key_value
206 and p_effective_date
207 between t.effective_start_date and t.effective_end_date;
208 --
209 Begin
210 hr_utility.set_location('Entering:'||l_proc, 5);
211 Open C_Sel1;
212 Fetch C_Sel1 Into l_parent_key_value1,
213 l_parent_key_value2,
214 l_parent_key_value3,
215 l_parent_key_value4,
216 l_parent_key_value5,
217 l_parent_key_value6,
218 l_parent_key_value7;
219 If C_Sel1%notfound then
220 Close C_Sel1;
221 fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
222 fnd_message.set_token('PROCEDURE', l_proc);
223 fnd_message.set_token('STEP','10');
224 fnd_message.raise_error;
225 End If;
226 Close C_Sel1;
227 --
228 -- Call the corresponding datetrack api
229 --
230 dt_api.find_dt_del_modes
231 (p_effective_date => p_effective_date,
232 p_base_table_name => 'ben_ler_chg_dpnt_cvg_f',
233 p_base_key_column => 'ler_chg_dpnt_cvg_id',
234 p_base_key_value => p_base_key_value,
235 p_parent_table_name1 => 'ff_formulas_f',
236 p_parent_key_column1 => 'formula_id',
237 p_parent_key_value1 => l_parent_key_value1,
238 p_parent_table_name2 => 'ff_formulas_f',
239 p_parent_key_column2 => 'formula_id',
240 p_parent_key_value2 => l_parent_key_value2,
241 p_parent_table_name3 => 'ff_formulas_f',
242 p_parent_key_column3 => 'formula_id',
243 p_parent_key_value3 => l_parent_key_value3,
244 p_parent_table_name4 => 'ben_ptip_f',
245 p_parent_key_column4 => 'ptip_id',
246 p_parent_key_value4 => l_parent_key_value4,
247 p_parent_table_name5 => 'ben_ler_f',
248 p_parent_key_column5 => 'ler_id',
249 p_parent_key_value5 => l_parent_key_value5,
250 p_parent_table_name6 => 'ben_pl_f',
251 p_parent_key_column6 => 'pl_id',
252 p_parent_key_value6 => l_parent_key_value6,
253 p_parent_table_name7 => 'ben_pgm_f',
254 p_parent_key_column7 => 'pgm_id',
255 p_parent_key_value7 => l_parent_key_value7,
256 p_zap => p_zap,
257 p_delete => p_delete,
258 p_future_change => p_future_change,
259 p_delete_next_change => p_delete_next_change);
260 --
261 hr_utility.set_location(' Leaving:'||l_proc, 10);
262 End find_dt_del_modes;
263 --
264 -- ----------------------------------------------------------------------------
265 -- |--------------------------< find_dt_upd_modes >---------------------------|
266 -- ----------------------------------------------------------------------------
267 Procedure find_dt_upd_modes
268 (p_effective_date in date,
269 p_base_key_value in number,
270 p_correction out nocopy boolean,
271 p_update out nocopy boolean,
272 p_update_override out nocopy boolean,
273 p_update_change_insert out nocopy boolean) is
274 --
275 l_proc varchar2(72) := g_package||'find_dt_upd_modes';
276 --
277 Begin
278 hr_utility.set_location('Entering:'||l_proc, 5);
279 --
280 -- Call the corresponding datetrack api
281 --
282 dt_api.find_dt_upd_modes
283 (p_effective_date => p_effective_date,
284 p_base_table_name => 'ben_ler_chg_dpnt_cvg_f',
285 p_base_key_column => 'ler_chg_dpnt_cvg_id',
286 p_base_key_value => p_base_key_value,
287 p_correction => p_correction,
288 p_update => p_update,
289 p_update_override => p_update_override,
290 p_update_change_insert => p_update_change_insert);
291 --
292 hr_utility.set_location(' Leaving:'||l_proc, 10);
293 End find_dt_upd_modes;
294 --
298 Procedure upd_effective_end_date
295 -- ----------------------------------------------------------------------------
296 -- |------------------------< upd_effective_end_date >------------------------|
297 -- ----------------------------------------------------------------------------
299 (p_effective_date in date,
300 p_base_key_value in number,
301 p_new_effective_end_date in date,
302 p_validation_start_date in date,
303 p_validation_end_date in date,
304 p_object_version_number out nocopy number) is
305 --
306 l_proc varchar2(72) := g_package||'upd_effective_end_date';
307 l_object_version_number number;
308 --
309 Begin
310 hr_utility.set_location('Entering:'||l_proc, 5);
311 --
312 -- Because we are updating a row we must get the next object
313 -- version number.
314 --
315 l_object_version_number :=
316 dt_api.get_object_version_number
317 (p_base_table_name => 'ben_ler_chg_dpnt_cvg_f',
318 p_base_key_column => 'ler_chg_dpnt_cvg_id',
319 p_base_key_value => p_base_key_value);
320 --
321 hr_utility.set_location(l_proc, 10);
322 g_api_dml := true; -- Set the api dml status
323 --
324 -- Update the specified datetrack row setting the effective
325 -- end date to the specified new effective end date.
326 --
327 update ben_ler_chg_dpnt_cvg_f t
328 set t.effective_end_date = p_new_effective_end_date,
329 t.object_version_number = l_object_version_number
330 where t.ler_chg_dpnt_cvg_id = p_base_key_value
331 and p_effective_date
332 between t.effective_start_date and t.effective_end_date;
333 --
334 g_api_dml := false; -- Unset the api dml status
335 p_object_version_number := l_object_version_number;
336 hr_utility.set_location(' Leaving:'||l_proc, 15);
337 --
338 Exception
339 When Others Then
340 g_api_dml := false; -- Unset the api dml status
341 Raise;
342 End upd_effective_end_date;
343 --
344 -- ----------------------------------------------------------------------------
345 -- |---------------------------------< lck >----------------------------------|
346 -- ----------------------------------------------------------------------------
347 Procedure lck
348 (p_effective_date in date,
349 p_datetrack_mode in varchar2,
350 p_ler_chg_dpnt_cvg_id in number,
351 p_object_version_number in number,
352 p_validation_start_date out nocopy date,
353 p_validation_end_date out nocopy date) is
354 --
355 l_proc varchar2(72) := g_package||'lck';
356 l_validation_start_date date;
357 l_validation_end_date date;
358 l_object_invalid exception;
359 l_argument varchar2(30);
360 --
361 -- Cursor C_Sel1 selects the current locked row as of session date
362 -- ensuring that the object version numbers match.
363 --
364 Cursor C_Sel1 is
365 select
366 ler_chg_dpnt_cvg_id,
367 effective_start_date,
368 effective_end_date,
369 pl_id,
370 pgm_id,
371 business_group_id,
372 ler_id,
373 ptip_id,
374 add_rmv_cvg_cd,
375 cvg_eff_end_cd,
376 cvg_eff_strt_cd,
377 ler_chg_dpnt_cvg_rl,
378 ler_chg_dpnt_cvg_cd,
379 cvg_eff_strt_rl,
380 cvg_eff_end_rl,
381 ldc_attribute_category,
382 ldc_attribute1,
383 ldc_attribute2,
384 ldc_attribute3,
385 ldc_attribute4,
386 ldc_attribute5,
387 ldc_attribute6,
388 ldc_attribute7,
389 ldc_attribute8,
390 ldc_attribute9,
391 ldc_attribute10,
392 ldc_attribute11,
393 ldc_attribute12,
394 ldc_attribute13,
395 ldc_attribute14,
396 ldc_attribute15,
397 ldc_attribute16,
398 ldc_attribute17,
399 ldc_attribute18,
400 ldc_attribute19,
401 ldc_attribute20,
402 ldc_attribute21,
403 ldc_attribute22,
404 ldc_attribute23,
405 ldc_attribute24,
406 ldc_attribute25,
407 ldc_attribute26,
408 ldc_attribute27,
409 ldc_attribute28,
410 ldc_attribute29,
411 ldc_attribute30,
412 susp_if_ctfn_not_prvd_flag,
413 ctfn_determine_cd,
414 object_version_number
415 from ben_ler_chg_dpnt_cvg_f
416 where ler_chg_dpnt_cvg_id = p_ler_chg_dpnt_cvg_id
417 and p_effective_date
418 between effective_start_date and effective_end_date
419 for update nowait;
420 --
421 --
422 --
423 Begin
424 hr_utility.set_location('Entering:'||l_proc, 5);
425 --
426 -- Ensure that all the mandatory arguments are not null
427 --
428 hr_api.mandatory_arg_error(p_api_name => l_proc,
429 p_argument => 'effective_date',
430 p_argument_value => p_effective_date);
431 --
432 hr_api.mandatory_arg_error(p_api_name => l_proc,
433 p_argument => 'datetrack_mode',
434 p_argument_value => p_datetrack_mode);
435 --
436 hr_api.mandatory_arg_error(p_api_name => l_proc,
437 p_argument => 'ler_chg_dpnt_cvg_id',
438 p_argument_value => p_ler_chg_dpnt_cvg_id);
439 --
440 hr_api.mandatory_arg_error(p_api_name => l_proc,
441 p_argument => 'object_version_number',
442 p_argument_value => p_object_version_number);
443 --
444 -- Check to ensure the datetrack mode is not INSERT.
445 --
446 If (p_datetrack_mode <> 'INSERT') then
447 --
448 -- We must select and lock the current row.
449 --
450 Open C_Sel1;
451 Fetch C_Sel1 Into g_old_rec;
455 -- The primary key is invalid therefore we must error
452 If C_Sel1%notfound then
453 Close C_Sel1;
454 --
456 --
457 fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
458 fnd_message.raise_error;
459 End If;
460 Close C_Sel1;
461 If (p_object_version_number <> g_old_rec.object_version_number) Then
462 fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
463 fnd_message.raise_error;
464 End If;
465 hr_utility.set_location(l_proc, 15);
466 --
467 --
468 -- Validate the datetrack mode mode getting the validation start
469 -- and end dates for the specified datetrack operation.
470 --
471 dt_api.validate_dt_mode
472 (p_effective_date => p_effective_date,
473 p_datetrack_mode => p_datetrack_mode,
474 p_base_table_name => 'ben_ler_chg_dpnt_cvg_f',
475 p_base_key_column => 'ler_chg_dpnt_cvg_id',
476 p_base_key_value => p_ler_chg_dpnt_cvg_id,
477 p_parent_table_name1 => 'ff_formulas_f',
478 p_parent_key_column1 => 'formula_id',
479 p_parent_key_value1 => g_old_rec.ler_chg_dpnt_cvg_rl,
480 p_parent_table_name2 => 'ff_formulas_f',
481 p_parent_key_column2 => 'formula_id',
482 p_parent_key_value2 => g_old_rec.cvg_eff_strt_rl,
483 p_parent_table_name3 => 'ff_formulas_f',
484 p_parent_key_column3 => 'formula_id',
485 p_parent_key_value3 => g_old_rec.cvg_eff_end_rl,
486 p_parent_table_name4 => 'ben_ptip_f',
487 p_parent_key_column4 => 'ptip_id',
488 p_parent_key_value4 => g_old_rec.ptip_id,
489 p_parent_table_name5 => 'ben_ler_f',
490 p_parent_key_column5 => 'ler_id',
491 p_parent_key_value5 => g_old_rec.ler_id,
492 p_parent_table_name6 => 'ben_pl_f',
493 p_parent_key_column6 => 'pl_id',
494 p_parent_key_value6 => g_old_rec.pl_id,
495 p_parent_table_name7 => 'ben_pgm_f',
496 p_parent_key_column7 => 'pgm_id',
497 p_parent_key_value7 => g_old_rec.pgm_id,
498 p_child_table_name1 => 'ben_ler_chg_dpnt_cvg_ctfn_f',
499 p_child_key_column1 => 'ler_chg_dpnt_cvg_ctfn_id',
500 p_enforce_foreign_locking => false, --true, -- Bug 6161907
501 p_validation_start_date => l_validation_start_date,
502 p_validation_end_date => l_validation_end_date);
503 Else
504 --
505 -- We are doing a datetrack 'INSERT' which is illegal within this
506 -- procedure therefore we must error (note: to lck on insert the
507 -- private procedure ins_lck should be called).
508 --
509 fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
510 fnd_message.set_token('PROCEDURE', l_proc);
511 fnd_message.set_token('STEP','20');
512 fnd_message.raise_error;
513 End If;
514 --
515 -- Set the validation start and end date OUT arguments
516 --
517 p_validation_start_date := l_validation_start_date;
518 p_validation_end_date := l_validation_end_date;
519 --
520 hr_utility.set_location(' Leaving:'||l_proc, 30);
521 --
522 -- We need to trap the ORA LOCK exception
523 --
524 Exception
525 When HR_Api.Object_Locked then
526 --
527 -- The object is locked therefore we need to supply a meaningful
528 -- error message.
529 --
530 fnd_message.set_name('PAY', 'HR_7165_OBJECT_LOCKED');
531 fnd_message.set_token('TABLE_NAME', 'ben_ler_chg_dpnt_cvg_f');
532 fnd_message.raise_error;
533 When l_object_invalid then
534 --
535 -- The object doesn't exist or is invalid
536 --
537 fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
538 fnd_message.set_token('TABLE_NAME', 'ben_ler_chg_dpnt_cvg_f');
539 fnd_message.raise_error;
540 End lck;
541 --
542 -- ----------------------------------------------------------------------------
543 -- |-----------------------------< convert_args >-----------------------------|
544 -- ----------------------------------------------------------------------------
545 Function convert_args
546 (
547 p_ler_chg_dpnt_cvg_id in number,
548 p_effective_start_date in date,
549 p_effective_end_date in date,
550 p_pl_id in number,
551 p_pgm_id in number,
552 p_business_group_id in number,
553 p_ler_id in number,
554 p_ptip_id in number,
555 p_add_rmv_cvg_cd in varchar2,
556 p_cvg_eff_end_cd in varchar2,
557 p_cvg_eff_strt_cd in varchar2,
558 p_ler_chg_dpnt_cvg_rl in number,
559 p_ler_chg_dpnt_cvg_cd in varchar2,
560 p_cvg_eff_strt_rl in number,
561 p_cvg_eff_end_rl in number,
562 p_ldc_attribute_category in varchar2,
563 p_ldc_attribute1 in varchar2,
564 p_ldc_attribute2 in varchar2,
565 p_ldc_attribute3 in varchar2,
566 p_ldc_attribute4 in varchar2,
567 p_ldc_attribute5 in varchar2,
568 p_ldc_attribute6 in varchar2,
569 p_ldc_attribute7 in varchar2,
570 p_ldc_attribute8 in varchar2,
571 p_ldc_attribute9 in varchar2,
572 p_ldc_attribute10 in varchar2,
573 p_ldc_attribute11 in varchar2,
574 p_ldc_attribute12 in varchar2,
575 p_ldc_attribute13 in varchar2,
576 p_ldc_attribute14 in varchar2,
577 p_ldc_attribute15 in varchar2,
578 p_ldc_attribute16 in varchar2,
579 p_ldc_attribute17 in varchar2,
583 p_ldc_attribute21 in varchar2,
580 p_ldc_attribute18 in varchar2,
581 p_ldc_attribute19 in varchar2,
582 p_ldc_attribute20 in varchar2,
584 p_ldc_attribute22 in varchar2,
585 p_ldc_attribute23 in varchar2,
586 p_ldc_attribute24 in varchar2,
587 p_ldc_attribute25 in varchar2,
588 p_ldc_attribute26 in varchar2,
589 p_ldc_attribute27 in varchar2,
590 p_ldc_attribute28 in varchar2,
591 p_ldc_attribute29 in varchar2,
592 p_ldc_attribute30 in varchar2,
593 p_susp_if_ctfn_not_prvd_flag in varchar2,
594 p_ctfn_determine_cd in varchar2,
595 p_object_version_number in number
596 )
597 Return g_rec_type is
598 --
599 l_rec g_rec_type;
600 l_proc varchar2(72) := g_package||'convert_args';
601 --
602 Begin
603 --
604 hr_utility.set_location('Entering:'||l_proc, 5);
605 --
606 -- Convert arguments into local l_rec structure.
607 --
608 l_rec.ler_chg_dpnt_cvg_id := p_ler_chg_dpnt_cvg_id;
609 l_rec.effective_start_date := p_effective_start_date;
610 l_rec.effective_end_date := p_effective_end_date;
611 l_rec.pl_id := p_pl_id;
612 l_rec.pgm_id := p_pgm_id;
613 l_rec.business_group_id := p_business_group_id;
614 l_rec.ler_id := p_ler_id;
615 l_rec.ptip_id := p_ptip_id;
616 l_rec.add_rmv_cvg_cd := p_add_rmv_cvg_cd;
617 l_rec.cvg_eff_end_cd := p_cvg_eff_end_cd;
618 l_rec.cvg_eff_strt_cd := p_cvg_eff_strt_cd;
619 l_rec.ler_chg_dpnt_cvg_rl := p_ler_chg_dpnt_cvg_rl;
620 l_rec.ler_chg_dpnt_cvg_cd := p_ler_chg_dpnt_cvg_cd;
621 l_rec.cvg_eff_strt_rl := p_cvg_eff_strt_rl;
622 l_rec.cvg_eff_end_rl := p_cvg_eff_end_rl;
623 l_rec.ldc_attribute_category := p_ldc_attribute_category;
624 l_rec.ldc_attribute1 := p_ldc_attribute1;
625 l_rec.ldc_attribute2 := p_ldc_attribute2;
626 l_rec.ldc_attribute3 := p_ldc_attribute3;
627 l_rec.ldc_attribute4 := p_ldc_attribute4;
628 l_rec.ldc_attribute5 := p_ldc_attribute5;
629 l_rec.ldc_attribute6 := p_ldc_attribute6;
630 l_rec.ldc_attribute7 := p_ldc_attribute7;
631 l_rec.ldc_attribute8 := p_ldc_attribute8;
632 l_rec.ldc_attribute9 := p_ldc_attribute9;
633 l_rec.ldc_attribute10 := p_ldc_attribute10;
634 l_rec.ldc_attribute11 := p_ldc_attribute11;
635 l_rec.ldc_attribute12 := p_ldc_attribute12;
636 l_rec.ldc_attribute13 := p_ldc_attribute13;
637 l_rec.ldc_attribute14 := p_ldc_attribute14;
638 l_rec.ldc_attribute15 := p_ldc_attribute15;
639 l_rec.ldc_attribute16 := p_ldc_attribute16;
640 l_rec.ldc_attribute17 := p_ldc_attribute17;
641 l_rec.ldc_attribute18 := p_ldc_attribute18;
642 l_rec.ldc_attribute19 := p_ldc_attribute19;
643 l_rec.ldc_attribute20 := p_ldc_attribute20;
644 l_rec.ldc_attribute21 := p_ldc_attribute21;
645 l_rec.ldc_attribute22 := p_ldc_attribute22;
646 l_rec.ldc_attribute23 := p_ldc_attribute23;
647 l_rec.ldc_attribute24 := p_ldc_attribute24;
648 l_rec.ldc_attribute25 := p_ldc_attribute25;
649 l_rec.ldc_attribute26 := p_ldc_attribute26;
650 l_rec.ldc_attribute27 := p_ldc_attribute27;
651 l_rec.ldc_attribute28 := p_ldc_attribute28;
652 l_rec.ldc_attribute29 := p_ldc_attribute29;
653 l_rec.ldc_attribute30 := p_ldc_attribute30;
654 l_rec.susp_if_ctfn_not_prvd_flag := p_susp_if_ctfn_not_prvd_flag;
655 l_rec.ctfn_determine_cd := p_ctfn_determine_cd;
656 l_rec.object_version_number := p_object_version_number;
657 --
658 -- Return the plsql record structure.
659 --
660 hr_utility.set_location(' Leaving:'||l_proc, 10);
661 Return(l_rec);
662 --
663 End convert_args;
664 --
665 end ben_ldc_shd;