[Home] [Help]
PACKAGE BODY: APPS.BEN_LBR_SHD
Source
1 Package Body ben_lbr_shd as
2 /* $Header: belbrrhi.pkb 120.0 2005/05/28 03:16:53 appldev noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- | Private Global Definitions |
6 -- ----------------------------------------------------------------------------
7 --
8 g_package varchar2(33) := ' ben_lbr_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_BNFT_RSTRN_F_FK1') Then
37 hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
38 hr_utility.set_message_token('PROCEDURE', l_proc);
39 hr_utility.set_message_token('STEP','5');
40 hr_utility.raise_error;
41 ElsIf (p_constraint_name = 'BEN_LER_BNFT_RSTRN_F_PK') Then
42 hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
43 hr_utility.set_message_token('PROCEDURE', l_proc);
44 hr_utility.set_message_token('STEP','10');
45 hr_utility.raise_error;
46 Else
47 hr_utility.set_message(801, 'HR_7877_API_INVALID_CONSTRAINT');
48 hr_utility.set_message_token('PROCEDURE', l_proc);
49 hr_utility.set_message_token('CONSTRAINT_NAME', p_constraint_name);
50 hr_utility.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_bnft_rstrn_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_bnft_rstrn_id,
71 effective_start_date,
72 effective_end_date,
73 no_mx_cvg_amt_apls_flag,
74 no_mn_cvg_incr_apls_flag,
75 no_mx_cvg_incr_apls_flag,
76 mx_cvg_incr_wcf_alwd_amt,
77 mx_cvg_incr_alwd_amt,
78 mx_cvg_alwd_amt,
79 mx_cvg_mlt_incr_num,
80 mx_cvg_mlt_incr_wcf_num,
81 mx_cvg_rl,
82 mx_cvg_wcfn_amt,
83 mx_cvg_wcfn_mlt_num,
84 mn_cvg_amt,
85 mn_cvg_rl,
86 cvg_incr_r_decr_only_cd,
87 unsspnd_enrt_cd,
88 dflt_to_asn_pndg_ctfn_cd,
89 dflt_to_asn_pndg_ctfn_rl,
90 ler_id,
91 pl_id,
92 business_group_id,
93 plip_id,
94 lbr_attribute_category,
95 lbr_attribute1,
96 lbr_attribute2,
97 lbr_attribute3,
98 lbr_attribute4,
99 lbr_attribute5,
100 lbr_attribute6,
101 lbr_attribute7,
102 lbr_attribute8,
103 lbr_attribute9,
104 lbr_attribute10,
105 lbr_attribute11,
106 lbr_attribute12,
107 lbr_attribute13,
108 lbr_attribute14,
109 lbr_attribute15,
110 lbr_attribute16,
111 lbr_attribute17,
112 lbr_attribute18,
113 lbr_attribute19,
114 lbr_attribute20,
115 lbr_attribute21,
116 lbr_attribute22,
117 lbr_attribute23,
118 lbr_attribute24,
119 lbr_attribute25,
120 lbr_attribute26,
121 lbr_attribute27,
122 lbr_attribute28,
123 lbr_attribute29,
124 lbr_attribute30,
125 susp_if_ctfn_not_prvd_flag,
126 ctfn_determine_cd,
127 object_version_number
128 from ben_ler_bnft_rstrn_f
129 where ler_bnft_rstrn_id = p_ler_bnft_rstrn_id
130 and p_effective_date
131 between effective_start_date and effective_end_date;
132 --
133 l_proc varchar2(72) := g_package||'api_updating';
134 l_fct_ret boolean;
135 --
136 Begin
137 hr_utility.set_location('Entering:'||l_proc, 5);
138 --
139 If (p_effective_date is null or
140 p_ler_bnft_rstrn_id is null or
141 p_object_version_number is null) Then
142 --
143 -- One of the primary key arguments is null therefore we must
144 -- set the returning function value to false
145 --
146 l_fct_ret := false;
147 Else
148 If (p_ler_bnft_rstrn_id = g_old_rec.ler_bnft_rstrn_id and
149 p_object_version_number = g_old_rec.object_version_number) Then
150 hr_utility.set_location(l_proc, 10);
151 --
152 -- The g_old_rec is current therefore we must
153 -- set the returning function to true
154 --
155 l_fct_ret := true;
156 Else
157 --
158 -- Select the current row
159 --
160 Open C_Sel1;
161 Fetch C_Sel1 Into g_old_rec;
162 If C_Sel1%notfound Then
163 Close C_Sel1;
164 --
165 -- The primary key is invalid therefore we must error
166 --
167 hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
168 hr_utility.raise_error;
169 End If;
170 Close C_Sel1;
171 If (p_object_version_number <> g_old_rec.object_version_number) Then
172 hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
173 hr_utility.raise_error;
174 End If;
175 hr_utility.set_location(l_proc, 15);
176 l_fct_ret := true;
177 End If;
178 End If;
179 hr_utility.set_location(' Leaving:'||l_proc, 20);
180 Return (l_fct_ret);
181 --
182 End api_updating;
183 --
184 -- ----------------------------------------------------------------------------
185 -- |--------------------------< find_dt_del_modes >---------------------------|
186 -- ----------------------------------------------------------------------------
187 Procedure find_dt_del_modes
188 (p_effective_date in date,
189 p_base_key_value in number,
190 p_zap out nocopy boolean,
191 p_delete out nocopy boolean,
192 p_future_change out nocopy boolean,
193 p_delete_next_change out nocopy boolean) is
194 --
195 l_proc varchar2(72) := g_package||'find_dt_del_modes';
196 --
197 l_parent_key_value1 number;
198 l_parent_key_value2 number;
199 --
200 Cursor C_Sel1 Is
201 select t.ler_id,
202 t.pl_id
203 from ben_ler_bnft_rstrn_f t
204 where t.ler_bnft_rstrn_id = p_base_key_value
205 and p_effective_date
206 between t.effective_start_date and t.effective_end_date;
207 --
208 Begin
209 hr_utility.set_location('Entering:'||l_proc, 5);
210 Open C_Sel1;
211 Fetch C_Sel1 Into l_parent_key_value1,
212 l_parent_key_value2;
213 If C_Sel1%notfound then
214 Close C_Sel1;
215 hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
216 hr_utility.set_message_token('PROCEDURE', l_proc);
217 hr_utility.set_message_token('STEP','10');
218 hr_utility.raise_error;
219 End If;
220 Close C_Sel1;
221 --
222 -- Call the corresponding datetrack api
223 --
224 dt_api.find_dt_del_modes
225 (p_effective_date => p_effective_date,
226 p_base_table_name => 'ben_ler_bnft_rstrn_f',
227 p_base_key_column => 'ler_bnft_rstrn_id',
228 p_base_key_value => p_base_key_value,
229 p_parent_table_name1 => 'ben_ler_f',
230 p_parent_key_column1 => 'ler_id',
231 p_parent_key_value1 => l_parent_key_value1,
232 p_parent_table_name2 => 'ben_pl_f',
233 p_parent_key_column2 => 'pl_id',
234 p_parent_key_value2 => l_parent_key_value2,
235 p_zap => p_zap,
236 p_delete => p_delete,
237 p_future_change => p_future_change,
238 p_delete_next_change => p_delete_next_change);
239 --
240 hr_utility.set_location(' Leaving:'||l_proc, 10);
241 End find_dt_del_modes;
242 --
243 -- ----------------------------------------------------------------------------
244 -- |--------------------------< find_dt_upd_modes >---------------------------|
245 -- ----------------------------------------------------------------------------
246 Procedure find_dt_upd_modes
247 (p_effective_date in date,
248 p_base_key_value in number,
249 p_correction out nocopy boolean,
250 p_update out nocopy boolean,
251 p_update_override out nocopy boolean,
252 p_update_change_insert out nocopy boolean) is
253 --
254 l_proc varchar2(72) := g_package||'find_dt_upd_modes';
255 --
256 Begin
257 hr_utility.set_location('Entering:'||l_proc, 5);
258 --
259 -- Call the corresponding datetrack api
260 --
261 dt_api.find_dt_upd_modes
262 (p_effective_date => p_effective_date,
263 p_base_table_name => 'ben_ler_bnft_rstrn_f',
264 p_base_key_column => 'ler_bnft_rstrn_id',
265 p_base_key_value => p_base_key_value,
266 p_correction => p_correction,
267 p_update => p_update,
268 p_update_override => p_update_override,
269 p_update_change_insert => p_update_change_insert);
270 --
271 hr_utility.set_location(' Leaving:'||l_proc, 10);
272 End find_dt_upd_modes;
273 --
274 -- ----------------------------------------------------------------------------
275 -- |------------------------< upd_effective_end_date >------------------------|
276 -- ----------------------------------------------------------------------------
277 Procedure upd_effective_end_date
278 (p_effective_date in date,
279 p_base_key_value in number,
280 p_new_effective_end_date in date,
281 p_validation_start_date in date,
282 p_validation_end_date in date,
283 p_object_version_number out nocopy number) is
284 --
285 l_proc varchar2(72) := g_package||'upd_effective_end_date';
286 l_object_version_number number;
287 --
288 Begin
289 hr_utility.set_location('Entering:'||l_proc, 5);
290 --
291 -- Because we are updating a row we must get the next object
292 -- version number.
293 --
294 l_object_version_number :=
295 dt_api.get_object_version_number
296 (p_base_table_name => 'ben_ler_bnft_rstrn_f',
297 p_base_key_column => 'ler_bnft_rstrn_id',
298 p_base_key_value => p_base_key_value);
299 --
300 hr_utility.set_location(l_proc, 10);
301 g_api_dml := true; -- Set the api dml status
302 --
303 -- Update the specified datetrack row setting the effective
304 -- end date to the specified new effective end date.
305 --
306 update ben_ler_bnft_rstrn_f t
307 set t.effective_end_date = p_new_effective_end_date,
308 t.object_version_number = l_object_version_number
309 where t.ler_bnft_rstrn_id = p_base_key_value
310 and p_effective_date
311 between t.effective_start_date and t.effective_end_date;
312 --
313 g_api_dml := false; -- Unset the api dml status
314 p_object_version_number := l_object_version_number;
315 hr_utility.set_location(' Leaving:'||l_proc, 15);
316 --
317 Exception
318 When Others Then
319 g_api_dml := false; -- Unset the api dml status
320 Raise;
321 End upd_effective_end_date;
322 --
323 -- ----------------------------------------------------------------------------
324 -- |---------------------------------< lck >----------------------------------|
325 -- ----------------------------------------------------------------------------
326 Procedure lck
327 (p_effective_date in date,
328 p_datetrack_mode in varchar2,
329 p_ler_bnft_rstrn_id in number,
330 p_object_version_number in number,
331 p_validation_start_date out nocopy date,
332 p_validation_end_date out nocopy date) is
333 --
334 l_proc varchar2(72) := g_package||'lck';
335 l_validation_start_date date;
336 l_validation_end_date date;
337 l_object_invalid exception;
338 l_argument varchar2(30);
339 --
340 -- Cursor C_Sel1 selects the current locked row as of session date
341 -- ensuring that the object version numbers match.
342 --
343 Cursor C_Sel1 is
344 select
345 ler_bnft_rstrn_id,
346 effective_start_date,
347 effective_end_date,
348 no_mx_cvg_amt_apls_flag,
349 no_mn_cvg_incr_apls_flag,
350 no_mx_cvg_incr_apls_flag,
351 mx_cvg_incr_wcf_alwd_amt,
352 mx_cvg_incr_alwd_amt,
353 mx_cvg_alwd_amt,
354 mx_cvg_mlt_incr_num,
355 mx_cvg_mlt_incr_wcf_num,
356 mx_cvg_rl,
357 mx_cvg_wcfn_amt,
358 mx_cvg_wcfn_mlt_num,
359 mn_cvg_amt,
360 mn_cvg_rl,
361 cvg_incr_r_decr_only_cd,
362 unsspnd_enrt_cd,
363 dflt_to_asn_pndg_ctfn_cd,
364 dflt_to_asn_pndg_ctfn_rl,
365 ler_id,
366 pl_id,
367 business_group_id,
368 plip_id,
369 lbr_attribute_category,
370 lbr_attribute1,
371 lbr_attribute2,
372 lbr_attribute3,
373 lbr_attribute4,
374 lbr_attribute5,
375 lbr_attribute6,
376 lbr_attribute7,
377 lbr_attribute8,
378 lbr_attribute9,
379 lbr_attribute10,
380 lbr_attribute11,
381 lbr_attribute12,
382 lbr_attribute13,
383 lbr_attribute14,
384 lbr_attribute15,
385 lbr_attribute16,
386 lbr_attribute17,
387 lbr_attribute18,
388 lbr_attribute19,
389 lbr_attribute20,
390 lbr_attribute21,
391 lbr_attribute22,
392 lbr_attribute23,
393 lbr_attribute24,
394 lbr_attribute25,
395 lbr_attribute26,
396 lbr_attribute27,
397 lbr_attribute28,
398 lbr_attribute29,
399 lbr_attribute30,
400 susp_if_ctfn_not_prvd_flag,
401 ctfn_determine_cd,
402 object_version_number
403 from ben_ler_bnft_rstrn_f
404 where ler_bnft_rstrn_id = p_ler_bnft_rstrn_id
405 and p_effective_date
406 between effective_start_date and effective_end_date
407 for update nowait;
408 --
409 --
410 --
411 Begin
412 hr_utility.set_location('Entering:'||l_proc, 5);
413 --
414 -- Ensure that all the mandatory arguments are not null
415 --
416 hr_api.mandatory_arg_error(p_api_name => l_proc,
417 p_argument => 'effective_date',
418 p_argument_value => p_effective_date);
419 --
420 hr_api.mandatory_arg_error(p_api_name => l_proc,
421 p_argument => 'datetrack_mode',
422 p_argument_value => p_datetrack_mode);
423 --
424 hr_api.mandatory_arg_error(p_api_name => l_proc,
425 p_argument => 'ler_bnft_rstrn_id',
426 p_argument_value => p_ler_bnft_rstrn_id);
427 --
428 hr_api.mandatory_arg_error(p_api_name => l_proc,
429 p_argument => 'object_version_number',
430 p_argument_value => p_object_version_number);
431 --
432 -- Check to ensure the datetrack mode is not INSERT.
433 --
434 If (p_datetrack_mode <> 'INSERT') then
435 --
436 -- We must select and lock the current row.
437 --
438 Open C_Sel1;
439 Fetch C_Sel1 Into g_old_rec;
440 If C_Sel1%notfound then
441 Close C_Sel1;
442 --
443 -- The primary key is invalid therefore we must error
444 --
448 Close C_Sel1;
445 hr_utility.set_message(801, 'HR_7220_INVALID_PRIMARY_KEY');
446 hr_utility.raise_error;
447 End If;
449 If (p_object_version_number <> g_old_rec.object_version_number) Then
450 hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
451 hr_utility.raise_error;
452 End If;
453 hr_utility.set_location(l_proc, 15);
454 --
455 --
456 -- Validate the datetrack mode mode getting the validation start
457 -- and end dates for the specified datetrack operation.
458 --
459 dt_api.validate_dt_mode
460 (p_effective_date => p_effective_date,
461 p_datetrack_mode => p_datetrack_mode,
462 p_base_table_name => 'ben_ler_bnft_rstrn_f',
463 p_base_key_column => 'ler_bnft_rstrn_id',
464 p_base_key_value => p_ler_bnft_rstrn_id,
465 p_parent_table_name1 => 'ben_ler_f',
466 p_parent_key_column1 => 'ler_id',
467 p_parent_key_value1 => g_old_rec.ler_id,
468 p_parent_table_name2 => 'ben_pl_f',
469 p_parent_key_column2 => 'pl_id',
470 p_parent_key_value2 => g_old_rec.pl_id,
471 p_child_table_name1 => 'ben_ler_bnft_rstrn_ctfn_f',
472 p_child_key_column1 => 'ler_bnft_rstrn_ctfn_id',
473 p_enforce_foreign_locking => true,
474 p_validation_start_date => l_validation_start_date,
475 p_validation_end_date => l_validation_end_date);
476 Else
477 --
478 -- We are doing a datetrack 'INSERT' which is illegal within this
479 -- procedure therefore we must error (note: to lck on insert the
480 -- private procedure ins_lck should be called).
481 --
482 hr_utility.set_message(801, 'HR_6153_ALL_PROCEDURE_FAIL');
483 hr_utility.set_message_token('PROCEDURE', l_proc);
484 hr_utility.set_message_token('STEP','20');
485 hr_utility.raise_error;
486 End If;
487 --
488 -- Set the validation start and end date OUT arguments
489 --
490 p_validation_start_date := l_validation_start_date;
491 p_validation_end_date := l_validation_end_date;
492 --
493 hr_utility.set_location(' Leaving:'||l_proc, 30);
494 --
495 -- We need to trap the ORA LOCK exception
496 --
497 Exception
498 When HR_Api.Object_Locked then
499 --
500 -- The object is locked therefore we need to supply a meaningful
501 -- error message.
502 --
503 hr_utility.set_message(801, 'HR_7165_OBJECT_LOCKED');
504 hr_utility.set_message_token('TABLE_NAME', 'ben_ler_bnft_rstrn_f');
505 hr_utility.raise_error;
506 When l_object_invalid then
507 --
508 -- The object doesn't exist or is invalid
509 --
510 hr_utility.set_message(801, 'HR_7155_OBJECT_INVALID');
511 hr_utility.set_message_token('TABLE_NAME', 'ben_ler_bnft_rstrn_f');
512 hr_utility.raise_error;
513 End lck;
514 --
515 -- ----------------------------------------------------------------------------
516 -- |-----------------------------< convert_args >-----------------------------|
517 -- ----------------------------------------------------------------------------
518 Function convert_args
519 (
520 p_ler_bnft_rstrn_id in number,
521 p_effective_start_date in date,
522 p_effective_end_date in date,
523 p_no_mx_cvg_amt_apls_flag in varchar2,
524 p_no_mn_cvg_incr_apls_flag in varchar2,
525 p_no_mx_cvg_incr_apls_flag in varchar2,
526 p_mx_cvg_incr_wcf_alwd_amt in number,
527 p_mx_cvg_incr_alwd_amt in number,
528 p_mx_cvg_alwd_amt in number,
529 p_mx_cvg_mlt_incr_num in number,
530 p_mx_cvg_mlt_incr_wcf_num in number,
531 p_mx_cvg_rl in number,
532 p_mx_cvg_wcfn_amt in number,
533 p_mx_cvg_wcfn_mlt_num in number,
534 p_mn_cvg_amt in number,
535 p_mn_cvg_rl in number,
536 p_cvg_incr_r_decr_only_cd in varchar2,
537 p_unsspnd_enrt_cd in varchar2,
538 p_dflt_to_asn_pndg_ctfn_cd in varchar2,
539 p_dflt_to_asn_pndg_ctfn_rl in number,
540 p_ler_id in number,
541 p_pl_id in number,
542 p_business_group_id in number,
543 p_plip_id in number,
544 p_lbr_attribute_category in varchar2,
545 p_lbr_attribute1 in varchar2,
546 p_lbr_attribute2 in varchar2,
547 p_lbr_attribute3 in varchar2,
548 p_lbr_attribute4 in varchar2,
549 p_lbr_attribute5 in varchar2,
550 p_lbr_attribute6 in varchar2,
551 p_lbr_attribute7 in varchar2,
552 p_lbr_attribute8 in varchar2,
553 p_lbr_attribute9 in varchar2,
554 p_lbr_attribute10 in varchar2,
555 p_lbr_attribute11 in varchar2,
556 p_lbr_attribute12 in varchar2,
557 p_lbr_attribute13 in varchar2,
558 p_lbr_attribute14 in varchar2,
559 p_lbr_attribute15 in varchar2,
560 p_lbr_attribute16 in varchar2,
561 p_lbr_attribute17 in varchar2,
562 p_lbr_attribute18 in varchar2,
563 p_lbr_attribute19 in varchar2,
564 p_lbr_attribute20 in varchar2,
568 p_lbr_attribute24 in varchar2,
565 p_lbr_attribute21 in varchar2,
566 p_lbr_attribute22 in varchar2,
567 p_lbr_attribute23 in varchar2,
569 p_lbr_attribute25 in varchar2,
570 p_lbr_attribute26 in varchar2,
571 p_lbr_attribute27 in varchar2,
572 p_lbr_attribute28 in varchar2,
573 p_lbr_attribute29 in varchar2,
574 p_lbr_attribute30 in varchar2,
575 p_susp_if_ctfn_not_prvd_flag in varchar2,
576 p_ctfn_determine_cd in varchar2,
577 p_object_version_number in number
578 )
579 Return g_rec_type is
580 --
581 l_rec g_rec_type;
582 l_proc varchar2(72) := g_package||'convert_args';
583 --
584 Begin
585 --
586 hr_utility.set_location('Entering:'||l_proc, 5);
587 --
588 -- Convert arguments into local l_rec structure.
589 --
590 l_rec.ler_bnft_rstrn_id := p_ler_bnft_rstrn_id;
591 l_rec.effective_start_date := p_effective_start_date;
592 l_rec.effective_end_date := p_effective_end_date;
593 l_rec.no_mx_cvg_amt_apls_flag := p_no_mx_cvg_amt_apls_flag;
594 l_rec.no_mn_cvg_incr_apls_flag := p_no_mn_cvg_incr_apls_flag;
595 l_rec.no_mx_cvg_incr_apls_flag := p_no_mx_cvg_incr_apls_flag;
596 l_rec.mx_cvg_incr_wcf_alwd_amt := p_mx_cvg_incr_wcf_alwd_amt;
597 l_rec.mx_cvg_incr_alwd_amt := p_mx_cvg_incr_alwd_amt;
598 l_rec.mx_cvg_alwd_amt := p_mx_cvg_alwd_amt;
599 l_rec.mx_cvg_mlt_incr_num := p_mx_cvg_mlt_incr_num;
600 l_rec.mx_cvg_mlt_incr_wcf_num := p_mx_cvg_mlt_incr_wcf_num;
601 l_rec.mx_cvg_rl := p_mx_cvg_rl;
602 l_rec.mx_cvg_wcfn_amt := p_mx_cvg_wcfn_amt;
603 l_rec.mx_cvg_wcfn_mlt_num := p_mx_cvg_wcfn_mlt_num;
604 l_rec.mn_cvg_amt := p_mn_cvg_amt;
605 l_rec.mn_cvg_rl := p_mn_cvg_rl;
606 l_rec.cvg_incr_r_decr_only_cd := p_cvg_incr_r_decr_only_cd;
607 l_rec.unsspnd_enrt_cd := p_unsspnd_enrt_cd;
608 l_rec.dflt_to_asn_pndg_ctfn_cd := p_dflt_to_asn_pndg_ctfn_cd;
609 l_rec.dflt_to_asn_pndg_ctfn_rl := p_dflt_to_asn_pndg_ctfn_rl;
610 l_rec.ler_id := p_ler_id;
611 l_rec.pl_id := p_pl_id;
612 l_rec.business_group_id := p_business_group_id;
613 l_rec.plip_id := p_plip_id;
614 l_rec.lbr_attribute_category := p_lbr_attribute_category;
615 l_rec.lbr_attribute1 := p_lbr_attribute1;
616 l_rec.lbr_attribute2 := p_lbr_attribute2;
617 l_rec.lbr_attribute3 := p_lbr_attribute3;
618 l_rec.lbr_attribute4 := p_lbr_attribute4;
619 l_rec.lbr_attribute5 := p_lbr_attribute5;
620 l_rec.lbr_attribute6 := p_lbr_attribute6;
621 l_rec.lbr_attribute7 := p_lbr_attribute7;
622 l_rec.lbr_attribute8 := p_lbr_attribute8;
623 l_rec.lbr_attribute9 := p_lbr_attribute9;
624 l_rec.lbr_attribute10 := p_lbr_attribute10;
625 l_rec.lbr_attribute11 := p_lbr_attribute11;
626 l_rec.lbr_attribute12 := p_lbr_attribute12;
627 l_rec.lbr_attribute13 := p_lbr_attribute13;
628 l_rec.lbr_attribute14 := p_lbr_attribute14;
629 l_rec.lbr_attribute15 := p_lbr_attribute15;
630 l_rec.lbr_attribute16 := p_lbr_attribute16;
631 l_rec.lbr_attribute17 := p_lbr_attribute17;
632 l_rec.lbr_attribute18 := p_lbr_attribute18;
633 l_rec.lbr_attribute19 := p_lbr_attribute19;
634 l_rec.lbr_attribute20 := p_lbr_attribute20;
635 l_rec.lbr_attribute21 := p_lbr_attribute21;
636 l_rec.lbr_attribute22 := p_lbr_attribute22;
637 l_rec.lbr_attribute23 := p_lbr_attribute23;
638 l_rec.lbr_attribute24 := p_lbr_attribute24;
639 l_rec.lbr_attribute25 := p_lbr_attribute25;
640 l_rec.lbr_attribute26 := p_lbr_attribute26;
641 l_rec.lbr_attribute27 := p_lbr_attribute27;
642 l_rec.lbr_attribute28 := p_lbr_attribute28;
643 l_rec.lbr_attribute29 := p_lbr_attribute29;
644 l_rec.lbr_attribute30 := p_lbr_attribute30;
645 l_rec.susp_if_ctfn_not_prvd_flag := p_susp_if_ctfn_not_prvd_flag;
646 l_rec.ctfn_determine_cd := p_ctfn_determine_cd;
647 l_rec.object_version_number := p_object_version_number;
648 --
649 -- Return the plsql record structure.
650 --
651 hr_utility.set_location(' Leaving:'||l_proc, 10);
652 Return(l_rec);
653 --
654 End convert_args;
655 --
656 end ben_lbr_shd;