1 Package Body irc_cmp_upd as
2 /* $Header: ircmprhi.pkb 120.0 2007/11/19 11:38:55 sethanga noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- | Private Global Definitions |
6 -- ----------------------------------------------------------------------------
7 --
8 g_package varchar2(33) := ' irc_cmp_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 irc_cmp_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 -- Increment the object version
64 p_rec.object_version_number := p_rec.object_version_number + 1;
65 --
66 --
67 --
68 -- Update the irc_comm_properties Row
69 --
70 update irc_comm_properties
71 set
72 communication_property_id = p_rec.communication_property_id
73 ,object_type = p_rec.object_type
74 ,object_id = p_rec.object_id
75 ,default_comm_status = p_rec.default_comm_status
76 ,allow_attachment_flag = p_rec.allow_attachment_flag
77 ,auto_notification_flag = p_rec.auto_notification_flag
78 ,allow_add_recipients = p_rec.allow_add_recipients
79 ,default_moderator = p_rec.default_moderator
80 ,attribute_category = p_rec.attribute_category
81 ,attribute1 = p_rec.attribute1
82 ,attribute2 = p_rec.attribute2
83 ,attribute3 = p_rec.attribute3
84 ,attribute4 = p_rec.attribute4
85 ,attribute5 = p_rec.attribute5
86 ,attribute6 = p_rec.attribute6
87 ,attribute7 = p_rec.attribute7
88 ,attribute8 = p_rec.attribute8
89 ,attribute9 = p_rec.attribute9
90 ,attribute10 = p_rec.attribute10
91 ,information_category = p_rec.information_category
92 ,information1 = p_rec.information1
93 ,information2 = p_rec.information2
94 ,information3 = p_rec.information3
95 ,information4 = p_rec.information4
96 ,information5 = p_rec.information5
97 ,information6 = p_rec.information6
98 ,information7 = p_rec.information7
99 ,information8 = p_rec.information8
100 ,information9 = p_rec.information9
101 ,information10 = p_rec.information10
102 ,object_version_number = p_rec.object_version_number
103 where communication_property_id = p_rec.communication_property_id;
104 --
105 --
106 --
107 hr_utility.set_location(' Leaving:'||l_proc, 10);
108 --
109 Exception
110 When hr_api.check_integrity_violated Then
111 -- A check constraint has been violated
112 --
113 irc_cmp_shd.constraint_error
114 (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
115 When hr_api.parent_integrity_violated Then
116 -- Parent integrity has been violated
117 --
118 irc_cmp_shd.constraint_error
119 (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
120 When hr_api.unique_integrity_violated Then
121 -- Unique integrity has been violated
122 --
123 irc_cmp_shd.constraint_error
124 (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
125 When Others Then
126 --
127 Raise;
128 End update_dml;
129 --
130 -- ----------------------------------------------------------------------------
131 -- |------------------------------< pre_update >------------------------------|
132 -- ----------------------------------------------------------------------------
133 -- {Start Of Comments}
134 --
135 -- Description:
136 -- This private procedure contains any processing which is required before
137 -- the update dml.
138 --
139 -- Prerequisites:
140 -- This is an internal procedure which is called from the upd procedure.
141 --
142 -- In Parameters:
143 -- A Pl/Sql record structure.
144 --
145 -- Post Success:
146 -- Processing continues.
147 --
148 -- Post Failure:
149 -- If an error has occurred, an error message and exception wil be raised
150 -- but not handled.
151 --
152 -- Developer Implementation Notes:
153 -- Any pre-processing required before the update dml is issued should be
154 -- coded within this procedure. It is important to note that any 3rd party
155 -- maintenance should be reviewed before placing in this procedure.
156 --
157 -- Access Status:
158 -- Internal Row Handler Use Only.
159 --
160 -- {End Of Comments}
161 -- ----------------------------------------------------------------------------
162 Procedure pre_update
163 (p_rec in irc_cmp_shd.g_rec_type
164 ) is
165 --
166 l_proc varchar2(72) := g_package||'pre_update';
167 --
168 Begin
169 hr_utility.set_location('Entering:'||l_proc, 5);
170 --
171 hr_utility.set_location(' Leaving:'||l_proc, 10);
172 End pre_update;
173 --
174 -- ----------------------------------------------------------------------------
175 -- |-----------------------------< post_update >------------------------------|
176 -- ----------------------------------------------------------------------------
177 -- {Start Of Comments}
178 --
179 -- Description:
180 -- This private procedure contains any processing which is required after
181 -- the update dml.
182 --
183 -- Prerequisites:
184 -- This is an internal procedure which is called from the upd procedure.
185 --
186 -- In Parameters:
187 -- A Pl/Sql record structure.
188 --
189 -- Post Success:
190 -- Processing continues.
191 --
192 -- Post Failure:
193 -- If an error has occurred, an error message and exception will be raised
194 -- but not handled.
195 --
196 -- Developer Implementation Notes:
197 -- Any post-processing required after the update dml is issued should be
198 -- coded within this procedure. It is important to note that any 3rd party
199 -- maintenance should be reviewed before placing in this procedure.
200 --
201 -- Access Status:
202 -- Internal Row Handler Use Only.
203 --
204 -- {End Of Comments}
205 -- ----------------------------------------------------------------------------
206 Procedure post_update
207 (p_effective_date in date
208 ,p_rec in irc_cmp_shd.g_rec_type
209 ) is
210 --
211 l_proc varchar2(72) := g_package||'post_update';
212 --
213 Begin
214 hr_utility.set_location('Entering:'||l_proc, 5);
215 begin
216 --
217 irc_cmp_rku.after_update
218 (p_effective_date => p_effective_date
219 ,p_communication_property_id
220 => p_rec.communication_property_id
221 ,p_object_type
222 => p_rec.object_type
223 ,p_object_id
224 => p_rec.object_id
225 ,p_default_comm_status
226 => p_rec.default_comm_status
227 ,p_allow_attachment_flag
228 => p_rec.allow_attachment_flag
229 ,p_auto_notification_flag
230 => p_rec.auto_notification_flag
231 ,p_allow_add_recipients
232 => p_rec.allow_add_recipients
233 ,p_default_moderator
234 => p_rec.default_moderator
235 ,p_attribute_category
236 => p_rec.attribute_category
237 ,p_attribute1
238 => p_rec.attribute1
239 ,p_attribute2
240 => p_rec.attribute2
241 ,p_attribute3
242 => p_rec.attribute3
243 ,p_attribute4
244 => p_rec.attribute4
245 ,p_attribute5
246 => p_rec.attribute5
247 ,p_attribute6
248 => p_rec.attribute6
249 ,p_attribute7
250 => p_rec.attribute7
251 ,p_attribute8
252 => p_rec.attribute8
253 ,p_attribute9
254 => p_rec.attribute9
255 ,p_attribute10
256 => p_rec.attribute10
257 ,p_information_category
258 => p_rec.information_category
259 ,p_information1
260 => p_rec.information1
261 ,p_information2
262 => p_rec.information2
263 ,p_information3
264 => p_rec.information3
265 ,p_information4
266 => p_rec.information4
267 ,p_information5
268 => p_rec.information5
269 ,p_information6
270 => p_rec.information6
271 ,p_information7
272 => p_rec.information7
273 ,p_information8
274 => p_rec.information8
275 ,p_information9
276 => p_rec.information9
277 ,p_information10
278 => p_rec.information10
279 ,p_object_version_number
280 => p_rec.object_version_number
281 ,p_object_type_o
282 => irc_cmp_shd.g_old_rec.object_type
283 ,p_object_id_o
284 => irc_cmp_shd.g_old_rec.object_id
285 ,p_default_comm_status_o
286 => irc_cmp_shd.g_old_rec.default_comm_status
287 ,p_allow_attachment_flag_o
288 => irc_cmp_shd.g_old_rec.allow_attachment_flag
289 ,p_auto_notification_flag_o
290 => irc_cmp_shd.g_old_rec.auto_notification_flag
291 ,p_allow_add_recipients_o
292 => irc_cmp_shd.g_old_rec.allow_add_recipients
293 ,p_default_moderator_o
294 => irc_cmp_shd.g_old_rec.default_moderator
295 ,p_attribute_category_o
296 => irc_cmp_shd.g_old_rec.attribute_category
297 ,p_attribute1_o
298 => irc_cmp_shd.g_old_rec.attribute1
299 ,p_attribute2_o
300 => irc_cmp_shd.g_old_rec.attribute2
301 ,p_attribute3_o
302 => irc_cmp_shd.g_old_rec.attribute3
303 ,p_attribute4_o
304 => irc_cmp_shd.g_old_rec.attribute4
305 ,p_attribute5_o
306 => irc_cmp_shd.g_old_rec.attribute5
307 ,p_attribute6_o
308 => irc_cmp_shd.g_old_rec.attribute6
309 ,p_attribute7_o
310 => irc_cmp_shd.g_old_rec.attribute7
311 ,p_attribute8_o
312 => irc_cmp_shd.g_old_rec.attribute8
313 ,p_attribute9_o
314 => irc_cmp_shd.g_old_rec.attribute9
315 ,p_attribute10_o
316 => irc_cmp_shd.g_old_rec.attribute10
317 ,p_information_category_o
318 => irc_cmp_shd.g_old_rec.information_category
319 ,p_information1_o
320 => irc_cmp_shd.g_old_rec.information1
321 ,p_information2_o
322 => irc_cmp_shd.g_old_rec.information2
323 ,p_information3_o
324 => irc_cmp_shd.g_old_rec.information3
325 ,p_information4_o
326 => irc_cmp_shd.g_old_rec.information4
327 ,p_information5_o
328 => irc_cmp_shd.g_old_rec.information5
329 ,p_information6_o
330 => irc_cmp_shd.g_old_rec.information6
331 ,p_information7_o
332 => irc_cmp_shd.g_old_rec.information7
333 ,p_information8_o
334 => irc_cmp_shd.g_old_rec.information8
335 ,p_information9_o
336 => irc_cmp_shd.g_old_rec.information9
337 ,p_information10_o
338 => irc_cmp_shd.g_old_rec.information10
339 ,p_object_version_number_o
340 => irc_cmp_shd.g_old_rec.object_version_number
341 );
342 --
343 exception
344 --
345 when hr_api.cannot_find_prog_unit then
346 --
347 hr_api.cannot_find_prog_unit_error
348 (p_module_name => 'IRC_COMM_PROPERTIES'
349 ,p_hook_type => 'AU');
350 --
351 end;
352 --
353 hr_utility.set_location(' Leaving:'||l_proc, 10);
354 End post_update;
355 --
356 -- ----------------------------------------------------------------------------
357 -- |-----------------------------< convert_defs >-----------------------------|
358 -- ----------------------------------------------------------------------------
359 -- {Start Of Comments}
360 --
361 -- Description:
362 -- The Convert_Defs procedure has one very important function:
363 -- It must return the record structure for the row with all system defaulted
364 -- values converted into its corresponding parameter value for update. When
365 -- we attempt to update a row through the Upd process , certain
366 -- parameters can be defaulted which enables flexibility in the calling of
367 -- the upd process (e.g. only attributes which need to be updated need to be
368 -- specified). For the upd process to determine which attributes
369 -- have NOT been specified we need to check if the parameter has a reserved
370 -- system default value. Therefore, for all parameters which have a
371 -- corresponding reserved system default mechanism specified we need to
372 -- check if a system default is being used. If a system default is being
373 -- used then we convert the defaulted value into its corresponding attribute
374 -- value held in the g_old_rec data structure.
375 --
376 -- Prerequisites:
377 -- This private function can only be called from the upd process.
378 --
379 -- In Parameters:
380 -- A Pl/Sql record structure.
381 --
382 -- Post Success:
383 -- The record structure will be returned with all system defaulted parameter
384 -- values converted into its current row attribute value.
385 --
386 -- Post Failure:
387 -- No direct error handling is required within this function. Any possible
388 -- errors within this procedure will be a PL/SQL value error due to
389 -- conversion of datatypes or data lengths.
390 --
391 -- Developer Implementation Notes:
392 -- None.
393 --
394 -- Access Status:
395 -- Internal Row Handler Use Only.
396 --
397 -- {End Of Comments}
398 -- ----------------------------------------------------------------------------
399 Procedure convert_defs
400 (p_rec in out nocopy irc_cmp_shd.g_rec_type
401 ) is
402 --
403 Begin
404 --
405 -- We must now examine each argument value in the
406 -- p_rec plsql record structure
407 -- to see if a system default is being used. If a system default
408 -- is being used then we must set to the 'current' argument value.
409 --
410 If (p_rec.object_type = hr_api.g_varchar2) then
411 p_rec.object_type :=
412 irc_cmp_shd.g_old_rec.object_type;
413 End If;
414 If (p_rec.object_id = hr_api.g_number) then
415 p_rec.object_id :=
416 irc_cmp_shd.g_old_rec.object_id;
417 End If;
418 If (p_rec.default_comm_status = hr_api.g_varchar2) then
419 p_rec.default_comm_status :=
420 irc_cmp_shd.g_old_rec.default_comm_status;
421 End If;
422 If (p_rec.allow_attachment_flag = hr_api.g_varchar2) then
423 p_rec.allow_attachment_flag :=
424 irc_cmp_shd.g_old_rec.allow_attachment_flag;
425 End If;
426 If (p_rec.auto_notification_flag = hr_api.g_varchar2) then
427 p_rec.auto_notification_flag :=
428 irc_cmp_shd.g_old_rec.auto_notification_flag;
429 End If;
430 If (p_rec.allow_add_recipients = hr_api.g_varchar2) then
431 p_rec.allow_add_recipients :=
432 irc_cmp_shd.g_old_rec.allow_add_recipients;
433 End If;
434 If (p_rec.default_moderator = hr_api.g_varchar2) then
435 p_rec.default_moderator :=
436 irc_cmp_shd.g_old_rec.default_moderator;
437 End If;
438 If (p_rec.attribute_category = hr_api.g_varchar2) then
439 p_rec.attribute_category :=
440 irc_cmp_shd.g_old_rec.attribute_category;
441 End If;
442 If (p_rec.attribute1 = hr_api.g_varchar2) then
443 p_rec.attribute1 :=
444 irc_cmp_shd.g_old_rec.attribute1;
445 End If;
446 If (p_rec.attribute2 = hr_api.g_varchar2) then
447 p_rec.attribute2 :=
448 irc_cmp_shd.g_old_rec.attribute2;
449 End If;
450 If (p_rec.attribute3 = hr_api.g_varchar2) then
451 p_rec.attribute3 :=
452 irc_cmp_shd.g_old_rec.attribute3;
453 End If;
454 If (p_rec.attribute4 = hr_api.g_varchar2) then
455 p_rec.attribute4 :=
456 irc_cmp_shd.g_old_rec.attribute4;
457 End If;
458 If (p_rec.attribute5 = hr_api.g_varchar2) then
459 p_rec.attribute5 :=
460 irc_cmp_shd.g_old_rec.attribute5;
461 End If;
462 If (p_rec.attribute6 = hr_api.g_varchar2) then
463 p_rec.attribute6 :=
464 irc_cmp_shd.g_old_rec.attribute6;
465 End If;
466 If (p_rec.attribute7 = hr_api.g_varchar2) then
467 p_rec.attribute7 :=
468 irc_cmp_shd.g_old_rec.attribute7;
469 End If;
470 If (p_rec.attribute8 = hr_api.g_varchar2) then
471 p_rec.attribute8 :=
472 irc_cmp_shd.g_old_rec.attribute8;
473 End If;
474 If (p_rec.attribute9 = hr_api.g_varchar2) then
475 p_rec.attribute9 :=
476 irc_cmp_shd.g_old_rec.attribute9;
477 End If;
478 If (p_rec.attribute10 = hr_api.g_varchar2) then
479 p_rec.attribute10 :=
480 irc_cmp_shd.g_old_rec.attribute10;
481 End If;
482 If (p_rec.information_category = hr_api.g_varchar2) then
483 p_rec.information_category :=
484 irc_cmp_shd.g_old_rec.information_category;
485 End If;
486 If (p_rec.information1 = hr_api.g_varchar2) then
487 p_rec.information1 :=
488 irc_cmp_shd.g_old_rec.information1;
489 End If;
490 If (p_rec.information2 = hr_api.g_varchar2) then
491 p_rec.information2 :=
492 irc_cmp_shd.g_old_rec.information2;
493 End If;
494 If (p_rec.information3 = hr_api.g_varchar2) then
495 p_rec.information3 :=
496 irc_cmp_shd.g_old_rec.information3;
497 End If;
498 If (p_rec.information4 = hr_api.g_varchar2) then
499 p_rec.information4 :=
500 irc_cmp_shd.g_old_rec.information4;
501 End If;
502 If (p_rec.information5 = hr_api.g_varchar2) then
503 p_rec.information5 :=
504 irc_cmp_shd.g_old_rec.information5;
505 End If;
506 If (p_rec.information6 = hr_api.g_varchar2) then
507 p_rec.information6 :=
508 irc_cmp_shd.g_old_rec.information6;
509 End If;
510 If (p_rec.information7 = hr_api.g_varchar2) then
511 p_rec.information7 :=
512 irc_cmp_shd.g_old_rec.information7;
513 End If;
514 If (p_rec.information8 = hr_api.g_varchar2) then
515 p_rec.information8 :=
516 irc_cmp_shd.g_old_rec.information8;
517 End If;
518 If (p_rec.information9 = hr_api.g_varchar2) then
519 p_rec.information9 :=
520 irc_cmp_shd.g_old_rec.information9;
521 End If;
522 If (p_rec.information10 = hr_api.g_varchar2) then
523 p_rec.information10 :=
524 irc_cmp_shd.g_old_rec.information10;
525 End If;
526 --
527 End convert_defs;
528 --
529 -- ----------------------------------------------------------------------------
530 -- |---------------------------------< upd >----------------------------------|
531 -- ----------------------------------------------------------------------------
532 Procedure upd
533 (p_effective_date in date
534 ,p_rec in out nocopy irc_cmp_shd.g_rec_type
535 ) is
536 --
537 l_proc varchar2(72) := g_package||'upd';
538 --
539 Begin
540 hr_utility.set_location('Entering:'||l_proc, 5);
541 --
542 -- We must lock the row which we need to update.
543 --
544 irc_cmp_shd.lck
545 (p_rec.communication_property_id
546 ,p_rec.object_version_number
547 );
548 --
549 -- 1. During an update system defaults are used to determine if
550 -- arguments have been defaulted or not. We must therefore
551 -- derive the full record structure values to be updated.
552 --
553 -- 2. Call the supporting update validate operations.
554 --
555 convert_defs(p_rec);
556 irc_cmp_bus.update_validate
557 (p_effective_date
558 ,p_rec
559 );
560 --
561 -- Call to raise any errors on multi-message list
562 hr_multi_message.end_validation_set;
563 --
564 -- Call the supporting pre-update operation
565 --
566 irc_cmp_upd.pre_update(p_rec);
567 --
568 -- Update the row.
569 --
570 irc_cmp_upd.update_dml(p_rec);
571 --
572 -- Call the supporting post-update operation
573 --
574 --irc_cmp_upd.post_update
575 -- (p_effective_date
576 -- ,p_rec
577 -- );
578 --
579 -- Call to raise any errors on multi-message list
580 hr_multi_message.end_validation_set;
581 End upd;
582 --
583 -- ----------------------------------------------------------------------------
584 -- |---------------------------------< upd >----------------------------------|
585 -- ----------------------------------------------------------------------------
586 Procedure upd
587 (p_effective_date in date
588 ,p_communication_property_id in number
589 ,p_object_version_number in out nocopy number
590 ,p_object_type in varchar2 default hr_api.g_varchar2
591 ,p_object_id in number default hr_api.g_number
592 ,p_default_comm_status in varchar2 default hr_api.g_varchar2
593 ,p_allow_attachment_flag in varchar2 default hr_api.g_varchar2
594 ,p_auto_notification_flag in varchar2 default hr_api.g_varchar2
595 ,p_allow_add_recipients in varchar2 default hr_api.g_varchar2
596 ,p_default_moderator in varchar2 default hr_api.g_varchar2
597 ,p_attribute_category in varchar2 default hr_api.g_varchar2
598 ,p_attribute1 in varchar2 default hr_api.g_varchar2
599 ,p_attribute2 in varchar2 default hr_api.g_varchar2
600 ,p_attribute3 in varchar2 default hr_api.g_varchar2
601 ,p_attribute4 in varchar2 default hr_api.g_varchar2
602 ,p_attribute5 in varchar2 default hr_api.g_varchar2
603 ,p_attribute6 in varchar2 default hr_api.g_varchar2
604 ,p_attribute7 in varchar2 default hr_api.g_varchar2
605 ,p_attribute8 in varchar2 default hr_api.g_varchar2
606 ,p_attribute9 in varchar2 default hr_api.g_varchar2
607 ,p_attribute10 in varchar2 default hr_api.g_varchar2
608 ,p_information_category in varchar2 default hr_api.g_varchar2
609 ,p_information1 in varchar2 default hr_api.g_varchar2
610 ,p_information2 in varchar2 default hr_api.g_varchar2
611 ,p_information3 in varchar2 default hr_api.g_varchar2
612 ,p_information4 in varchar2 default hr_api.g_varchar2
613 ,p_information5 in varchar2 default hr_api.g_varchar2
614 ,p_information6 in varchar2 default hr_api.g_varchar2
615 ,p_information7 in varchar2 default hr_api.g_varchar2
616 ,p_information8 in varchar2 default hr_api.g_varchar2
617 ,p_information9 in varchar2 default hr_api.g_varchar2
618 ,p_information10 in varchar2 default hr_api.g_varchar2
619 ) is
620 --
621 l_rec irc_cmp_shd.g_rec_type;
622 l_proc varchar2(72) := g_package||'upd';
623 --
624 Begin
625 hr_utility.set_location('Entering:'||l_proc, 5);
626 --
627 -- Call conversion function to turn arguments into the
628 -- l_rec structure.
629 --
630 l_rec :=
631 irc_cmp_shd.convert_args
632 (p_communication_property_id
633 ,p_object_type
634 ,p_object_id
635 ,p_default_comm_status
636 ,p_allow_attachment_flag
637 ,p_auto_notification_flag
638 ,p_allow_add_recipients
639 ,p_default_moderator
640 ,p_attribute_category
641 ,p_attribute1
642 ,p_attribute2
643 ,p_attribute3
644 ,p_attribute4
645 ,p_attribute5
646 ,p_attribute6
647 ,p_attribute7
648 ,p_attribute8
649 ,p_attribute9
650 ,p_attribute10
651 ,p_information_category
652 ,p_information1
653 ,p_information2
654 ,p_information3
655 ,p_information4
656 ,p_information5
657 ,p_information6
658 ,p_information7
659 ,p_information8
660 ,p_information9
661 ,p_information10
662 ,p_object_version_number
663 );
664 --
665 -- Having converted the arguments into the
666 -- plsql record structure we call the corresponding record
667 -- business process.
668 --
669 irc_cmp_upd.upd
670 (p_effective_date
671 ,l_rec
672 );
673 p_object_version_number := l_rec.object_version_number;
674 --
675 hr_utility.set_location(' Leaving:'||l_proc, 10);
676 End upd;
677 --
678 end irc_cmp_upd;