1 Package Body hr_fmp_upd as
2 /* $Header: hrfmprhi.pkb 115.5 2003/10/30 07:11:27 bsubrama noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- | Private Global Definitions |
6 -- ----------------------------------------------------------------------------
7 --
8 g_package varchar2(33) := ' hr_fmp_upd.'; -- Global package name
9 --
10 -- ----------------------------------------------------------------------------
11 -- |------------------------------< update_dml >------------------------------|
12 -- ----------------------------------------------------------------------------
13 -- {Start Of Comments}
14 --
15 -- Description:
16 -- This procedure controls the actual dml update logic. The processing of
17 -- this procedure is:
18 -- 1) Increment the object_version_number by 1 if the object_version_number
19 -- is defined as an attribute for this entity.
20 -- 2) To set and unset the g_api_dml status as required (as we are about to
21 -- perform dml).
22 -- 3) To update the specified row in the schema using the primary key in
23 -- the predicates.
24 -- 4) To trap any constraint violations that may have occurred.
25 -- 5) To raise any other errors.
26 --
27 -- Prerequisites:
28 -- This is an internal private procedure which must be called from the upd
29 -- procedure.
30 --
31 -- In Parameters:
32 -- A Pl/Sql record structre.
33 --
34 -- Post Success:
35 -- The specified row will be updated in the schema.
36 --
37 -- Post Failure:
38 -- On the update dml failure it is important to note that we always reset the
39 -- g_api_dml status to false.
40 -- If a check, unique or parent integrity constraint violation is raised the
41 -- constraint_error procedure will be called.
42 -- If any other error is reported, the error will be raised after the
43 -- g_api_dml status is reset.
44 --
45 -- Developer Implementation Notes:
46 -- The update 'set' attribute list should be modified if any of your
47 -- attributes are not updateable.
48 --
49 -- Access Status:
50 -- Internal Row Handler Use Only.
51 --
52 -- {End Of Comments}
53 -- ----------------------------------------------------------------------------
54 Procedure update_dml
55 (p_rec in out nocopy hr_fmp_shd.g_rec_type
56 ) is
57 --
58 l_proc varchar2(72) := g_package||'update_dml';
59 --
60 Begin
61 hr_utility.set_location('Entering:'||l_proc, 5);
62 --
63 --
64 p_rec.object_version_number := p_rec.object_version_number + 1;
65 --
66 -- Update the hr_form_properties Row
67 --
68 update hr_form_properties
69 set
70 form_property_id = p_rec.form_property_id
71 ,object_version_number = p_rec.object_version_number
72 ,application_id = p_rec.application_id
73 ,form_id = p_rec.form_id
74 ,form_template_id = p_rec.form_template_id
75 ,help_target = p_rec.help_target
76 ,information_category = p_rec.information_category
77 ,information1 = p_rec.information1
78 ,information2 = p_rec.information2
79 ,information3 = p_rec.information3
80 ,information4 = p_rec.information4
81 ,information5 = p_rec.information5
82 ,information6 = p_rec.information6
83 ,information7 = p_rec.information7
84 ,information8 = p_rec.information8
85 ,information9 = p_rec.information9
86 ,information10 = p_rec.information10
87 ,information11 = p_rec.information11
88 ,information12 = p_rec.information12
89 ,information13 = p_rec.information13
90 ,information14 = p_rec.information14
91 ,information15 = p_rec.information15
92 ,information16 = p_rec.information16
93 ,information17 = p_rec.information17
94 ,information18 = p_rec.information18
95 ,information19 = p_rec.information19
96 ,information20 = p_rec.information20
97 ,information21 = p_rec.information21
98 ,information22 = p_rec.information22
99 ,information23 = p_rec.information23
100 ,information24 = p_rec.information24
101 ,information25 = p_rec.information25
102 ,information26 = p_rec.information26
103 ,information27 = p_rec.information27
104 ,information28 = p_rec.information28
105 ,information29 = p_rec.information29
106 ,information30 = p_rec.information30
107 where form_property_id = p_rec.form_property_id;
108 --
109 --
110 --
111 hr_utility.set_location(' Leaving:'||l_proc, 10);
112 --
113 Exception
114 When hr_api.check_integrity_violated Then
115 -- A check constraint has been violated
116 --
117 hr_fmp_shd.constraint_error
118 (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
119 When hr_api.parent_integrity_violated Then
120 -- Parent integrity has been violated
121 --
122 hr_fmp_shd.constraint_error
123 (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
124 When hr_api.unique_integrity_violated Then
125 -- Unique integrity has been violated
126 --
127 hr_fmp_shd.constraint_error
128 (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
129 When Others Then
130 --
131 Raise;
132 End update_dml;
133 --
134 -- ----------------------------------------------------------------------------
135 -- |------------------------------< pre_update >------------------------------|
136 -- ----------------------------------------------------------------------------
137 -- {Start Of Comments}
138 --
139 -- Description:
140 -- This private procedure contains any processing which is required before
141 -- the update dml.
142 --
143 -- Prerequisites:
144 -- This is an internal procedure which is called from the upd procedure.
145 --
146 -- In Parameters:
147 -- A Pl/Sql record structure.
148 --
149 -- Post Success:
150 -- Processing continues.
151 --
152 -- Post Failure:
153 -- If an error has occurred, an error message and exception wil be raised
154 -- but not handled.
155 --
156 -- Developer Implementation Notes:
157 -- Any pre-processing required before the update dml is issued should be
158 -- coded within this procedure. It is important to note that any 3rd party
159 -- maintenance should be reviewed before placing in this procedure.
160 --
161 -- Access Status:
162 -- Internal Row Handler Use Only.
163 --
164 -- {End Of Comments}
165 -- ----------------------------------------------------------------------------
166 Procedure pre_update
167 (p_rec in hr_fmp_shd.g_rec_type
168 ) is
169 --
170 l_proc varchar2(72) := g_package||'pre_update';
171 --
172 Begin
173 hr_utility.set_location('Entering:'||l_proc, 5);
174 --
175 hr_utility.set_location(' Leaving:'||l_proc, 10);
176 End pre_update;
177 --
178 -- ----------------------------------------------------------------------------
179 -- |-----------------------------< post_update >------------------------------|
180 -- ----------------------------------------------------------------------------
181 -- {Start Of Comments}
182 --
183 -- Description:
184 -- This private procedure contains any processing which is required after the
185 -- update dml.
186 --
187 -- Prerequisites:
188 -- This is an internal procedure which is called from the upd procedure.
189 --
190 -- In Parameters:
191 -- A Pl/Sql record structure.
192 --
193 -- Post Success:
194 -- Processing continues.
195 --
196 -- Post Failure:
197 -- If an error has occurred, an error message and exception will be raised
198 -- but not handled.
199 --
200 -- Developer Implementation Notes:
201 -- Any post-processing required after the update dml is issued should be
202 -- coded within this procedure. It is important to note that any 3rd party
203 -- maintenance should be reviewed before placing in this procedure.
204 --
205 -- Access Status:
206 -- Internal Row Handler Use Only.
207 --
208 -- {End Of Comments}
209 -- ----------------------------------------------------------------------------
210 Procedure post_update
211 (p_rec in hr_fmp_shd.g_rec_type
212 ) is
213 --
214 l_proc varchar2(72) := g_package||'post_update';
215 --
216 Begin
217 hr_utility.set_location('Entering:'||l_proc, 5);
218 begin
219 --
220 hr_fmp_rku.after_update
221 (p_form_property_id
222 => p_rec.form_property_id
223 ,p_object_version_number
224 => p_rec.object_version_number
225 ,p_application_id
226 => p_rec.application_id
227 ,p_form_id
228 => p_rec.form_id
229 ,p_form_template_id
230 => p_rec.form_template_id
231 ,p_help_target
232 => p_rec.help_target
233 ,p_information_category
234 => p_rec.information_category
235 ,p_information1
236 => p_rec.information1
237 ,p_information2
238 => p_rec.information2
239 ,p_information3
240 => p_rec.information3
241 ,p_information4
242 => p_rec.information4
243 ,p_information5
244 => p_rec.information5
245 ,p_information6
246 => p_rec.information6
247 ,p_information7
248 => p_rec.information7
249 ,p_information8
250 => p_rec.information8
251 ,p_information9
252 => p_rec.information9
253 ,p_information10
254 => p_rec.information10
255 ,p_information11
256 => p_rec.information11
257 ,p_information12
258 => p_rec.information12
259 ,p_information13
260 => p_rec.information13
261 ,p_information14
262 => p_rec.information14
263 ,p_information15
264 => p_rec.information15
265 ,p_information16
266 => p_rec.information16
267 ,p_information17
268 => p_rec.information17
269 ,p_information18
270 => p_rec.information18
271 ,p_information19
272 => p_rec.information19
273 ,p_information20
274 => p_rec.information20
275 ,p_information21
276 => p_rec.information21
277 ,p_information22
278 => p_rec.information22
279 ,p_information23
280 => p_rec.information23
281 ,p_information24
282 => p_rec.information24
283 ,p_information25
284 => p_rec.information25
285 ,p_information26
286 => p_rec.information26
287 ,p_information27
288 => p_rec.information27
289 ,p_information28
290 => p_rec.information28
291 ,p_information29
292 => p_rec.information29
293 ,p_information30
294 => p_rec.information30
295 ,p_application_id_o
296 => hr_fmp_shd.g_old_rec.application_id
297 ,p_form_id_o
298 => hr_fmp_shd.g_old_rec.form_id
299 ,p_object_version_number_o
300 => hr_tdg_shd.g_old_rec.object_version_number
301 ,p_form_template_id_o
302 => hr_fmp_shd.g_old_rec.form_template_id
303 ,p_help_target_o
304 => hr_fmp_shd.g_old_rec.help_target
305 ,p_information_category_o
306 => hr_fmp_shd.g_old_rec.information_category
307 ,p_information1_o
308 => hr_fmp_shd.g_old_rec.information1
309 ,p_information2_o
310 => hr_fmp_shd.g_old_rec.information2
311 ,p_information3_o
312 => hr_fmp_shd.g_old_rec.information3
313 ,p_information4_o
314 => hr_fmp_shd.g_old_rec.information4
315 ,p_information5_o
316 => hr_fmp_shd.g_old_rec.information5
317 ,p_information6_o
318 => hr_fmp_shd.g_old_rec.information6
319 ,p_information7_o
320 => hr_fmp_shd.g_old_rec.information7
321 ,p_information8_o
322 => hr_fmp_shd.g_old_rec.information8
323 ,p_information9_o
324 => hr_fmp_shd.g_old_rec.information9
325 ,p_information10_o
326 => hr_fmp_shd.g_old_rec.information10
327 ,p_information11_o
328 => hr_fmp_shd.g_old_rec.information11
329 ,p_information12_o
330 => hr_fmp_shd.g_old_rec.information12
331 ,p_information13_o
332 => hr_fmp_shd.g_old_rec.information13
333 ,p_information14_o
334 => hr_fmp_shd.g_old_rec.information14
335 ,p_information15_o
336 => hr_fmp_shd.g_old_rec.information15
337 ,p_information16_o
338 => hr_fmp_shd.g_old_rec.information16
339 ,p_information17_o
340 => hr_fmp_shd.g_old_rec.information17
341 ,p_information18_o
342 => hr_fmp_shd.g_old_rec.information18
343 ,p_information19_o
344 => hr_fmp_shd.g_old_rec.information19
345 ,p_information20_o
346 => hr_fmp_shd.g_old_rec.information20
347 ,p_information21_o
348 => hr_fmp_shd.g_old_rec.information21
349 ,p_information22_o
350 => hr_fmp_shd.g_old_rec.information22
351 ,p_information23_o
352 => hr_fmp_shd.g_old_rec.information23
353 ,p_information24_o
354 => hr_fmp_shd.g_old_rec.information24
355 ,p_information25_o
356 => hr_fmp_shd.g_old_rec.information25
357 ,p_information26_o
358 => hr_fmp_shd.g_old_rec.information26
359 ,p_information27_o
360 => hr_fmp_shd.g_old_rec.information27
361 ,p_information28_o
362 => hr_fmp_shd.g_old_rec.information28
363 ,p_information29_o
364 => hr_fmp_shd.g_old_rec.information29
365 ,p_information30_o
366 => hr_fmp_shd.g_old_rec.information30
367 );
368 --
369 exception
370 --
371 when hr_api.cannot_find_prog_unit then
372 --
373 hr_api.cannot_find_prog_unit_error
374 (p_module_name => 'HR_FORM_PROPERTIES'
375 ,p_hook_type => 'AU');
376 --
377 end;
378 --
379 hr_utility.set_location(' Leaving:'||l_proc, 10);
380 End post_update;
381 --
382 -- ----------------------------------------------------------------------------
383 -- |-----------------------------< convert_defs >-----------------------------|
384 -- ----------------------------------------------------------------------------
385 -- {Start Of Comments}
386 --
387 -- Description:
388 -- The Convert_Defs procedure has one very important function:
389 -- It must return the record structure for the row with all system defaulted
390 -- values converted into its corresponding parameter value for update. When
391 -- we attempt to update a row through the Upd process , certain
392 -- parameters can be defaulted which enables flexibility in the calling of
393 -- the upd process (e.g. only attributes which need to be updated need to be
394 -- specified). For the upd process to determine which attributes
395 -- have NOT been specified we need to check if the parameter has a reserved
396 -- system default value. Therefore, for all parameters which have a
397 -- corresponding reserved system default mechanism specified we need to
398 -- check if a system default is being used. If a system default is being
399 -- used then we convert the defaulted value into its corresponding attribute
400 -- value held in the g_old_rec data structure.
401 --
402 -- Prerequisites:
403 -- This private function can only be called from the upd process.
404 --
405 -- In Parameters:
406 -- A Pl/Sql record structure.
407 --
408 -- Post Success:
409 -- The record structure will be returned with all system defaulted parameter
410 -- values converted into its current row attribute value.
411 --
412 -- Post Failure:
413 -- No direct error handling is required within this function. Any possible
414 -- errors within this procedure will be a PL/SQL value error due to
415 -- conversion of datatypes or data lengths.
416 --
417 -- Developer Implementation Notes:
418 -- None.
419 --
420 -- Access Status:
421 -- Internal Row Handler Use Only.
422 --
423 -- {End Of Comments}
424 -- ----------------------------------------------------------------------------
425 Procedure convert_defs
426 (p_rec in out nocopy hr_fmp_shd.g_rec_type
427 ) is
428 --
429 Begin
430 --
431 -- We must now examine each argument value in the
432 -- p_rec plsql record structure
433 -- to see if a system default is being used. If a system default
434 -- is being used then we must set to the 'current' argument value.
435 --
436 If (p_rec.application_id = hr_api.g_number) then
437 p_rec.application_id :=
438 hr_fmp_shd.g_old_rec.application_id;
439 End If;
440 If (p_rec.form_id = hr_api.g_number) then
441 p_rec.form_id :=
442 hr_fmp_shd.g_old_rec.form_id;
443 End If;
444 If (p_rec.form_template_id = hr_api.g_number) then
445 p_rec.form_template_id :=
446 hr_fmp_shd.g_old_rec.form_template_id;
447 End If;
448 If (p_rec.help_target = hr_api.g_varchar2) then
449 p_rec.help_target :=
450 hr_fmp_shd.g_old_rec.help_target;
451 End If;
452 If (p_rec.information_category = hr_api.g_varchar2) then
453 p_rec.information_category :=
454 hr_fmp_shd.g_old_rec.information_category;
455 End If;
456 If (p_rec.information1 = hr_api.g_varchar2) then
457 p_rec.information1 :=
458 hr_fmp_shd.g_old_rec.information1;
459 End If;
460 If (p_rec.information2 = hr_api.g_varchar2) then
461 p_rec.information2 :=
462 hr_fmp_shd.g_old_rec.information2;
463 End If;
464 If (p_rec.information3 = hr_api.g_varchar2) then
465 p_rec.information3 :=
466 hr_fmp_shd.g_old_rec.information3;
467 End If;
468 If (p_rec.information4 = hr_api.g_varchar2) then
469 p_rec.information4 :=
470 hr_fmp_shd.g_old_rec.information4;
471 End If;
472 If (p_rec.information5 = hr_api.g_varchar2) then
473 p_rec.information5 :=
474 hr_fmp_shd.g_old_rec.information5;
475 End If;
476 If (p_rec.information6 = hr_api.g_varchar2) then
477 p_rec.information6 :=
478 hr_fmp_shd.g_old_rec.information6;
479 End If;
480 If (p_rec.information7 = hr_api.g_varchar2) then
481 p_rec.information7 :=
482 hr_fmp_shd.g_old_rec.information7;
483 End If;
484 If (p_rec.information8 = hr_api.g_varchar2) then
485 p_rec.information8 :=
486 hr_fmp_shd.g_old_rec.information8;
487 End If;
488 If (p_rec.information9 = hr_api.g_varchar2) then
489 p_rec.information9 :=
490 hr_fmp_shd.g_old_rec.information9;
491 End If;
492 If (p_rec.information10 = hr_api.g_varchar2) then
493 p_rec.information10 :=
494 hr_fmp_shd.g_old_rec.information10;
495 End If;
496 If (p_rec.information11 = hr_api.g_varchar2) then
497 p_rec.information11 :=
498 hr_fmp_shd.g_old_rec.information11;
499 End If;
500 If (p_rec.information12 = hr_api.g_varchar2) then
501 p_rec.information12 :=
502 hr_fmp_shd.g_old_rec.information12;
503 End If;
504 If (p_rec.information13 = hr_api.g_varchar2) then
505 p_rec.information13 :=
506 hr_fmp_shd.g_old_rec.information13;
507 End If;
508 If (p_rec.information14 = hr_api.g_varchar2) then
509 p_rec.information14 :=
510 hr_fmp_shd.g_old_rec.information14;
511 End If;
512 If (p_rec.information15 = hr_api.g_varchar2) then
513 p_rec.information15 :=
514 hr_fmp_shd.g_old_rec.information15;
515 End If;
516 If (p_rec.information16 = hr_api.g_varchar2) then
517 p_rec.information16 :=
518 hr_fmp_shd.g_old_rec.information16;
519 End If;
520 If (p_rec.information17 = hr_api.g_varchar2) then
521 p_rec.information17 :=
522 hr_fmp_shd.g_old_rec.information17;
523 End If;
524 If (p_rec.information18 = hr_api.g_varchar2) then
525 p_rec.information18 :=
526 hr_fmp_shd.g_old_rec.information18;
527 End If;
528 If (p_rec.information19 = hr_api.g_varchar2) then
529 p_rec.information19 :=
530 hr_fmp_shd.g_old_rec.information19;
531 End If;
532 If (p_rec.information20 = hr_api.g_varchar2) then
533 p_rec.information20 :=
534 hr_fmp_shd.g_old_rec.information20;
535 End If;
536 If (p_rec.information21 = hr_api.g_varchar2) then
537 p_rec.information21 :=
538 hr_fmp_shd.g_old_rec.information21;
539 End If;
540 If (p_rec.information22 = hr_api.g_varchar2) then
541 p_rec.information22 :=
542 hr_fmp_shd.g_old_rec.information22;
543 End If;
544 If (p_rec.information23 = hr_api.g_varchar2) then
545 p_rec.information23 :=
546 hr_fmp_shd.g_old_rec.information23;
547 End If;
548 If (p_rec.information24 = hr_api.g_varchar2) then
549 p_rec.information24 :=
550 hr_fmp_shd.g_old_rec.information24;
551 End If;
552 If (p_rec.information25 = hr_api.g_varchar2) then
553 p_rec.information25 :=
554 hr_fmp_shd.g_old_rec.information25;
555 End If;
556 If (p_rec.information26 = hr_api.g_varchar2) then
557 p_rec.information26 :=
558 hr_fmp_shd.g_old_rec.information26;
559 End If;
560 If (p_rec.information27 = hr_api.g_varchar2) then
561 p_rec.information27 :=
562 hr_fmp_shd.g_old_rec.information27;
563 End If;
564 If (p_rec.information28 = hr_api.g_varchar2) then
565 p_rec.information28 :=
566 hr_fmp_shd.g_old_rec.information28;
567 End If;
568 If (p_rec.information29 = hr_api.g_varchar2) then
569 p_rec.information29 :=
570 hr_fmp_shd.g_old_rec.information29;
571 End If;
572 If (p_rec.information30 = hr_api.g_varchar2) then
573 p_rec.information30 :=
574 hr_fmp_shd.g_old_rec.information30;
575 End If;
576 --
577 End convert_defs;
578 --
579 -- ----------------------------------------------------------------------------
580 -- |---------------------------------< upd >----------------------------------|
581 -- ----------------------------------------------------------------------------
582 Procedure upd
583 (p_rec in out nocopy hr_fmp_shd.g_rec_type
584 ) is
585 --
586 l_proc varchar2(72) := g_package||'upd';
587 --
588 Begin
589 hr_utility.set_location('Entering:'||l_proc, 5);
590 --
591 -- We must lock the row which we need to update.
592 --
593 hr_fmp_shd.lck
594 (p_rec.form_property_id
595 ,p_rec.object_version_number
596 );
597 --
598 -- 1. During an update system defaults are used to determine if
599 -- arguments have been defaulted or not. We must therefore
600 -- derive the full record structure values to be updated.
601 --
602 -- 2. Call the supporting update validate operations.
603 --
604 convert_defs(p_rec);
605 hr_fmp_bus.update_validate
606 (p_rec
607 );
608 --
609 -- Call the supporting pre-update operation
610 --
611 hr_fmp_upd.pre_update(p_rec);
612 --
613 -- Update the row.
614 --
615 hr_fmp_upd.update_dml(p_rec);
616 --
617 -- Call the supporting post-update operation
618 --
619 hr_fmp_upd.post_update
620 (p_rec
621 );
622 End upd;
623 --
624 -- ----------------------------------------------------------------------------
625 -- |---------------------------------< upd >----------------------------------|
626 -- ----------------------------------------------------------------------------
627 Procedure upd
628 (p_form_property_id in number
629 ,p_object_version_number in out nocopy number
630 ,p_application_id in number default hr_api.g_number
631 ,p_form_id in number default hr_api.g_number
632 ,p_form_template_id in number default hr_api.g_number
633 ,p_help_target in varchar2 default hr_api.g_varchar2
634 ,p_information_category in varchar2 default hr_api.g_varchar2
635 ,p_information1 in varchar2 default hr_api.g_varchar2
636 ,p_information2 in varchar2 default hr_api.g_varchar2
637 ,p_information3 in varchar2 default hr_api.g_varchar2
638 ,p_information4 in varchar2 default hr_api.g_varchar2
639 ,p_information5 in varchar2 default hr_api.g_varchar2
640 ,p_information6 in varchar2 default hr_api.g_varchar2
641 ,p_information7 in varchar2 default hr_api.g_varchar2
642 ,p_information8 in varchar2 default hr_api.g_varchar2
643 ,p_information9 in varchar2 default hr_api.g_varchar2
644 ,p_information10 in varchar2 default hr_api.g_varchar2
645 ,p_information11 in varchar2 default hr_api.g_varchar2
646 ,p_information12 in varchar2 default hr_api.g_varchar2
647 ,p_information13 in varchar2 default hr_api.g_varchar2
648 ,p_information14 in varchar2 default hr_api.g_varchar2
649 ,p_information15 in varchar2 default hr_api.g_varchar2
650 ,p_information16 in varchar2 default hr_api.g_varchar2
651 ,p_information17 in varchar2 default hr_api.g_varchar2
652 ,p_information18 in varchar2 default hr_api.g_varchar2
653 ,p_information19 in varchar2 default hr_api.g_varchar2
654 ,p_information20 in varchar2 default hr_api.g_varchar2
655 ,p_information21 in varchar2 default hr_api.g_varchar2
656 ,p_information22 in varchar2 default hr_api.g_varchar2
657 ,p_information23 in varchar2 default hr_api.g_varchar2
658 ,p_information24 in varchar2 default hr_api.g_varchar2
659 ,p_information25 in varchar2 default hr_api.g_varchar2
660 ,p_information26 in varchar2 default hr_api.g_varchar2
661 ,p_information27 in varchar2 default hr_api.g_varchar2
662 ,p_information28 in varchar2 default hr_api.g_varchar2
663 ,p_information29 in varchar2 default hr_api.g_varchar2
664 ,p_information30 in varchar2 default hr_api.g_varchar2
665 ) is
666 --
667 l_rec hr_fmp_shd.g_rec_type;
668 l_proc varchar2(72) := g_package||'upd';
669 --
670 Begin
671 hr_utility.set_location('Entering:'||l_proc, 5);
672 --
673 -- Call conversion function to turn arguments into the
674 -- l_rec structure.
675 --
676 l_rec :=
677 hr_fmp_shd.convert_args
678 (p_form_property_id
679 ,p_object_version_number
680 ,p_application_id
681 ,p_form_id
682 ,p_form_template_id
683 ,p_help_target
684 ,p_information_category
685 ,p_information1
686 ,p_information2
687 ,p_information3
688 ,p_information4
689 ,p_information5
690 ,p_information6
691 ,p_information7
692 ,p_information8
693 ,p_information9
694 ,p_information10
695 ,p_information11
696 ,p_information12
697 ,p_information13
698 ,p_information14
699 ,p_information15
700 ,p_information16
701 ,p_information17
702 ,p_information18
703 ,p_information19
704 ,p_information20
705 ,p_information21
706 ,p_information22
707 ,p_information23
708 ,p_information24
709 ,p_information25
710 ,p_information26
711 ,p_information27
712 ,p_information28
713 ,p_information29
714 ,p_information30
715 );
716 --
717 -- Having converted the arguments into the
718 -- plsql record structure we call the corresponding record
719 -- business process.
720 --
721 hr_fmp_upd.upd
722 (l_rec
723 );
724 p_object_version_number := l_rec.object_version_number;
725 --
726 hr_utility.set_location(' Leaving:'||l_proc, 10);
727 End upd;
728 --
729 end hr_fmp_upd;