1 Package Body pay_cnt_upd as
2 /* $Header: pycntrhi.pkb 120.0.12000000.2 2007/05/01 22:43:42 ahanda noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- | Private Global Definitions |
6 -- ----------------------------------------------------------------------------
7 --
8 g_package varchar2(33) := ' pay_cnt_upd.'; -- Global package name
9 --
10 -- ----------------------------------------------------------------------------
11 -- |----------------------------< dt_update_dml >-----------------------------|
12 -- ----------------------------------------------------------------------------
13 -- {Start Of Comments}
14 --
15 -- Description:
16 -- This procedure controls the execution of dml from the datetrack mode
17 -- of CORRECTION only. It is important to note that the object version
18 -- number is only increment by 1 because the datetrack correction is
19 -- soley for one datetracked row.
20 -- This procedure controls the actual dml update logic. The functions of this
21 -- procedure are as follows:
22 -- 1) Get the next object_version_number.
23 -- 2) To set and unset the g_api_dml status as required (as we are about to
24 -- perform dml).
25 -- 3) To update the specified row in the schema using the primary key in
26 -- the predicates.
27 -- 4) To trap any constraint violations that may have occurred.
28 -- 5) To raise any other errors.
29 --
30 -- Prerequisites:
31 -- This is an internal private procedure which must be called from the
32 -- update_dml procedure.
33 --
34 -- In Parameters:
35 -- A Pl/Sql record structre.
36 --
37 -- Post Success:
38 -- The specified row will be updated in the schema.
39 --
40 -- Post Failure:
41 -- On the update dml failure it is important to note that we always reset the
42 -- g_api_dml status to false.
43 -- If a check or unique integrity constraint violation is raised the
44 -- constraint_error procedure will be called.
45 -- If any other error is reported, the error will be raised after the
46 -- g_api_dml status is reset.
47 --
48 -- Developer Implementation Notes:
49 -- The update 'set' arguments list should be modified if any of your
50 -- attributes are not updateable.
51 --
52 -- Access Status:
53 -- Internal Row Handler Use Only.
54 --
55 -- {End Of Comments}
56 -- ----------------------------------------------------------------------------
57 Procedure dt_update_dml
58 (p_rec in out nocopy pay_cnt_shd.g_rec_type,
59 p_effective_date in date,
60 p_datetrack_mode in varchar2,
61 p_validation_start_date in date,
62 p_validation_end_date in date) is
63 --
64 l_proc varchar2(72) := g_package||'dt_update_dml';
65 --
66 Begin
67 hr_utility.set_location('Entering:'||l_proc, 5);
68 --
69 If (p_datetrack_mode = 'CORRECTION') then
70 hr_utility.set_location(l_proc, 10);
71 --
72 -- Because we are updating a row we must get the next object
73 -- version number.
74 --
75 p_rec.object_version_number :=
76 dt_api.get_object_version_number
77 (p_base_table_name => 'pay_us_emp_county_tax_rules_f',
78 p_base_key_column => 'emp_county_tax_rule_id',
79 p_base_key_value => p_rec.emp_county_tax_rule_id);
80 --
81 pay_cnt_shd.g_api_dml := true; -- Set the api dml status
82 --
83 -- Update the pay_us_emp_county_tax_rules_f Row
84 --
85 update pay_us_emp_county_tax_rules_f
86 set
87 emp_county_tax_rule_id = p_rec.emp_county_tax_rule_id,
88 assignment_id = p_rec.assignment_id,
89 state_code = p_rec.state_code,
90 county_code = p_rec.county_code,
91 business_group_id = p_rec.business_group_id,
92 additional_wa_rate = p_rec.additional_wa_rate,
93 filing_status_code = p_rec.filing_status_code,
94 jurisdiction_code = p_rec.jurisdiction_code,
95 lit_additional_tax = p_rec.lit_additional_tax,
96 lit_override_amount = p_rec.lit_override_amount,
97 lit_override_rate = p_rec.lit_override_rate,
98 withholding_allowances = p_rec.withholding_allowances,
99 lit_exempt = p_rec.lit_exempt,
100 sd_exempt = p_rec.sd_exempt,
101 ht_exempt = p_rec.ht_exempt,
102 wage_exempt = p_rec.wage_exempt,
103 school_district_code = p_rec.school_district_code,
104 object_version_number = p_rec.object_version_number,
105 attribute_category = p_rec.attribute_category,
106 attribute1 = p_rec.attribute1,
107 attribute2 = p_rec.attribute2,
108 attribute3 = p_rec.attribute3,
109 attribute4 = p_rec.attribute4,
110 attribute5 = p_rec.attribute5,
111 attribute6 = p_rec.attribute6,
112 attribute7 = p_rec.attribute7,
113 attribute8 = p_rec.attribute8,
114 attribute9 = p_rec.attribute9,
115 attribute10 = p_rec.attribute10,
116 attribute11 = p_rec.attribute11,
117 attribute12 = p_rec.attribute12,
118 attribute13 = p_rec.attribute13,
119 attribute14 = p_rec.attribute14,
120 attribute15 = p_rec.attribute15,
121 attribute16 = p_rec.attribute16,
122 attribute17 = p_rec.attribute17,
123 attribute18 = p_rec.attribute18,
124 attribute19 = p_rec.attribute19,
125 attribute20 = p_rec.attribute20,
126 attribute21 = p_rec.attribute21,
127 attribute22 = p_rec.attribute22,
128 attribute23 = p_rec.attribute23,
129 attribute24 = p_rec.attribute24,
130 attribute25 = p_rec.attribute25,
131 attribute26 = p_rec.attribute26,
132 attribute27 = p_rec.attribute27,
133 attribute28 = p_rec.attribute28,
134 attribute29 = p_rec.attribute29,
135 attribute30 = p_rec.attribute30,
136 cnt_information_category = p_rec.cnt_information_category,
137 cnt_information1 = p_rec.cnt_information1,
138 cnt_information2 = p_rec.cnt_information2,
139 cnt_information3 = p_rec.cnt_information3,
140 cnt_information4 = p_rec.cnt_information4,
141 cnt_information5 = p_rec.cnt_information5,
142 cnt_information6 = p_rec.cnt_information6,
143 cnt_information7 = p_rec.cnt_information7,
144 cnt_information8 = p_rec.cnt_information8,
145 cnt_information9 = p_rec.cnt_information9,
146 cnt_information10 = p_rec.cnt_information10,
147 cnt_information11 = p_rec.cnt_information11,
148 cnt_information12 = p_rec.cnt_information12,
149 cnt_information13 = p_rec.cnt_information13,
150 cnt_information14 = p_rec.cnt_information14,
151 cnt_information15 = p_rec.cnt_information15,
152 cnt_information16 = p_rec.cnt_information16,
153 cnt_information17 = p_rec.cnt_information17,
154 cnt_information18 = p_rec.cnt_information18,
155 cnt_information19 = p_rec.cnt_information19,
156 cnt_information20 = p_rec.cnt_information20,
157 cnt_information21 = p_rec.cnt_information21,
158 cnt_information22 = p_rec.cnt_information22,
159 cnt_information23 = p_rec.cnt_information23,
160 cnt_information24 = p_rec.cnt_information24,
161 cnt_information25 = p_rec.cnt_information25,
162 cnt_information26 = p_rec.cnt_information26,
163 cnt_information27 = p_rec.cnt_information27,
164 cnt_information28 = p_rec.cnt_information28,
165 cnt_information29 = p_rec.cnt_information29,
166 cnt_information30 = p_rec.cnt_information30
167 where emp_county_tax_rule_id = p_rec.emp_county_tax_rule_id
168 and effective_start_date = p_validation_start_date
169 and effective_end_date = p_validation_end_date;
170 --
171 pay_cnt_shd.g_api_dml := false; -- Unset the api dml status
172 --
173 -- Set the effective start and end dates
174 --
175 p_rec.effective_start_date := p_validation_start_date;
176 p_rec.effective_end_date := p_validation_end_date;
177 End If;
178 --
179 hr_utility.set_location(' Leaving:'||l_proc, 15);
180 Exception
181 When hr_api.check_integrity_violated Then
182 -- A check constraint has been violated
183 pay_cnt_shd.g_api_dml := false; -- Unset the api dml status
184 pay_cnt_shd.constraint_error
185 (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
186 When hr_api.unique_integrity_violated Then
187 -- Unique integrity has been violated
188 pay_cnt_shd.g_api_dml := false; -- Unset the api dml status
189 pay_cnt_shd.constraint_error
190 (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
191 When Others Then
192 pay_cnt_shd.g_api_dml := false; -- Unset the api dml status
193 Raise;
194 End dt_update_dml;
195 --
196 -- ----------------------------------------------------------------------------
197 -- |------------------------------< update_dml >------------------------------|
198 -- ----------------------------------------------------------------------------
199 -- {Start Of Comments}
200 --
201 -- Description:
202 -- This procedure calls the dt_update_dml control logic which handles
203 -- the actual datetrack dml.
204 --
205 -- Prerequisites:
206 -- This is an internal private procedure which must be called from the upd
207 -- procedure.
208 --
209 -- In Parameters:
210 -- A Pl/Sql record structre.
211 --
212 -- Post Success:
213 -- Processing contines.
214 --
215 -- Post Failure:
216 -- No specific error handling is required within this procedure.
217 --
218 -- Developer Implementation Notes:
219 -- The update 'set' arguments list should be modified if any of your
220 -- attributes are not updateable.
221 --
222 -- Access Status:
223 -- Internal Row Handler Use Only.
224 --
225 -- {End Of Comments}
226 -- ----------------------------------------------------------------------------
227 Procedure update_dml
228 (p_rec in out nocopy pay_cnt_shd.g_rec_type,
229 p_effective_date in date,
230 p_datetrack_mode in varchar2,
231 p_validation_start_date in date,
232 p_validation_end_date in date) is
233 --
234 l_proc varchar2(72) := g_package||'update_dml';
235 --
236 Begin
237 hr_utility.set_location('Entering:'||l_proc, 5);
238 --
239 dt_update_dml(p_rec => p_rec,
240 p_effective_date => p_effective_date,
241 p_datetrack_mode => p_datetrack_mode,
242 p_validation_start_date => p_validation_start_date,
243 p_validation_end_date => p_validation_end_date);
244 --
245 hr_utility.set_location(' Leaving:'||l_proc, 10);
246 End update_dml;
247 --
248 -- ----------------------------------------------------------------------------
249 -- |----------------------------< dt_pre_update >-----------------------------|
250 -- ----------------------------------------------------------------------------
251 -- {Start Of Comments}
252 --
253 -- Description:
254 -- The dt_pre_update procedure controls the execution
255 -- of dml for the datetrack modes of: UPDATE, UPDATE_OVERRIDE
256 -- and UPDATE_CHANGE_INSERT only. The execution required is as
257 -- follows:
258 --
259 -- 1) Providing the datetrack update mode is not 'CORRECTION'
260 -- then set the effective end date of the current row (this
261 -- will be the validation_start_date - 1).
262 -- 2) If the datetrack mode is 'UPDATE_OVERRIDE' then call the
263 -- corresponding delete_dml process to delete any future rows
264 -- where the effective_start_date is greater than or equal to
265 -- the validation_start_date.
266 -- 3) Call the insert_dml process to insert the new updated row
267 -- details..
268 --
269 -- Prerequisites:
270 -- This is an internal procedure which is called from the
271 -- pre_update procedure.
272 --
273 -- In Parameters:
274 --
275 -- Post Success:
276 -- Processing continues.
277 --
278 -- Post Failure:
279 -- If an error has occurred, an error message and exception will be raised
280 -- but not handled.
281 --
282 -- Developer Implementation Notes:
283 -- This is an internal procedure which is required by Datetrack. Don't
284 -- remove or modify.
285 --
286 -- Access Status:
287 -- Internal Row Handler Use Only.
288 --
289 -- {End Of Comments}
290 -- ----------------------------------------------------------------------------
291 Procedure dt_pre_update
292 (p_rec in out nocopy pay_cnt_shd.g_rec_type,
293 p_effective_date in date,
294 p_datetrack_mode in varchar2,
295 p_validation_start_date in date,
296 p_validation_end_date in date) is
297 --
298 l_proc varchar2(72) := g_package||'dt_pre_update';
299 l_dummy_version_number number;
300 --
301 Begin
302 hr_utility.set_location('Entering:'||l_proc, 5);
303 If (p_datetrack_mode <> 'CORRECTION') then
304 hr_utility.set_location(l_proc, 10);
305 --
306 -- Update the current effective end date
307 --
308 pay_cnt_shd.upd_effective_end_date
309 (p_effective_date => p_effective_date,
310 p_base_key_value => p_rec.emp_county_tax_rule_id,
311 p_new_effective_end_date => (p_validation_start_date - 1),
312 p_validation_start_date => p_validation_start_date,
313 p_validation_end_date => p_validation_end_date,
314 p_object_version_number => l_dummy_version_number);
315 --
316 If (p_datetrack_mode = 'UPDATE_OVERRIDE') then
317 hr_utility.set_location(l_proc, 15);
318 --
319 -- As the datetrack mode is 'UPDATE_OVERRIDE' then we must
320 -- delete any future rows
321 --
322 pay_cnt_del.delete_dml
323 (p_rec => p_rec,
324 p_effective_date => p_effective_date,
325 p_datetrack_mode => p_datetrack_mode,
326 p_validation_start_date => p_validation_start_date,
327 p_validation_end_date => p_validation_end_date);
328 End If;
329 hr_utility.set_location(l_proc, 20);
330 --
331 -- We must now insert the updated row
332 --
333 pay_cnt_ins.insert_dml
334 (p_rec => p_rec,
335 p_effective_date => p_effective_date,
336 p_datetrack_mode => p_datetrack_mode,
337 p_validation_start_date => p_validation_start_date,
338 p_validation_end_date => p_validation_end_date);
339 End If;
340 hr_utility.set_location(' Leaving:'||l_proc, 20);
341 End dt_pre_update;
342 --
343 -- ----------------------------------------------------------------------------
344 -- |------------------------------< pre_update >------------------------------|
345 -- ----------------------------------------------------------------------------
346 -- {Start Of Comments}
347 --
348 -- Description:
349 -- This private procedure contains any processing which is required before
350 -- the update dml.
351 --
352 -- Prerequisites:
353 -- This is an internal procedure which is called from the upd procedure.
354 --
355 -- In Parameters:
356 -- A Pl/Sql record structre.
357 --
358 -- Post Success:
359 -- Processing continues.
360 --
361 -- Post Failure:
362 -- If an error has occurred, an error message and exception will be raised
363 -- but not handled.
364 --
365 -- Developer Implementation Notes:
366 -- Any pre-processing required before the update dml is issued should be
367 -- coded within this procedure. It is important to note that any 3rd party
368 -- maintenance should be reviewed before placing in this procedure. The call
369 -- to the dt_update_dml procedure should NOT be removed.
370 --
371 -- Access Status:
372 -- Internal Row Handler Use Only.
373 --
374 -- {End Of Comments}
375 -- ----------------------------------------------------------------------------
376 Procedure pre_update
377 (p_rec in out nocopy pay_cnt_shd.g_rec_type,
378 p_effective_date in date,
379 p_datetrack_mode in varchar2,
380 p_validation_start_date in date,
381 p_validation_end_date in date) is
382 --
383 l_proc varchar2(72) := g_package||'pre_update';
384 --
385 Begin
386 hr_utility.set_location('Entering:'||l_proc, 5);
387 --
388 --
389 --
390 dt_pre_update
391 (p_rec => p_rec,
392 p_effective_date => p_effective_date,
393 p_datetrack_mode => p_datetrack_mode,
394 p_validation_start_date => p_validation_start_date,
395 p_validation_end_date => p_validation_end_date);
396 --
397 hr_utility.set_location(' Leaving:'||l_proc, 10);
398 End pre_update;
399 --
400 -- ----------------------------------------------------------------------------
401 -- |-----------------------------< post_update >------------------------------|
402 -- ----------------------------------------------------------------------------
403 -- {Start Of Comments}
404 --
405 -- Description:
406 -- This private procedure contains any processing which is required after the
407 -- update dml.
408 --
409 -- Prerequisites:
410 -- This is an internal procedure which is called from the upd procedure.
411 --
412 -- In Parameters:
413 -- A Pl/Sql record structre.
414 --
415 -- Post Success:
416 -- Processing continues.
417 --
418 -- Post Failure:
419 -- If an error has occurred, an error message and exception will be raised
420 -- but not handled.
421 --
422 -- Developer Implementation Notes:
423 -- Any post-processing required after the update dml is issued should be
424 -- coded within this procedure. It is important to note that any 3rd party
425 -- maintenance should be reviewed before placing in this procedure.
426 --
427 -- Access Status:
428 -- Internal Row Handler Use Only.
429 --
430 -- {End Of Comments}
431 -- ----------------------------------------------------------------------------
432 Procedure post_update
433 (p_rec in pay_cnt_shd.g_rec_type,
434 p_effective_date in date,
435 p_datetrack_mode in varchar2,
436 p_validation_start_date in date,
437 p_validation_end_date in date) is
438 --
439 l_proc varchar2(72) := g_package||'post_update';
440 --
441 Begin
442 hr_utility.set_location('Entering:'||l_proc, 5);
443 --
444 --
445 -- Start of API User Hook for post_update.
446 --
447 begin
448 --
449 /*
450 pay_cnt_rku.after_update
451 (
452 p_emp_county_tax_rule_id =>p_rec.emp_county_tax_rule_id
453 ,p_effective_start_date =>p_rec.effective_start_date
454 ,p_effective_end_date =>p_rec.effective_end_date
455 ,p_additional_wa_rate =>p_rec.additional_wa_rate
456 ,p_filing_status_code =>p_rec.filing_status_code
457 ,p_lit_additional_tax =>p_rec.lit_additional_tax
458 ,p_lit_override_amount =>p_rec.lit_override_amount
459 ,p_lit_override_rate =>p_rec.lit_override_rate
460 ,p_withholding_allowances =>p_rec.withholding_allowances
461 ,p_lit_exempt =>p_rec.lit_exempt
462 ,p_sd_exempt =>p_rec.sd_exempt
463 ,p_ht_exempt =>p_rec.ht_exempt
464 ,p_wage_exempt =>p_rec.wage_exempt
465 ,p_school_district_code =>p_rec.school_district_code
466 ,p_object_version_number =>p_rec.object_version_number
467 ,p_effective_date =>p_effective_date
468 ,p_datetrack_mode =>p_datetrack_mode
469 ,p_validation_start_date =>p_validation_start_date
470 ,p_validation_end_date =>p_validation_end_date
471 ,p_effective_start_date_o =>pay_cnt_shd.g_old_rec.effective_start_date
472 ,p_effective_end_date_o =>pay_cnt_shd.g_old_rec.effective_end_date
473 ,p_assignment_id_o =>pay_cnt_shd.g_old_rec.assignment_id
474 ,p_state_code_o =>pay_cnt_shd.g_old_rec.state_code
475 ,p_county_code_o =>pay_cnt_shd.g_old_rec.county_code
476 ,p_business_group_id_o =>pay_cnt_shd.g_old_rec.business_group_id
477 ,p_additional_wa_rate_o =>pay_cnt_shd.g_old_rec.additional_wa_rate
478 ,p_filing_status_code_o =>pay_cnt_shd.g_old_rec.filing_status_code
479 ,p_jurisdiction_code_o =>pay_cnt_shd.g_old_rec.jurisdiction_code
480 ,p_lit_additional_tax_o =>pay_cnt_shd.g_old_rec.lit_additional_tax
481 ,p_lit_override_amount_o =>pay_cnt_shd.g_old_rec.lit_override_amount
482 ,p_lit_override_rate_o =>pay_cnt_shd.g_old_rec.lit_override_rate
483 ,p_withholding_allowances_o =>pay_cnt_shd.g_old_rec.withholding_allowances
484 ,p_lit_exempt_o =>pay_cnt_shd.g_old_rec.lit_exempt
485 ,p_sd_exempt_o =>pay_cnt_shd.g_old_rec.sd_exempt
486 ,p_ht_exempt_o =>pay_cnt_shd.g_old_rec.ht_exempt
487 ,p_wage_exempt_o =>pay_cnt_shd.g_old_rec.wage_exempt
488 ,p_school_district_code_o =>pay_cnt_shd.g_old_rec.school_district_code
489 ,p_object_version_number_o =>pay_cnt_shd.g_old_rec.object_version_number
490 );
491 --
492 exception
493 --
494 when hr_api.cannot_find_prog_unit then
495 --
496 hr_api.cannot_find_prog_unit_error
497 (p_module_name => 'PAY_US_EMP_COUNTY_TAX_RULES_F'
498 ,p_hook_type => 'AU');
499 --
500 */
501 null;
502 end;
503 --
504 -- End of API User Hook for post_update.
505 --
506 --
507 hr_utility.set_location(' Leaving:'||l_proc, 10);
508 End post_update;
509 --
510 -- ----------------------------------------------------------------------------
511 -- |-----------------------------< convert_defs >-----------------------------|
512 -- ----------------------------------------------------------------------------
513 -- {Start Of Comments}
514 --
515 -- Description:
516 -- The Convert_Defs procedure has one very important function:
517 -- It must return the record structure for the row with all system defaulted
518 -- values converted into its corresponding parameter value for update. When
519 -- we attempt to update a row through the Upd process , certain
520 -- parameters can be defaulted which enables flexibility in the calling of
521 -- the upd process (e.g. only attributes which need to be updated need to be
522 -- specified). For the upd process to determine which attributes
523 -- have NOT been specified we need to check if the parameter has a reserved
524 -- system default value. Therefore, for all parameters which have a
525 -- corresponding reserved system default mechanism specified we need to
526 -- check if a system default is being used. If a system default is being
527 -- used then we convert the defaulted value into its corresponding attribute
528 -- value held in the g_old_rec data structure.
529 --
530 -- Prerequisites:
531 -- This private function can only be called from the upd process.
532 --
533 -- In Parameters:
534 -- A Pl/Sql record structre.
535 --
536 -- Post Success:
537 -- The record structure will be returned with all system defaulted parameter
538 -- values converted into its current row attribute value.
539 --
540 -- Post Failure:
541 -- No direct error handling is required within this function. Any possible
542 -- errors within this procedure will be a PL/SQL value error due to
543 -- conversion of datatypes or data lengths.
544 --
545 -- Developer Implementation Notes:
546 -- None.
547 --
548 -- Access Status:
549 -- Internal Row Handler Use Only.
550 --
551 -- {End Of Comments}
552 -- ----------------------------------------------------------------------------
553 Procedure convert_defs(p_rec in out nocopy pay_cnt_shd.g_rec_type) is
554 --
555 l_proc varchar2(72) := g_package||'convert_defs';
556 --
557 Begin
558 --
559 hr_utility.set_location('Entering:'||l_proc, 5);
560 --
561 -- We must now examine each argument value in the
562 -- p_rec plsql record structure
563 -- to see if a system default is being used. If a system default
564 -- is being used then we must set to the 'current' argument value.
565 --
566 If (p_rec.assignment_id = hr_api.g_number) then
567 p_rec.assignment_id :=
568 pay_cnt_shd.g_old_rec.assignment_id;
569 End If;
570 If (p_rec.state_code = hr_api.g_varchar2) then
571 p_rec.state_code :=
572 pay_cnt_shd.g_old_rec.state_code;
573 End If;
574 If (p_rec.county_code = hr_api.g_varchar2) then
575 p_rec.county_code :=
576 pay_cnt_shd.g_old_rec.county_code;
577 End If;
578 If (p_rec.business_group_id = hr_api.g_number) then
579 p_rec.business_group_id :=
580 pay_cnt_shd.g_old_rec.business_group_id;
581 End If;
582 If (p_rec.additional_wa_rate = hr_api.g_number) then
583 p_rec.additional_wa_rate :=
584 pay_cnt_shd.g_old_rec.additional_wa_rate;
585 End If;
586 If (p_rec.filing_status_code = hr_api.g_varchar2) then
587 p_rec.filing_status_code :=
588 pay_cnt_shd.g_old_rec.filing_status_code;
589 End If;
590 If (p_rec.jurisdiction_code = hr_api.g_varchar2) then
591 p_rec.jurisdiction_code :=
592 pay_cnt_shd.g_old_rec.jurisdiction_code;
593 End If;
594 If (p_rec.lit_additional_tax = hr_api.g_number) then
595 p_rec.lit_additional_tax :=
596 pay_cnt_shd.g_old_rec.lit_additional_tax;
597 End If;
598 If (p_rec.lit_override_amount = hr_api.g_number) then
599 p_rec.lit_override_amount :=
600 pay_cnt_shd.g_old_rec.lit_override_amount;
601 End If;
602 If (p_rec.lit_override_rate = hr_api.g_number) then
603 p_rec.lit_override_rate :=
604 pay_cnt_shd.g_old_rec.lit_override_rate;
605 End If;
606 If (p_rec.withholding_allowances = hr_api.g_number) then
607 p_rec.withholding_allowances :=
608 pay_cnt_shd.g_old_rec.withholding_allowances;
609 End If;
610 If (p_rec.lit_exempt = hr_api.g_varchar2) then
611 p_rec.lit_exempt :=
612 pay_cnt_shd.g_old_rec.lit_exempt;
613 End If;
614 If (p_rec.sd_exempt = hr_api.g_varchar2) then
615 p_rec.sd_exempt :=
616 pay_cnt_shd.g_old_rec.sd_exempt;
617 End If;
618 If (p_rec.ht_exempt = hr_api.g_varchar2) then
619 p_rec.ht_exempt :=
620 pay_cnt_shd.g_old_rec.ht_exempt;
621 End If;
622 If (p_rec.wage_exempt = hr_api.g_varchar2) then
623 p_rec.wage_exempt :=
624 pay_cnt_shd.g_old_rec.wage_exempt;
625 End If;
626 If (p_rec.school_district_code = hr_api.g_varchar2) then
627 p_rec.school_district_code :=
628 pay_cnt_shd.g_old_rec.school_district_code;
629 End If;
630 If (p_rec.attribute_category = hr_api.g_varchar2) then
631 p_rec.attribute_category :=
632 pay_cnt_shd.g_old_rec.attribute_category;
633 End If;
634 If (p_rec.attribute1 = hr_api.g_varchar2) then
635 p_rec.attribute1 :=
636 pay_cnt_shd.g_old_rec.attribute1;
637 End If;
638 If (p_rec.attribute2 = hr_api.g_varchar2) then
639 p_rec.attribute2 :=
640 pay_cnt_shd.g_old_rec.attribute2;
641 End If;
642 If (p_rec.attribute3 = hr_api.g_varchar2) then
643 p_rec.attribute3 :=
644 pay_cnt_shd.g_old_rec.attribute3;
645 End If;
646 If (p_rec.attribute4 = hr_api.g_varchar2) then
647 p_rec.attribute4 :=
648 pay_cnt_shd.g_old_rec.attribute4;
649 End If;
650 If (p_rec.attribute5 = hr_api.g_varchar2) then
651 p_rec.attribute5 :=
652 pay_cnt_shd.g_old_rec.attribute5;
653 End If;
654 If (p_rec.attribute6 = hr_api.g_varchar2) then
655 p_rec.attribute6 :=
656 pay_cnt_shd.g_old_rec.attribute6;
657 End If;
658 If (p_rec.attribute7 = hr_api.g_varchar2) then
659 p_rec.attribute7 :=
660 pay_cnt_shd.g_old_rec.attribute7;
661 End If;
662 If (p_rec.attribute8 = hr_api.g_varchar2) then
663 p_rec.attribute8 :=
664 pay_cnt_shd.g_old_rec.attribute8;
665 End If;
666 If (p_rec.attribute9 = hr_api.g_varchar2) then
667 p_rec.attribute9 :=
668 pay_cnt_shd.g_old_rec.attribute9;
669 End If;
670 If (p_rec.attribute10 = hr_api.g_varchar2) then
671 p_rec.attribute10 :=
672 pay_cnt_shd.g_old_rec.attribute10;
673 End If;
674 If (p_rec.attribute11 = hr_api.g_varchar2) then
675 p_rec.attribute11 :=
676 pay_cnt_shd.g_old_rec.attribute11;
677 End If;
678 If (p_rec.attribute12 = hr_api.g_varchar2) then
679 p_rec.attribute12 :=
680 pay_cnt_shd.g_old_rec.attribute12;
681 End If;
682 If (p_rec.attribute13 = hr_api.g_varchar2) then
683 p_rec.attribute13 :=
684 pay_cnt_shd.g_old_rec.attribute13;
685 End If;
686 If (p_rec.attribute14 = hr_api.g_varchar2) then
687 p_rec.attribute14 :=
688 pay_cnt_shd.g_old_rec.attribute14;
689 End If;
690 If (p_rec.attribute15 = hr_api.g_varchar2) then
691 p_rec.attribute15 :=
692 pay_cnt_shd.g_old_rec.attribute15;
693 End If;
694 If (p_rec.attribute16 = hr_api.g_varchar2) then
695 p_rec.attribute16 :=
696 pay_cnt_shd.g_old_rec.attribute16;
697 End If;
698 If (p_rec.attribute17 = hr_api.g_varchar2) then
699 p_rec.attribute17 :=
700 pay_cnt_shd.g_old_rec.attribute17;
701 End If;
702 If (p_rec.attribute18 = hr_api.g_varchar2) then
703 p_rec.attribute18 :=
704 pay_cnt_shd.g_old_rec.attribute18;
705 End If;
706 If (p_rec.attribute19 = hr_api.g_varchar2) then
707 p_rec.attribute19 :=
708 pay_cnt_shd.g_old_rec.attribute19;
709 End If;
710 If (p_rec.attribute20 = hr_api.g_varchar2) then
711 p_rec.attribute20 :=
712 pay_cnt_shd.g_old_rec.attribute20;
713 End If;
714 If (p_rec.attribute21 = hr_api.g_varchar2) then
715 p_rec.attribute21 :=
716 pay_cnt_shd.g_old_rec.attribute21;
717 End If;
718 If (p_rec.attribute22 = hr_api.g_varchar2) then
719 p_rec.attribute22 :=
720 pay_cnt_shd.g_old_rec.attribute22;
721 End If;
722 If (p_rec.attribute23 = hr_api.g_varchar2) then
723 p_rec.attribute23 :=
724 pay_cnt_shd.g_old_rec.attribute23;
725 End If;
726 If (p_rec.attribute24 = hr_api.g_varchar2) then
727 p_rec.attribute24 :=
728 pay_cnt_shd.g_old_rec.attribute24;
729 End If;
730 If (p_rec.attribute25 = hr_api.g_varchar2) then
731 p_rec.attribute25 :=
732 pay_cnt_shd.g_old_rec.attribute25;
733 End If;
734 If (p_rec.attribute26 = hr_api.g_varchar2) then
735 p_rec.attribute26 :=
736 pay_cnt_shd.g_old_rec.attribute26;
737 End If;
738 If (p_rec.attribute27 = hr_api.g_varchar2) then
739 p_rec.attribute27 :=
740 pay_cnt_shd.g_old_rec.attribute27;
741 End If;
742 If (p_rec.attribute28 = hr_api.g_varchar2) then
743 p_rec.attribute28 :=
744 pay_cnt_shd.g_old_rec.attribute28;
745 End If;
746 If (p_rec.attribute29 = hr_api.g_varchar2) then
747 p_rec.attribute29 :=
748 pay_cnt_shd.g_old_rec.attribute29;
749 End If;
750 If (p_rec.attribute30 = hr_api.g_varchar2) then
751 p_rec.attribute30 :=
752 pay_cnt_shd.g_old_rec.attribute30;
753 End If;
754 If (p_rec.cnt_information_category = hr_api.g_varchar2) then
755 p_rec.cnt_information_category :=
756 pay_cnt_shd.g_old_rec.cnt_information_category;
757 End If;
758 If (p_rec.cnt_information1 = hr_api.g_varchar2) then
759 p_rec.cnt_information1 :=
760 pay_cnt_shd.g_old_rec.cnt_information1;
761 End If;
762 If (p_rec.cnt_information2 = hr_api.g_varchar2) then
763 p_rec.cnt_information2 :=
764 pay_cnt_shd.g_old_rec.cnt_information2;
765 End If;
766 If (p_rec.cnt_information3 = hr_api.g_varchar2) then
767 p_rec.cnt_information3 :=
768 pay_cnt_shd.g_old_rec.cnt_information3;
769 End If;
770 If (p_rec.cnt_information4 = hr_api.g_varchar2) then
771 p_rec.cnt_information4 :=
772 pay_cnt_shd.g_old_rec.cnt_information4;
773 End If;
774 If (p_rec.cnt_information5 = hr_api.g_varchar2) then
775 p_rec.cnt_information5 :=
776 pay_cnt_shd.g_old_rec.cnt_information5;
777 End If;
778 If (p_rec.cnt_information6 = hr_api.g_varchar2) then
779 p_rec.cnt_information6 :=
780 pay_cnt_shd.g_old_rec.cnt_information6;
781 End If;
782 If (p_rec.cnt_information7 = hr_api.g_varchar2) then
783 p_rec.cnt_information7 :=
784 pay_cnt_shd.g_old_rec.cnt_information7;
785 End If;
786 If (p_rec.cnt_information8 = hr_api.g_varchar2) then
787 p_rec.cnt_information8 :=
788 pay_cnt_shd.g_old_rec.cnt_information8;
789 End If;
790 If (p_rec.cnt_information9 = hr_api.g_varchar2) then
791 p_rec.cnt_information9 :=
792 pay_cnt_shd.g_old_rec.cnt_information9;
793 End If;
794 If (p_rec.cnt_information10 = hr_api.g_varchar2) then
795 p_rec.cnt_information10 :=
796 pay_cnt_shd.g_old_rec.cnt_information10;
797 End If;
798 If (p_rec.cnt_information11 = hr_api.g_varchar2) then
799 p_rec.cnt_information11 :=
800 pay_cnt_shd.g_old_rec.cnt_information11;
801 End If;
802 If (p_rec.cnt_information12 = hr_api.g_varchar2) then
803 p_rec.cnt_information12 :=
804 pay_cnt_shd.g_old_rec.cnt_information12;
805 End If;
806 If (p_rec.cnt_information13 = hr_api.g_varchar2) then
807 p_rec.cnt_information13 :=
808 pay_cnt_shd.g_old_rec.cnt_information13;
809 End If;
810 If (p_rec.cnt_information14 = hr_api.g_varchar2) then
811 p_rec.cnt_information14 :=
812 pay_cnt_shd.g_old_rec.cnt_information14;
813 End If;
814 If (p_rec.cnt_information15 = hr_api.g_varchar2) then
815 p_rec.cnt_information15 :=
816 pay_cnt_shd.g_old_rec.cnt_information15;
817 End If;
818 If (p_rec.cnt_information16 = hr_api.g_varchar2) then
819 p_rec.cnt_information16 :=
820 pay_cnt_shd.g_old_rec.cnt_information16;
821 End If;
822 If (p_rec.cnt_information17 = hr_api.g_varchar2) then
823 p_rec.cnt_information17 :=
824 pay_cnt_shd.g_old_rec.cnt_information17;
825 End If;
826 If (p_rec.cnt_information18 = hr_api.g_varchar2) then
827 p_rec.cnt_information18 :=
828 pay_cnt_shd.g_old_rec.cnt_information18;
829 End If;
830 If (p_rec.cnt_information19 = hr_api.g_varchar2) then
831 p_rec.cnt_information19 :=
832 pay_cnt_shd.g_old_rec.cnt_information19;
833 End If;
834 If (p_rec.cnt_information20 = hr_api.g_varchar2) then
835 p_rec.cnt_information20 :=
836 pay_cnt_shd.g_old_rec.cnt_information20;
837 End If;
838 If (p_rec.cnt_information21 = hr_api.g_varchar2) then
839 p_rec.cnt_information21 :=
840 pay_cnt_shd.g_old_rec.cnt_information21;
841 End If;
842 If (p_rec.cnt_information22 = hr_api.g_varchar2) then
843 p_rec.cnt_information22 :=
844 pay_cnt_shd.g_old_rec.cnt_information22;
845 End If;
846 If (p_rec.cnt_information23 = hr_api.g_varchar2) then
847 p_rec.cnt_information23 :=
848 pay_cnt_shd.g_old_rec.cnt_information23;
849 End If;
850 If (p_rec.cnt_information24 = hr_api.g_varchar2) then
851 p_rec.cnt_information24 :=
852 pay_cnt_shd.g_old_rec.cnt_information24;
853 End If;
854 If (p_rec.cnt_information25 = hr_api.g_varchar2) then
855 p_rec.cnt_information25 :=
856 pay_cnt_shd.g_old_rec.cnt_information25;
857 End If;
858 If (p_rec.cnt_information26 = hr_api.g_varchar2) then
859 p_rec.cnt_information26 :=
860 pay_cnt_shd.g_old_rec.cnt_information26;
861 End If;
862 If (p_rec.cnt_information27 = hr_api.g_varchar2) then
863 p_rec.cnt_information27 :=
864 pay_cnt_shd.g_old_rec.cnt_information27;
865 End If;
866 If (p_rec.cnt_information28 = hr_api.g_varchar2) then
867 p_rec.cnt_information28 :=
868 pay_cnt_shd.g_old_rec.cnt_information28;
869 End If;
870 If (p_rec.cnt_information29 = hr_api.g_varchar2) then
871 p_rec.cnt_information29 :=
872 pay_cnt_shd.g_old_rec.cnt_information29;
873 End If;
874 If (p_rec.cnt_information30 = hr_api.g_varchar2) then
875 p_rec.cnt_information30 :=
876 pay_cnt_shd.g_old_rec.cnt_information30;
877 End If;
878
879 --
880 hr_utility.set_location(' Leaving:'||l_proc, 10);
881 --
882 End convert_defs;
883 --
884 -- ----------------------------------------------------------------------------
885 -- |---------------------------------< upd >----------------------------------|
886 -- ----------------------------------------------------------------------------
887 Procedure upd
888 (
889 p_rec in out nocopy pay_cnt_shd.g_rec_type,
890 p_effective_date in date,
891 p_datetrack_mode in varchar2
892 ) is
893 --
894 l_proc varchar2(72) := g_package||'upd';
895 l_validation_start_date date;
896 l_validation_end_date date;
897 --
898 Begin
899 hr_utility.set_location('Entering:'||l_proc, 5);
900 --
901 -- Ensure that the DateTrack update mode is valid
902 --
903 dt_api.validate_dt_upd_mode(p_datetrack_mode => p_datetrack_mode);
904 --
905 -- We must lock the row which we need to update.
906 --
907 pay_cnt_shd.lck
908 (p_effective_date => p_effective_date,
909 p_datetrack_mode => p_datetrack_mode,
910 p_emp_county_tax_rule_id => p_rec.emp_county_tax_rule_id,
911 p_object_version_number => p_rec.object_version_number,
912 p_validation_start_date => l_validation_start_date,
913 p_validation_end_date => l_validation_end_date);
914 --
915 -- 1. During an update system defaults are used to determine if
916 -- arguments have been defaulted or not. We must therefore
917 -- derive the full record structure values to be updated.
918 --
919 -- 2. Call the supporting update validate operations.
920 --
921 convert_defs(p_rec);
922 pay_cnt_bus.update_validate
923 (p_rec => p_rec,
924 p_effective_date => p_effective_date,
925 p_datetrack_mode => p_datetrack_mode,
926 p_validation_start_date => l_validation_start_date,
927 p_validation_end_date => l_validation_end_date);
928 --
929 -- Call the supporting pre-update operation
930 --
931 pre_update
932 (p_rec => p_rec,
933 p_effective_date => p_effective_date,
934 p_datetrack_mode => p_datetrack_mode,
935 p_validation_start_date => l_validation_start_date,
936 p_validation_end_date => l_validation_end_date);
937 --
938 -- Update the row.
939 --
940 update_dml
941 (p_rec => p_rec,
942 p_effective_date => p_effective_date,
943 p_datetrack_mode => p_datetrack_mode,
944 p_validation_start_date => l_validation_start_date,
945 p_validation_end_date => l_validation_end_date);
946 --
947 -- Call the supporting post-update operation
948 --
949 post_update
950 (p_rec => p_rec,
951 p_effective_date => p_effective_date,
952 p_datetrack_mode => p_datetrack_mode,
953 p_validation_start_date => l_validation_start_date,
954 p_validation_end_date => l_validation_end_date);
955 End upd;
956 --
957 -- ----------------------------------------------------------------------------
958 -- |---------------------------------< upd >----------------------------------|
959 -- ----------------------------------------------------------------------------
960 Procedure upd
961 (
962 p_emp_county_tax_rule_id in number,
963 p_effective_start_date out nocopy date,
964 p_effective_end_date out nocopy date,
965 p_additional_wa_rate in number default hr_api.g_number,
966 p_filing_status_code in varchar2 default hr_api.g_varchar2,
967 p_lit_additional_tax in number default hr_api.g_number,
968 p_lit_override_amount in number default hr_api.g_number,
969 p_lit_override_rate in number default hr_api.g_number,
970 p_withholding_allowances in number default hr_api.g_number,
971 p_lit_exempt in varchar2 default hr_api.g_varchar2,
972 p_sd_exempt in varchar2 default hr_api.g_varchar2,
973 p_ht_exempt in varchar2 default hr_api.g_varchar2,
974 p_wage_exempt in varchar2 default hr_api.g_varchar2,
975 p_school_district_code in varchar2 default hr_api.g_varchar2,
976 p_object_version_number in out nocopy number,
977 p_effective_date in date,
978 p_datetrack_mode in varchar2,
979 p_attribute_category in varchar2 default hr_api.g_varchar2,
980 p_attribute1 in varchar2 default hr_api.g_varchar2,
981 p_attribute2 in varchar2 default hr_api.g_varchar2,
982 p_attribute3 in varchar2 default hr_api.g_varchar2,
983 p_attribute4 in varchar2 default hr_api.g_varchar2,
984 p_attribute5 in varchar2 default hr_api.g_varchar2,
985 p_attribute6 in varchar2 default hr_api.g_varchar2,
986 p_attribute7 in varchar2 default hr_api.g_varchar2,
987 p_attribute8 in varchar2 default hr_api.g_varchar2,
988 p_attribute9 in varchar2 default hr_api.g_varchar2,
989 p_attribute10 in varchar2 default hr_api.g_varchar2,
990 p_attribute11 in varchar2 default hr_api.g_varchar2,
991 p_attribute12 in varchar2 default hr_api.g_varchar2,
992 p_attribute13 in varchar2 default hr_api.g_varchar2,
993 p_attribute14 in varchar2 default hr_api.g_varchar2,
994 p_attribute15 in varchar2 default hr_api.g_varchar2,
995 p_attribute16 in varchar2 default hr_api.g_varchar2,
996 p_attribute17 in varchar2 default hr_api.g_varchar2,
997 p_attribute18 in varchar2 default hr_api.g_varchar2,
998 p_attribute19 in varchar2 default hr_api.g_varchar2,
999 p_attribute20 in varchar2 default hr_api.g_varchar2,
1000 p_attribute21 in varchar2 default hr_api.g_varchar2,
1001 p_attribute22 in varchar2 default hr_api.g_varchar2,
1002 p_attribute23 in varchar2 default hr_api.g_varchar2,
1003 p_attribute24 in varchar2 default hr_api.g_varchar2,
1004 p_attribute25 in varchar2 default hr_api.g_varchar2,
1005 p_attribute26 in varchar2 default hr_api.g_varchar2,
1006 p_attribute27 in varchar2 default hr_api.g_varchar2,
1007 p_attribute28 in varchar2 default hr_api.g_varchar2,
1008 p_attribute29 in varchar2 default hr_api.g_varchar2,
1009 p_attribute30 in varchar2 default hr_api.g_varchar2,
1010 p_cnt_information_category in varchar2 default hr_api.g_varchar2,
1011 p_cnt_information1 in varchar2 default hr_api.g_varchar2,
1012 p_cnt_information2 in varchar2 default hr_api.g_varchar2,
1013 p_cnt_information3 in varchar2 default hr_api.g_varchar2,
1014 p_cnt_information4 in varchar2 default hr_api.g_varchar2,
1015 p_cnt_information5 in varchar2 default hr_api.g_varchar2,
1016 p_cnt_information6 in varchar2 default hr_api.g_varchar2,
1017 p_cnt_information7 in varchar2 default hr_api.g_varchar2,
1018 p_cnt_information8 in varchar2 default hr_api.g_varchar2,
1019 p_cnt_information9 in varchar2 default hr_api.g_varchar2,
1020 p_cnt_information10 in varchar2 default hr_api.g_varchar2,
1021 p_cnt_information11 in varchar2 default hr_api.g_varchar2,
1022 p_cnt_information12 in varchar2 default hr_api.g_varchar2,
1023 p_cnt_information13 in varchar2 default hr_api.g_varchar2,
1024 p_cnt_information14 in varchar2 default hr_api.g_varchar2,
1025 p_cnt_information15 in varchar2 default hr_api.g_varchar2,
1026 p_cnt_information16 in varchar2 default hr_api.g_varchar2,
1027 p_cnt_information17 in varchar2 default hr_api.g_varchar2,
1028 p_cnt_information18 in varchar2 default hr_api.g_varchar2,
1029 p_cnt_information19 in varchar2 default hr_api.g_varchar2,
1030 p_cnt_information20 in varchar2 default hr_api.g_varchar2,
1031 p_cnt_information21 in varchar2 default hr_api.g_varchar2,
1032 p_cnt_information22 in varchar2 default hr_api.g_varchar2,
1033 p_cnt_information23 in varchar2 default hr_api.g_varchar2,
1034 p_cnt_information24 in varchar2 default hr_api.g_varchar2,
1035 p_cnt_information25 in varchar2 default hr_api.g_varchar2,
1036 p_cnt_information26 in varchar2 default hr_api.g_varchar2,
1037 p_cnt_information27 in varchar2 default hr_api.g_varchar2,
1038 p_cnt_information28 in varchar2 default hr_api.g_varchar2,
1039 p_cnt_information29 in varchar2 default hr_api.g_varchar2,
1040 p_cnt_information30 in varchar2 default hr_api.g_varchar2
1041 ) is
1042 --
1043 l_rec pay_cnt_shd.g_rec_type;
1044 l_proc varchar2(72) := g_package||'upd';
1045 --
1046 Begin
1047 hr_utility.set_location('Entering:'||l_proc, 5);
1048 --
1049 -- Call conversion function to turn arguments into the
1050 -- l_rec structure.
1051 --
1052 l_rec :=
1053 pay_cnt_shd.convert_args
1054 (
1055 p_emp_county_tax_rule_id,
1056 null,
1057 null,
1058 hr_api.g_number, /* DFGII - p_assignment_id, */
1059 hr_api.g_varchar2, /* DFGII - p_state_code, */
1060 hr_api.g_varchar2, /* DFGII - p_county_code, */
1061 hr_api.g_number, /* DFGII - p_business_group_id, */
1062 p_additional_wa_rate,
1063 p_filing_status_code,
1064 hr_api.g_varchar2,
1065 p_lit_additional_tax,
1066 p_lit_override_amount,
1067 p_lit_override_rate,
1068 p_withholding_allowances,
1069 p_lit_exempt,
1070 p_sd_exempt,
1071 p_ht_exempt,
1072 p_wage_exempt,
1073 p_school_district_code,
1074 p_object_version_number,
1075 p_attribute_category,
1076 p_attribute1,
1077 p_attribute2,
1078 p_attribute3,
1079 p_attribute4,
1080 p_attribute5,
1081 p_attribute6,
1082 p_attribute7,
1083 p_attribute8,
1084 p_attribute9,
1085 p_attribute10,
1086 p_attribute11,
1087 p_attribute12,
1088 p_attribute13,
1089 p_attribute14,
1090 p_attribute15,
1091 p_attribute16,
1092 p_attribute17,
1093 p_attribute18,
1094 p_attribute19,
1095 p_attribute20,
1096 p_attribute21,
1097 p_attribute22,
1098 p_attribute23,
1099 p_attribute24,
1100 p_attribute25,
1101 p_attribute26,
1102 p_attribute27,
1103 p_attribute28,
1104 p_attribute29,
1105 p_attribute30,
1106 p_cnt_information_category,
1107 p_cnt_information1,
1108 p_cnt_information2,
1109 p_cnt_information3,
1110 p_cnt_information4,
1111 p_cnt_information5,
1112 p_cnt_information6,
1113 p_cnt_information7,
1114 p_cnt_information8,
1115 p_cnt_information9,
1116 p_cnt_information10,
1117 p_cnt_information11,
1118 p_cnt_information12,
1119 p_cnt_information13,
1120 p_cnt_information14,
1121 p_cnt_information15,
1122 p_cnt_information16,
1123 p_cnt_information17,
1124 p_cnt_information18,
1125 p_cnt_information19,
1126 p_cnt_information20,
1127 p_cnt_information21,
1128 p_cnt_information22,
1129 p_cnt_information23,
1130 p_cnt_information24,
1131 p_cnt_information25,
1132 p_cnt_information26,
1133 p_cnt_information27,
1134 p_cnt_information28,
1135 p_cnt_information29,
1136 p_cnt_information30
1137 );
1138 --
1139 -- Having converted the arguments into the
1140 -- plsql record structure we call the corresponding record
1141 -- business process.
1142 --
1143 upd(l_rec, p_effective_date, p_datetrack_mode);
1144 p_object_version_number := l_rec.object_version_number;
1145 p_effective_start_date := l_rec.effective_start_date;
1146 p_effective_end_date := l_rec.effective_end_date;
1147 --
1148 --
1149 hr_utility.set_location(' Leaving:'||l_proc, 10);
1150 End upd;
1151 --
1152 end pay_cnt_upd;