[Home] [Help]
PACKAGE BODY: APPS.BEN_PRC_SHD
Source
1 Package Body ben_prc_shd as
2 /* $Header: beprcrhi.pkb 120.8 2008/02/05 09:45:19 rtagarra noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- | Private Global Definitions |
6 -- ----------------------------------------------------------------------------
7 --
8 g_package varchar2(33) := ' ben_prc_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
27 --
28 -- ----------------------------------------------------------------------------
29 -- |---------------------------< constraint_error >---------------------------|
30 -- ----------------------------------------------------------------------------
31 Procedure constraint_error
32 (p_constraint_name in all_constraints.constraint_name%TYPE) Is
33 --
34 l_proc varchar2(72) := g_package||'constraint_error';
35 --
36 Begin
37 hr_utility.set_location('Entering:'||l_proc, 5);
38 --
39 If (p_constraint_name = 'BEN_PRTT_REIMBMT_RQST_F_DT6') Then
40 fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
41 fnd_message.set_token('PROCEDURE', l_proc);
42 fnd_message.set_token('STEP','5');
43 fnd_message.raise_error;
44 ElsIf (p_constraint_name = 'BEN_PRTT_REIMBMT_RQST_F_FK1') Then
45 fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
46 fnd_message.set_token('PROCEDURE', l_proc);
47 fnd_message.set_token('STEP','10');
48 fnd_message.raise_error;
49 ElsIf (p_constraint_name = 'BEN_PRTT_REIMBMT_RQST_F_FK3') Then
50 fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
51 fnd_message.set_token('PROCEDURE', l_proc);
52 fnd_message.set_token('STEP','15');
53 fnd_message.raise_error;
54 ElsIf (p_constraint_name = 'BEN_PRTT_REIMBMT_RQST_F_PK') Then
55 fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
56 fnd_message.set_token('PROCEDURE', l_proc);
57 fnd_message.set_token('STEP','20');
58 fnd_message.raise_error;
59 Else
60 fnd_message.set_name('PAY', 'HR_7877_API_INVALID_CONSTRAINT');
61 fnd_message.set_token('PROCEDURE', l_proc);
62 fnd_message.set_token('CONSTRAINT_NAME', p_constraint_name);
63 fnd_message.raise_error;
64 End If;
65 --
66 hr_utility.set_location(' Leaving:'||l_proc, 10);
67 End constraint_error;
68 --
69 -- ----------------------------------------------------------------------------
70 -- |-----------------------------< api_updating >-----------------------------|
71 -- ----------------------------------------------------------------------------
72 Function api_updating
73 (p_effective_date in date,
74 p_prtt_reimbmt_rqst_id in number,
75 p_object_version_number in number
76 ) Return Boolean Is
77 --
78 --
79 -- Cursor selects the 'current' row from the HR Schema
80 --
81 Cursor C_Sel1 is
82 select
83 prtt_reimbmt_rqst_id,
84 effective_start_date,
85 effective_end_date,
86 incrd_from_dt,
87 incrd_to_dt,
88 rqst_num,
89 rqst_amt,
90 rqst_amt_uom,
91 rqst_btch_num,
92 prtt_reimbmt_rqst_stat_cd,
93 reimbmt_ctfn_typ_prvdd_cd,
94 rcrrg_cd,
95 submitter_person_id,
96 recipient_person_id,
97 provider_person_id,
98 provider_ssn_person_id,
99 pl_id,
100 gd_or_svc_typ_id,
101 contact_relationship_id,
102 business_group_id,
103 opt_id,
104 popl_yr_perd_id_1,
105 popl_yr_perd_id_2 ,
106 amt_year1 ,
107 amt_year2,
108 prc_attribute_category,
112 prc_attribute4,
109 prc_attribute1,
110 prc_attribute2,
111 prc_attribute3,
113 prc_attribute5,
114 prc_attribute6,
115 prc_attribute7,
116 prc_attribute8,
117 prc_attribute9,
118 prc_attribute10,
119 prc_attribute11,
120 prc_attribute12,
121 prc_attribute13,
122 prc_attribute14,
123 prc_attribute15,
124 prc_attribute16,
125 prc_attribute17,
126 prc_attribute18,
127 prc_attribute19,
128 prc_attribute20,
129 prc_attribute21,
130 prc_attribute22,
131 prc_attribute23,
132 prc_attribute24,
133 prc_attribute25,
134 prc_attribute26,
135 prc_attribute27,
136 prc_attribute28,
137 prc_attribute29,
138 prc_attribute30,
139 prtt_enrt_rslt_id ,
140 comment_id ,
141 object_version_number ,
142 stat_rsn_cd ,
143 pymt_stat_cd ,
144 pymt_stat_rsn_cd ,
145 stat_ovrdn_flag ,
146 stat_ovrdn_rsn_cd ,
147 stat_prr_to_ovrd ,
148 pymt_stat_ovrdn_flag ,
149 pymt_stat_ovrdn_rsn_cd ,
150 pymt_stat_prr_to_ovrd ,
151 adjmt_flag ,
152 submtd_dt ,
153 ttl_rqst_amt ,
154 aprvd_for_pymt_amt ,
155 null,
156 exp_incurd_dt
157 from ben_prtt_reimbmt_rqst_f
158 where prtt_reimbmt_rqst_id = p_prtt_reimbmt_rqst_id
159 and p_effective_date
160 between effective_start_date and effective_end_date;
161 --
162 l_proc varchar2(72) := g_package||'api_updating';
163 l_fct_ret boolean;
164 --
165 Begin
166 hr_utility.set_location('Entering:'||l_proc, 5);
167 --
168 If (p_effective_date is null or
169 p_prtt_reimbmt_rqst_id is null or
170 p_object_version_number is null) Then
171 --
172 -- One of the primary key arguments is null therefore we must
173 -- set the returning function value to false
174 --
175 l_fct_ret := false;
176 Else
177 If (p_prtt_reimbmt_rqst_id = g_old_rec.prtt_reimbmt_rqst_id and
178 p_object_version_number = g_old_rec.object_version_number) Then
179 hr_utility.set_location(l_proc, 10);
180 --
181 -- The g_old_rec is current therefore we must
182 -- set the returning function to true
183 --
184 l_fct_ret := true;
185 Else
186 --
187 -- Select the current row
188 --
189 Open C_Sel1;
190 Fetch C_Sel1 Into g_old_rec;
191 If C_Sel1%notfound Then
192 Close C_Sel1;
193 --
194 -- The primary key is invalid therefore we must error
195 --
196 fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
197 fnd_message.raise_error;
198 End If;
199 Close C_Sel1;
200 If (p_object_version_number <> g_old_rec.object_version_number) Then
201 fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
202 fnd_message.raise_error;
203 End If;
204 hr_utility.set_location(l_proc, 15);
205 l_fct_ret := true;
206 End If;
207 End If;
208 hr_utility.set_location(' Leaving:'||l_proc, 20);
209 Return (l_fct_ret);
210 --
211 End api_updating;
212 --
213 -- ----------------------------------------------------------------------------
214 -- |--------------------------< find_dt_del_modes >---------------------------|
215 -- ----------------------------------------------------------------------------
216 Procedure find_dt_del_modes
217 (p_effective_date in date,
218 p_base_key_value in number,
219 p_zap out nocopy boolean,
220 p_delete out nocopy boolean,
221 p_future_change out nocopy boolean,
222 p_delete_next_change out nocopy boolean) is
223 --
224 l_proc varchar2(72) := g_package||'find_dt_del_modes';
225 --
226 l_parent_key_value1 number;
227 --
228 Cursor C_Sel1 Is
229 select t.pl_id
230 from ben_prtt_reimbmt_rqst_f t
231 where t.prtt_reimbmt_rqst_id = p_base_key_value
232 and p_effective_date
233 between t.effective_start_date and t.effective_end_date;
234 --
235 Begin
236 hr_utility.set_location('Entering:'||l_proc, 5);
237 Open C_Sel1;
238 Fetch C_Sel1 Into l_parent_key_value1;
239 If C_Sel1%notfound then
240 Close C_Sel1;
241 fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
242 fnd_message.set_token('PROCEDURE', l_proc);
243 fnd_message.set_token('STEP','10');
244 fnd_message.raise_error;
245 End If;
246 Close C_Sel1;
247 --
248 -- Call the corresponding datetrack api
249 --
250 dt_api.find_dt_del_modes
251 (p_effective_date => p_effective_date,
252 p_base_table_name => 'ben_prtt_reimbmt_rqst_f',
253 p_base_key_column => 'prtt_reimbmt_rqst_id',
254 p_base_key_value => p_base_key_value,
255 p_parent_table_name1 => 'ben_pl_f',
256 p_parent_key_column1 => 'pl_id',
257 p_parent_key_value1 => l_parent_key_value1,
258 p_zap => p_zap,
259 p_delete => p_delete,
260 p_future_change => p_future_change,
261 p_delete_next_change => p_delete_next_change);
262 --
263 hr_utility.set_location(' Leaving:'||l_proc, 10);
264 End find_dt_del_modes;
265 --
266 -- ----------------------------------------------------------------------------
267 -- |--------------------------< find_dt_upd_modes >---------------------------|
271 p_base_key_value in number,
268 -- ----------------------------------------------------------------------------
269 Procedure find_dt_upd_modes
270 (p_effective_date in date,
272 p_correction out nocopy boolean,
273 p_update out nocopy boolean,
274 p_update_override out nocopy boolean,
275 p_update_change_insert out nocopy boolean) is
276 --
277 l_proc varchar2(72) := g_package||'find_dt_upd_modes';
278 --
279 Begin
280 hr_utility.set_location('Entering:'||l_proc, 5);
281 --
282 -- Call the corresponding datetrack api
283 --
284 dt_api.find_dt_upd_modes
285 (p_effective_date => p_effective_date,
286 p_base_table_name => 'ben_prtt_reimbmt_rqst_f',
287 p_base_key_column => 'prtt_reimbmt_rqst_id',
288 p_base_key_value => p_base_key_value,
289 p_correction => p_correction,
290 p_update => p_update,
291 p_update_override => p_update_override,
292 p_update_change_insert => p_update_change_insert);
293 --
294 hr_utility.set_location(' Leaving:'||l_proc, 10);
295 End find_dt_upd_modes;
296 --
297 -- ----------------------------------------------------------------------------
298 -- |------------------------< upd_effective_end_date >------------------------|
299 -- ----------------------------------------------------------------------------
300 Procedure upd_effective_end_date
301 (p_effective_date in date,
302 p_base_key_value in number,
303 p_new_effective_end_date in date,
304 p_validation_start_date in date,
305 p_validation_end_date in date,
306 p_object_version_number out nocopy number) is
307 --
308 l_proc varchar2(72) := g_package||'upd_effective_end_date';
309 l_object_version_number number;
310 --
311 Begin
312 hr_utility.set_location('Entering:'||l_proc, 5);
313 --
314 -- Because we are updating a row we must get the next object
315 -- version number.
316 --
317 l_object_version_number :=
318 dt_api.get_object_version_number
319 (p_base_table_name => 'ben_prtt_reimbmt_rqst_f',
320 p_base_key_column => 'prtt_reimbmt_rqst_id',
321 p_base_key_value => p_base_key_value);
322 --
323 hr_utility.set_location(l_proc, 10);
324 g_api_dml := true; -- Set the api dml status
325 --
326 -- Update the specified datetrack row setting the effective
327 -- end date to the specified new effective end date.
328 --
329 update ben_prtt_reimbmt_rqst_f t
330 set t.effective_end_date = p_new_effective_end_date,
331 t.object_version_number = l_object_version_number
332 where t.prtt_reimbmt_rqst_id = p_base_key_value
333 and p_effective_date
334 between t.effective_start_date and t.effective_end_date;
335 --
336 g_api_dml := false; -- Unset the api dml status
337 p_object_version_number := l_object_version_number;
338 hr_utility.set_location(' Leaving:'||l_proc, 15);
339 --
340 Exception
341 When Others Then
342 g_api_dml := false; -- Unset the api dml status
343 Raise;
344 End upd_effective_end_date;
345 --
346 -- ----------------------------------------------------------------------------
347 -- |---------------------------------< lck >----------------------------------|
348 -- ----------------------------------------------------------------------------
349 Procedure lck
350 (p_effective_date in date,
351 p_datetrack_mode in varchar2,
352 p_prtt_reimbmt_rqst_id in number,
353 p_object_version_number in number,
354 p_validation_start_date out nocopy date,
355 p_validation_end_date out nocopy date) is
356 --
357 l_proc varchar2(72) := g_package||'lck';
358 l_validation_start_date date;
359 l_validation_end_date date;
360 l_object_invalid exception;
361 l_argument varchar2(30);
362 --
363 -- Cursor C_Sel1 selects the current locked row as of session date
364 -- ensuring that the object version numbers match.
365 --
366 Cursor C_Sel1 is
367 select
368 prtt_reimbmt_rqst_id,
369 effective_start_date,
370 effective_end_date,
371 incrd_from_dt,
372 incrd_to_dt,
373 rqst_num,
374 rqst_amt,
375 rqst_amt_uom,
376 rqst_btch_num,
377 prtt_reimbmt_rqst_stat_cd,
378 reimbmt_ctfn_typ_prvdd_cd,
379 rcrrg_cd,
380 submitter_person_id,
381 recipient_person_id,
382 provider_person_id,
383 provider_ssn_person_id,
384 pl_id,
385 gd_or_svc_typ_id,
386 contact_relationship_id,
387 business_group_id,
388 opt_id,
389 popl_yr_perd_id_1,
390 popl_yr_perd_id_2 ,
391 amt_year1 ,
392 amt_year2,
393 prc_attribute_category,
394 prc_attribute1,
395 prc_attribute2,
396 prc_attribute3,
397 prc_attribute4,
398 prc_attribute5,
399 prc_attribute6,
400 prc_attribute7,
401 prc_attribute8,
402 prc_attribute9,
403 prc_attribute10,
404 prc_attribute11,
405 prc_attribute12,
406 prc_attribute13,
407 prc_attribute14,
408 prc_attribute15,
409 prc_attribute16,
410 prc_attribute17,
411 prc_attribute18,
412 prc_attribute19,
413 prc_attribute20,
414 prc_attribute21,
415 prc_attribute22,
416 prc_attribute23,
417 prc_attribute24,
418 prc_attribute25,
419 prc_attribute26,
420 prc_attribute27,
421 prc_attribute28,
422 prc_attribute29,
423 prc_attribute30,
424 prtt_enrt_rslt_id,
425 comment_id ,
426 object_version_number ,
427 stat_rsn_cd ,
428 pymt_stat_cd ,
429 pymt_stat_rsn_cd ,
433 pymt_stat_ovrdn_flag ,
430 stat_ovrdn_flag ,
431 stat_ovrdn_rsn_cd ,
432 stat_prr_to_ovrd ,
434 pymt_stat_ovrdn_rsn_cd ,
435 pymt_stat_prr_to_ovrd ,
436 adjmt_flag ,
437 submtd_dt ,
438 ttl_rqst_amt ,
439 aprvd_for_pymt_amt ,
440 null ,
441 exp_incurd_dt
442 from ben_prtt_reimbmt_rqst_f
443 where prtt_reimbmt_rqst_id = p_prtt_reimbmt_rqst_id
444 and p_effective_date
445 between effective_start_date and effective_end_date
446 for update nowait;
447 --
448 --
449 --
450 Begin
451 hr_utility.set_location('Entering:'||l_proc, 5);
452 hr_utility.set_location('reimb rq id :'||p_prtt_reimbmt_rqst_id, 5);
453 hr_utility.set_location('effct dt '||p_effective_date, 5);
454 --
455 -- Ensure that all the mandatory arguments are not null
456 --
457 hr_api.mandatory_arg_error(p_api_name => l_proc,
458 p_argument => 'effective_date',
459 p_argument_value => p_effective_date);
460 --
461 hr_api.mandatory_arg_error(p_api_name => l_proc,
462 p_argument => 'datetrack_mode',
463 p_argument_value => p_datetrack_mode);
464 --
465 hr_api.mandatory_arg_error(p_api_name => l_proc,
466 p_argument => 'prtt_reimbmt_rqst_id',
467 p_argument_value => p_prtt_reimbmt_rqst_id);
468 --
469 hr_api.mandatory_arg_error(p_api_name => l_proc,
470 p_argument => 'object_version_number',
471 p_argument_value => p_object_version_number);
472 --
473 -- Check to ensure the datetrack mode is not INSERT.
474 --
475 If (p_datetrack_mode <> 'INSERT') then
476 --
477 -- We must select and lock the current row.
478 --
479 Open C_Sel1;
480 Fetch C_Sel1 Into g_old_rec;
481 If C_Sel1%notfound then
482 Close C_Sel1;
483 --
484 -- The primary key is invalid therefore we must error
485 --
486 fnd_message.set_name('PAY', 'HR_7220_INVALID_PRIMARY_KEY');
487 fnd_message.raise_error;
488 End If;
489 Close C_Sel1;
490 If (p_object_version_number <> g_old_rec.object_version_number) Then
491 fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
492 fnd_message.raise_error;
493 End If;
494 hr_utility.set_location(l_proc, 15);
495 --
496 --
497 -- Validate the datetrack mode mode getting the validation start
498 -- and end dates for the specified datetrack operation.
499 --
500 dt_api.validate_dt_mode
501 (p_effective_date => p_effective_date,
502 p_datetrack_mode => p_datetrack_mode,
503 p_base_table_name => 'ben_prtt_reimbmt_rqst_f',
504 p_base_key_column => 'prtt_reimbmt_rqst_id',
505 p_base_key_value => p_prtt_reimbmt_rqst_id,
506 p_parent_table_name1 => 'ben_pl_f',
507 p_parent_key_column1 => 'pl_id',
508 p_parent_key_value1 => g_old_rec.pl_id,
509 p_enforce_foreign_locking => false , --true,
510 p_validation_start_date => l_validation_start_date,
511 p_validation_end_date => l_validation_end_date);
512 Else
513 --
514 -- We are doing a datetrack 'INSERT' which is illegal within this
515 -- procedure therefore we must error (note: to lck on insert the
516 -- private procedure ins_lck should be called).
517 --
518 fnd_message.set_name('PAY', 'HR_6153_ALL_PROCEDURE_FAIL');
519 fnd_message.set_token('PROCEDURE', l_proc);
520 fnd_message.set_token('STEP','20');
521 fnd_message.raise_error;
522 End If;
523 --
524 -- Set the validation start and end date OUT arguments
525 --
526 p_validation_start_date := l_validation_start_date;
527 p_validation_end_date := l_validation_end_date;
528 --
529 hr_utility.set_location(' Leaving:'||l_proc, 30);
530 --
531 -- We need to trap the ORA LOCK exception
532 --
533 Exception
534 When HR_Api.Object_Locked then
535 --
536 -- The object is locked therefore we need to supply a meaningful
537 -- error message.
538 --
539 fnd_message.set_name('PAY', 'HR_7165_OBJECT_LOCKED');
540 fnd_message.set_token('TABLE_NAME', 'ben_prtt_reimbmt_rqst_f');
541 fnd_message.raise_error;
542 When l_object_invalid then
543 --
544 -- The object doesn't exist or is invalid
545 --
546 fnd_message.set_name('PAY', 'HR_7155_OBJECT_INVALID');
547 fnd_message.set_token('TABLE_NAME', 'ben_prtt_reimbmt_rqst_f');
548 fnd_message.raise_error;
549 End lck;
550 --
551 -- ----------------------------------------------------------------------------
552 -- |-----------------------------< convert_args >-----------------------------|
553 -- ----------------------------------------------------------------------------
554 Function convert_args
555 (
556 p_prtt_reimbmt_rqst_id in number,
557 p_effective_start_date in date,
558 p_effective_end_date in date,
559 p_incrd_from_dt in date,
560 p_incrd_to_dt in date,
561 p_rqst_num in number,
562 p_rqst_amt in number,
563 p_rqst_amt_uom in varchar2,
564 p_rqst_btch_num in number,
568 p_submitter_person_id in number,
565 p_prtt_reimbmt_rqst_stat_cd in varchar2,
566 p_reimbmt_ctfn_typ_prvdd_cd in varchar2,
567 p_rcrrg_cd in varchar2,
569 p_recipient_person_id in number,
570 p_provider_person_id in number,
571 p_provider_ssn_person_id in number,
572 p_pl_id in number,
573 p_gd_or_svc_typ_id in number,
574 p_contact_relationship_id in number,
575 p_business_group_id in number,
576 p_opt_id in number,
577 p_popl_yr_perd_id_1 in number,
578 p_popl_yr_perd_id_2 in number,
579 p_amt_year1 in number ,
580 p_amt_year2 in number,
581 p_prc_attribute_category in varchar2,
582 p_prc_attribute1 in varchar2,
583 p_prc_attribute2 in varchar2,
584 p_prc_attribute3 in varchar2,
585 p_prc_attribute4 in varchar2,
586 p_prc_attribute5 in varchar2,
587 p_prc_attribute6 in varchar2,
588 p_prc_attribute7 in varchar2,
589 p_prc_attribute8 in varchar2,
590 p_prc_attribute9 in varchar2,
591 p_prc_attribute10 in varchar2,
592 p_prc_attribute11 in varchar2,
593 p_prc_attribute12 in varchar2,
594 p_prc_attribute13 in varchar2,
595 p_prc_attribute14 in varchar2,
596 p_prc_attribute15 in varchar2,
597 p_prc_attribute16 in varchar2,
598 p_prc_attribute17 in varchar2,
599 p_prc_attribute18 in varchar2,
600 p_prc_attribute19 in varchar2,
601 p_prc_attribute20 in varchar2,
602 p_prc_attribute21 in varchar2,
603 p_prc_attribute22 in varchar2,
604 p_prc_attribute23 in varchar2,
605 p_prc_attribute24 in varchar2,
606 p_prc_attribute25 in varchar2,
607 p_prc_attribute26 in varchar2,
608 p_prc_attribute27 in varchar2,
609 p_prc_attribute28 in varchar2,
610 p_prc_attribute29 in varchar2,
611 p_prc_attribute30 in varchar2,
612 p_prtt_enrt_rslt_id in number ,
613 p_comment_id in number ,
614 p_object_version_number in number ,
615 p_stat_rsn_cd in varchar2 ,
616 p_pymt_stat_cd in varchar2 ,
617 p_pymt_stat_rsn_cd in varchar2 ,
618 p_stat_ovrdn_flag in varchar2 ,
619 p_stat_ovrdn_rsn_cd in varchar2 ,
620 p_stat_prr_to_ovrd in varchar2 ,
621 p_pymt_stat_ovrdn_flag in varchar2 ,
622 p_pymt_stat_ovrdn_rsn_cd in varchar2 ,
623 p_pymt_stat_prr_to_ovrd in varchar2 ,
624 p_adjmt_flag in varchar2 ,
625 p_submtd_dt in date ,
626 p_ttl_rqst_amt in number ,
627 p_aprvd_for_pymt_amt in number ,
628 p_pymt_amount in number ,
629 p_exp_incurd_dt in date
630 )
631 Return g_rec_type is
632 --
633 l_rec g_rec_type;
634 l_proc varchar2(72) := g_package||'convert_args';
635 --
636 Begin
637 --
638 hr_utility.set_location('Entering:'||l_proc, 5);
639 --
640 -- Convert arguments into local l_rec structure.
641 --
642 l_rec.prtt_reimbmt_rqst_id := p_prtt_reimbmt_rqst_id;
643 l_rec.effective_start_date := p_effective_start_date;
644 l_rec.effective_end_date := p_effective_end_date;
645 l_rec.incrd_from_dt := p_incrd_from_dt;
646 l_rec.incrd_to_dt := p_incrd_to_dt;
647 l_rec.rqst_num := p_rqst_num;
648 l_rec.rqst_amt := p_rqst_amt;
649 l_rec.rqst_amt_uom := p_rqst_amt_uom;
650 l_rec.rqst_btch_num := p_rqst_btch_num;
651 l_rec.prtt_reimbmt_rqst_stat_cd := p_prtt_reimbmt_rqst_stat_cd;
652 l_rec.reimbmt_ctfn_typ_prvdd_cd := p_reimbmt_ctfn_typ_prvdd_cd;
653 l_rec.rcrrg_cd := p_rcrrg_cd;
654 l_rec.submitter_person_id := p_submitter_person_id;
655 l_rec.recipient_person_id := p_recipient_person_id;
656 l_rec.provider_person_id := p_provider_person_id;
657 l_rec.provider_ssn_person_id := p_provider_ssn_person_id;
658 l_rec.pl_id := p_pl_id;
659 l_rec.gd_or_svc_typ_id := p_gd_or_svc_typ_id;
660 l_rec.contact_relationship_id := p_contact_relationship_id;
661 l_rec.business_group_id := p_business_group_id;
662 l_rec.opt_id := p_opt_id;
663 l_rec.popl_yr_perd_id_1 := p_popl_yr_perd_id_1;
664 l_rec.popl_yr_perd_id_2 := p_popl_yr_perd_id_2;
665 l_rec.amt_year1 := p_amt_year1;
666 l_rec.amt_year2 := p_amt_year2;
667 l_rec.prc_attribute_category := p_prc_attribute_category;
668 l_rec.prc_attribute1 := p_prc_attribute1;
669 l_rec.prc_attribute2 := p_prc_attribute2;
670 l_rec.prc_attribute3 := p_prc_attribute3;
671 l_rec.prc_attribute4 := p_prc_attribute4;
672 l_rec.prc_attribute5 := p_prc_attribute5;
673 l_rec.prc_attribute6 := p_prc_attribute6;
677 l_rec.prc_attribute10 := p_prc_attribute10;
674 l_rec.prc_attribute7 := p_prc_attribute7;
675 l_rec.prc_attribute8 := p_prc_attribute8;
676 l_rec.prc_attribute9 := p_prc_attribute9;
678 l_rec.prc_attribute11 := p_prc_attribute11;
679 l_rec.prc_attribute12 := p_prc_attribute12;
680 l_rec.prc_attribute13 := p_prc_attribute13;
681 l_rec.prc_attribute14 := p_prc_attribute14;
682 l_rec.prc_attribute15 := p_prc_attribute15;
683 l_rec.prc_attribute16 := p_prc_attribute16;
684 l_rec.prc_attribute17 := p_prc_attribute17;
685 l_rec.prc_attribute18 := p_prc_attribute18;
686 l_rec.prc_attribute19 := p_prc_attribute19;
687 l_rec.prc_attribute20 := p_prc_attribute20;
688 l_rec.prc_attribute21 := p_prc_attribute21;
689 l_rec.prc_attribute22 := p_prc_attribute22;
690 l_rec.prc_attribute23 := p_prc_attribute23;
691 l_rec.prc_attribute24 := p_prc_attribute24;
692 l_rec.prc_attribute25 := p_prc_attribute25;
693 l_rec.prc_attribute26 := p_prc_attribute26;
694 l_rec.prc_attribute27 := p_prc_attribute27;
695 l_rec.prc_attribute28 := p_prc_attribute28;
696 l_rec.prc_attribute29 := p_prc_attribute29;
697 l_rec.prc_attribute30 := p_prc_attribute30;
698 l_rec.prtt_enrt_rslt_id := p_prtt_enrt_rslt_id ;
699 l_rec.comment_id := p_comment_id ;
700 l_rec.object_version_number := p_object_version_number;
701 l_rec.stat_rsn_cd := p_stat_rsn_cd ;
702 l_rec.pymt_stat_cd := p_pymt_stat_cd ;
703 l_rec.pymt_stat_rsn_cd := p_pymt_stat_rsn_cd ;
704 l_rec.stat_ovrdn_flag := p_stat_ovrdn_flag ;
705 l_rec.stat_ovrdn_rsn_cd := p_stat_ovrdn_rsn_cd ;
706 l_rec.stat_prr_to_ovrd := p_stat_prr_to_ovrd ;
707 l_rec.pymt_stat_ovrdn_flag := p_pymt_stat_ovrdn_flag ;
708 l_rec.pymt_stat_ovrdn_rsn_cd := p_pymt_stat_ovrdn_rsn_cd ;
709 l_rec.pymt_stat_prr_to_ovrd := p_pymt_stat_prr_to_ovrd ;
710 l_rec.adjmt_flag := p_adjmt_flag ;
711 l_rec.submtd_dt := p_submtd_dt ;
712 l_rec.ttl_rqst_amt := p_ttl_rqst_amt ;
713 l_rec.aprvd_for_pymt_amt := p_aprvd_for_pymt_amt ;
714 l_rec.pymt_amount := p_pymt_amount ;
715 l_rec.exp_incurd_dt := p_exp_incurd_dt ;
716 --
717 -- Return the plsql record structure.
718 --
719 hr_utility.set_location(' Leaving:'||l_proc, 10);
720 Return(l_rec);
721 --
722 End convert_args;
723 --
724 end ben_prc_shd;