DBA Data[Home] [Help]

PACKAGE BODY: APPS.PAY_CFT_UPD

Source


1 Package Body pay_cft_upd as
2 /* $Header: pycatrhi.pkb 120.1 2005/10/05 06:44:36 saurgupt noship $ */
3 --
4 -- ----------------------------------------------------------------------------
5 -- |                     Private Global Definitions                           |
6 -- ----------------------------------------------------------------------------
7 --
8 g_package  varchar2(33)	:= '  pay_cft_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_cft_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_ca_emp_fed_tax_info_f',
78 	   p_base_key_column	=> 'emp_fed_tax_inf_id',
79 	   p_base_key_value	=> p_rec.emp_fed_tax_inf_id);
80     --
81     pay_cft_shd.g_api_dml := true;  -- Set the api dml status
82     --
83     -- Update the pay_ca_emp_fed_tax_info_f Row
84     --
85     update  pay_ca_emp_fed_tax_info_f
86     set
87         emp_fed_tax_inf_id              = p_rec.emp_fed_tax_inf_id,
88     legislation_code                = p_rec.legislation_code,
89     assignment_id                   = p_rec.assignment_id,
90     business_group_id               = p_rec.business_group_id,
91     employment_province             = p_rec.employment_province,
92     tax_credit_amount               = p_rec.tax_credit_amount,
93     claim_code                      = p_rec.claim_code,
94     basic_exemption_flag            = p_rec.basic_exemption_flag,
95     additional_tax                  = p_rec.additional_tax,
96     annual_dedn                     = p_rec.annual_dedn,
97     total_expense_by_commission     = p_rec.total_expense_by_commission,
98     total_remnrtn_by_commission     = p_rec.total_remnrtn_by_commission,
99     prescribed_zone_dedn_amt        = p_rec.prescribed_zone_dedn_amt,
100     other_fedtax_credits            = p_rec.other_fedtax_credits,
101     cpp_qpp_exempt_flag             = p_rec.cpp_qpp_exempt_flag,
102     fed_exempt_flag                 = p_rec.fed_exempt_flag,
103     ei_exempt_flag                  = p_rec.ei_exempt_flag,
104     tax_calc_method                 = p_rec.tax_calc_method,
105     fed_override_amount             = p_rec.fed_override_amount,
106     fed_override_rate               = p_rec.fed_override_rate,
107     ca_tax_information_category     = p_rec.ca_tax_information_category,
108     ca_tax_information1             = p_rec.ca_tax_information1,
109     ca_tax_information2             = p_rec.ca_tax_information2,
110     ca_tax_information3             = p_rec.ca_tax_information3,
111     ca_tax_information4             = p_rec.ca_tax_information4,
112     ca_tax_information5             = p_rec.ca_tax_information5,
113     ca_tax_information6             = p_rec.ca_tax_information6,
114     ca_tax_information7             = p_rec.ca_tax_information7,
115     ca_tax_information8             = p_rec.ca_tax_information8,
116     ca_tax_information9             = p_rec.ca_tax_information9,
117     ca_tax_information10            = p_rec.ca_tax_information10,
118     ca_tax_information11            = p_rec.ca_tax_information11,
119     ca_tax_information12            = p_rec.ca_tax_information12,
120     ca_tax_information13            = p_rec.ca_tax_information13,
121     ca_tax_information14            = p_rec.ca_tax_information14,
122     ca_tax_information15            = p_rec.ca_tax_information15,
123     ca_tax_information16            = p_rec.ca_tax_information16,
124     ca_tax_information17            = p_rec.ca_tax_information17,
125     ca_tax_information18            = p_rec.ca_tax_information18,
126     ca_tax_information19            = p_rec.ca_tax_information19,
127     ca_tax_information20            = p_rec.ca_tax_information20,
128     ca_tax_information21            = p_rec.ca_tax_information21,
129     ca_tax_information22            = p_rec.ca_tax_information22,
130     ca_tax_information23            = p_rec.ca_tax_information23,
131     ca_tax_information24            = p_rec.ca_tax_information24,
132     ca_tax_information25            = p_rec.ca_tax_information25,
133     ca_tax_information26            = p_rec.ca_tax_information26,
134     ca_tax_information27            = p_rec.ca_tax_information27,
135     ca_tax_information28            = p_rec.ca_tax_information28,
136     ca_tax_information29            = p_rec.ca_tax_information29,
137     ca_tax_information30            = p_rec.ca_tax_information30,
138     object_version_number           = p_rec.object_version_number,
139     fed_lsf_amount          	    = p_rec.fed_lsf_amount
140     where   emp_fed_tax_inf_id = p_rec.emp_fed_tax_inf_id
141     and     effective_start_date = p_validation_start_date
142     and     effective_end_date   = p_validation_end_date;
143     --
144     pay_cft_shd.g_api_dml := false;   -- Unset the api dml status
145     --
146     -- Set the effective start and end dates
147     --
148     p_rec.effective_start_date := p_validation_start_date;
149     p_rec.effective_end_date   := p_validation_end_date;
150   End If;
151 --
152 hr_utility.set_location(' Leaving:'||l_proc, 15);
153 Exception
154   When hr_api.check_integrity_violated Then
155     -- A check constraint has been violated
156     pay_cft_shd.g_api_dml := false;   -- Unset the api dml status
157     pay_cft_shd.constraint_error
158       (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
159   When hr_api.unique_integrity_violated Then
160     -- Unique integrity has been violated
161     pay_cft_shd.g_api_dml := false;   -- Unset the api dml status
162     pay_cft_shd.constraint_error
163       (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
164   When Others Then
165     pay_cft_shd.g_api_dml := false;   -- Unset the api dml status
166     Raise;
167 End dt_update_dml;
168 --
169 -- ----------------------------------------------------------------------------
170 -- |------------------------------< update_dml >------------------------------|
171 -- ----------------------------------------------------------------------------
172 -- {Start Of Comments}
173 --
174 -- Description:
175 --   This procedure calls the dt_update_dml control logic which handles
176 --   the actual datetrack dml.
177 --
178 -- Prerequisites:
179 --   This is an internal private procedure which must be called from the upd
180 --   procedure.
181 --
182 -- In Parameters:
183 --   A Pl/Sql record structre.
184 --
185 -- Post Success:
186 --   Processing contines.
187 --
188 -- Post Failure:
189 --   No specific error handling is required within this procedure.
190 --
191 -- Developer Implementation Notes:
192 --   The update 'set' arguments list should be modified if any of your
193 --   attributes are not updateable.
194 --
195 -- Access Status:
196 --   Internal Row Handler Use Only.
197 --
198 -- {End Of Comments}
199 -- ----------------------------------------------------------------------------
200 Procedure update_dml
201 	(p_rec 			 in out nocopy pay_cft_shd.g_rec_type,
202 	 p_effective_date	 in	date,
203 	 p_datetrack_mode	 in	varchar2,
204 	 p_validation_start_date in	date,
205 	 p_validation_end_date	 in	date) is
206 --
207   l_proc	varchar2(72) := g_package||'update_dml';
208 --
209 Begin
210   hr_utility.set_location('Entering:'||l_proc, 5);
211   --
212   dt_update_dml(p_rec			=> p_rec,
213 		p_effective_date	=> p_effective_date,
214 		p_datetrack_mode	=> p_datetrack_mode,
215        		p_validation_start_date	=> p_validation_start_date,
216 		p_validation_end_date	=> p_validation_end_date);
217   --
218   hr_utility.set_location(' Leaving:'||l_proc, 10);
219 End update_dml;
220 --
221 -- ----------------------------------------------------------------------------
222 -- |----------------------------< dt_pre_update >-----------------------------|
223 -- ----------------------------------------------------------------------------
224 -- {Start Of Comments}
225 --
226 -- Description:
227 --   The dt_pre_update procedure controls the execution
228 --   of dml for the datetrack modes of: UPDATE, UPDATE_OVERRIDE
229 --   and UPDATE_CHANGE_INSERT only. The execution required is as
230 --   follows:
231 --
232 --   1) Providing the datetrack update mode is not 'CORRECTION'
233 --      then set the effective end date of the current row (this
234 --      will be the validation_start_date - 1).
235 --   2) If the datetrack mode is 'UPDATE_OVERRIDE' then call the
236 --      corresponding delete_dml process to delete any future rows
237 --      where the effective_start_date is greater than or equal to
238 --	the validation_start_date.
239 --   3) Call the insert_dml process to insert the new updated row
240 --      details..
241 --
242 -- Prerequisites:
243 --   This is an internal procedure which is called from the
244 --   pre_update procedure.
245 --
246 -- In Parameters:
247 --
248 -- Post Success:
249 --   Processing continues.
250 --
251 -- Post Failure:
252 --   If an error has occurred, an error message and exception will be raised
253 --   but not handled.
254 --
255 -- Developer Implementation Notes:
256 --   This is an internal procedure which is required by Datetrack. Don't
257 --   remove or modify.
258 --
259 -- Access Status:
260 --   Internal Row Handler Use Only.
261 --
262 -- {End Of Comments}
263 -- ----------------------------------------------------------------------------
264 Procedure dt_pre_update
265 	(p_rec 			 in out	nocopy pay_cft_shd.g_rec_type,
266 	 p_effective_date	 in	date,
267 	 p_datetrack_mode	 in	varchar2,
268 	 p_validation_start_date in	date,
269 	 p_validation_end_date	 in	date) is
270 --
271   l_proc	         varchar2(72) := g_package||'dt_pre_update';
272   l_dummy_version_number number;
273 --
274 Begin
275   hr_utility.set_location('Entering:'||l_proc, 5);
276   If (p_datetrack_mode <> 'CORRECTION') then
277     hr_utility.set_location(l_proc, 10);
278     --
279     -- Update the current effective end date
280     --
281     pay_cft_shd.upd_effective_end_date
282      (p_effective_date	       => p_effective_date,
283       p_base_key_value	       => p_rec.emp_fed_tax_inf_id,
284       p_new_effective_end_date => (p_validation_start_date - 1),
285       p_validation_start_date  => p_validation_start_date,
286       p_validation_end_date    => p_validation_end_date,
287       p_object_version_number  => l_dummy_version_number);
288     --
289     If (p_datetrack_mode = 'UPDATE_OVERRIDE') then
290       hr_utility.set_location(l_proc, 15);
291       --
292       -- As the datetrack mode is 'UPDATE_OVERRIDE' then we must
293       -- delete any future rows
294       --
295       pay_cft_del.delete_dml
296         (p_rec			 => p_rec,
297 	 p_effective_date	 => p_effective_date,
298 	 p_datetrack_mode	 => p_datetrack_mode,
299 	 p_validation_start_date => p_validation_start_date,
300 	 p_validation_end_date   => p_validation_end_date);
301     End If;
302     hr_utility.set_location(l_proc, 20);
303     --
304     -- We must now insert the updated row
305     --
306     pay_cft_ins.insert_dml
307       (p_rec			=> p_rec,
308        p_effective_date		=> p_effective_date,
309        p_datetrack_mode		=> p_datetrack_mode,
310        p_validation_start_date	=> p_validation_start_date,
311        p_validation_end_date	=> p_validation_end_date);
312   End If;
313   hr_utility.set_location(' Leaving:'||l_proc, 20);
314 End dt_pre_update;
315 --
316 -- ----------------------------------------------------------------------------
317 -- |------------------------------< pre_update >------------------------------|
318 -- ----------------------------------------------------------------------------
319 -- {Start Of Comments}
320 --
321 -- Description:
322 --   This private procedure contains any processing which is required before
323 --   the update dml.
324 --
325 -- Prerequisites:
326 --   This is an internal procedure which is called from the upd procedure.
327 --
328 -- In Parameters:
329 --   A Pl/Sql record structre.
330 --
331 -- Post Success:
332 --   Processing continues.
333 --
334 -- Post Failure:
335 --   If an error has occurred, an error message and exception will be raised
336 --   but not handled.
337 --
338 -- Developer Implementation Notes:
339 --   Any pre-processing required before the update dml is issued should be
340 --   coded within this procedure. It is important to note that any 3rd party
341 --   maintenance should be reviewed before placing in this procedure. The call
342 --   to the dt_update_dml procedure should NOT be removed.
343 --
344 -- Access Status:
345 --   Internal Row Handler Use Only.
346 --
347 -- {End Of Comments}
348 -- ----------------------------------------------------------------------------
349 Procedure pre_update
350 	(p_rec 			 in out	nocopy pay_cft_shd.g_rec_type,
351 	 p_effective_date	 in	date,
352 	 p_datetrack_mode	 in	varchar2,
353 	 p_validation_start_date in	date,
354 	 p_validation_end_date	 in	date) is
355 --
356   l_proc	varchar2(72) := g_package||'pre_update';
357 --
358 Begin
359   hr_utility.set_location('Entering:'||l_proc, 5);
360   --
361   --
362   --
363   dt_pre_update
364     (p_rec 		     => p_rec,
365      p_effective_date	     => p_effective_date,
366      p_datetrack_mode	     => p_datetrack_mode,
367      p_validation_start_date => p_validation_start_date,
368      p_validation_end_date   => p_validation_end_date);
369   --
370   hr_utility.set_location(' Leaving:'||l_proc, 10);
371 End pre_update;
372 --
373 -- ----------------------------------------------------------------------------
374 -- |-----------------------------< post_update >------------------------------|
375 -- ----------------------------------------------------------------------------
376 -- {Start Of Comments}
377 --
378 -- Description:
379 --   This private procedure contains any processing which is required after the
380 --   update dml.
381 --
382 -- Prerequisites:
383 --   This is an internal procedure which is called from the upd procedure.
384 --
385 -- In Parameters:
386 --   A Pl/Sql record structre.
387 --
388 -- Post Success:
389 --   Processing continues.
390 --
391 -- Post Failure:
392 --   If an error has occurred, an error message and exception will be raised
393 --   but not handled.
394 --
395 -- Developer Implementation Notes:
396 --   Any post-processing required after the update dml is issued should be
397 --   coded within this procedure. It is important to note that any 3rd party
398 --   maintenance should be reviewed before placing in this procedure.
399 --
400 -- Access Status:
401 --   Internal Row Handler Use Only.
402 --
403 -- {End Of Comments}
404 -- ----------------------------------------------------------------------------
405 Procedure post_update
406 	(p_rec 			 in pay_cft_shd.g_rec_type,
407 	 p_effective_date	 in date,
408 	 p_datetrack_mode	 in varchar2,
409 	 p_validation_start_date in date,
410 	 p_validation_end_date	 in date) is
411 --
412   l_proc	varchar2(72) := g_package||'post_update';
413 --
414 Begin
415   hr_utility.set_location('Entering:'||l_proc, 5);
416 --
417   --
418   -- Start of API User Hook for post_update.
419   --
420 
421   begin
422     --
423     pay_cft_rku.after_update
424       (
425   p_emp_fed_tax_inf_id            =>p_rec.emp_fed_tax_inf_id
426  ,p_effective_start_date          =>p_rec.effective_start_date
427  ,p_effective_end_date            =>p_rec.effective_end_date
428  ,p_legislation_code              =>p_rec.legislation_code
429  ,p_assignment_id                 =>p_rec.assignment_id
430  ,p_business_group_id             =>p_rec.business_group_id
431  ,p_employment_province           =>p_rec.employment_province
432  ,p_tax_credit_amount             =>p_rec.tax_credit_amount
433  ,p_claim_code                    =>p_rec.claim_code
434  ,p_basic_exemption_flag          =>p_rec.basic_exemption_flag
435  ,p_additional_tax                =>p_rec.additional_tax
436  ,p_annual_dedn                   =>p_rec.annual_dedn
437  ,p_total_expense_by_commission   =>p_rec.total_expense_by_commission
438  ,p_total_remnrtn_by_commission   =>p_rec.total_remnrtn_by_commission
439  ,p_prescribed_zone_dedn_amt      =>p_rec.prescribed_zone_dedn_amt
440  ,p_other_fedtax_credits          =>p_rec.other_fedtax_credits
441  ,p_cpp_qpp_exempt_flag           =>p_rec.cpp_qpp_exempt_flag
442  ,p_fed_exempt_flag               =>p_rec.fed_exempt_flag
443  ,p_ei_exempt_flag                =>p_rec.ei_exempt_flag
444  ,p_tax_calc_method               =>p_rec.tax_calc_method
445  ,p_fed_override_amount           =>p_rec.fed_override_amount
446  ,p_fed_override_rate             =>p_rec.fed_override_rate
447  ,p_ca_tax_information_category   =>p_rec.ca_tax_information_category
448  ,p_ca_tax_information1           =>p_rec.ca_tax_information1
449  ,p_ca_tax_information2           =>p_rec.ca_tax_information2
450  ,p_ca_tax_information3           =>p_rec.ca_tax_information3
451  ,p_ca_tax_information4           =>p_rec.ca_tax_information4
452  ,p_ca_tax_information5           =>p_rec.ca_tax_information5
453  ,p_ca_tax_information6           =>p_rec.ca_tax_information6
454  ,p_ca_tax_information7           =>p_rec.ca_tax_information7
455  ,p_ca_tax_information8           =>p_rec.ca_tax_information8
456  ,p_ca_tax_information9           =>p_rec.ca_tax_information9
457  ,p_ca_tax_information10          =>p_rec.ca_tax_information10
458  ,p_ca_tax_information11          =>p_rec.ca_tax_information11
459  ,p_ca_tax_information12          =>p_rec.ca_tax_information12
460  ,p_ca_tax_information13          =>p_rec.ca_tax_information13
461  ,p_ca_tax_information14          =>p_rec.ca_tax_information14
462  ,p_ca_tax_information15          =>p_rec.ca_tax_information15
463  ,p_ca_tax_information16          =>p_rec.ca_tax_information16
464  ,p_ca_tax_information17          =>p_rec.ca_tax_information17
465  ,p_ca_tax_information18          =>p_rec.ca_tax_information18
466  ,p_ca_tax_information19          =>p_rec.ca_tax_information19
467  ,p_ca_tax_information20          =>p_rec.ca_tax_information20
468  ,p_ca_tax_information21          =>p_rec.ca_tax_information21
469  ,p_ca_tax_information22          =>p_rec.ca_tax_information22
470  ,p_ca_tax_information23          =>p_rec.ca_tax_information23
471  ,p_ca_tax_information24          =>p_rec.ca_tax_information24
472  ,p_ca_tax_information25          =>p_rec.ca_tax_information25
473  ,p_ca_tax_information26          =>p_rec.ca_tax_information26
474  ,p_ca_tax_information27          =>p_rec.ca_tax_information27
475  ,p_ca_tax_information28          =>p_rec.ca_tax_information28
476  ,p_ca_tax_information29          =>p_rec.ca_tax_information29
477  ,p_ca_tax_information30          =>p_rec.ca_tax_information30
478  ,p_object_version_number         =>p_rec.object_version_number
479  ,p_fed_lsf_amount         	  =>p_rec.fed_lsf_amount
480  ,p_effective_date                =>p_effective_date
481  ,p_datetrack_mode                =>p_datetrack_mode
482  ,p_validation_start_date         =>p_validation_start_date
483  ,p_validation_end_date           =>p_validation_end_date
484  ,p_effective_start_date_o        =>pay_cft_shd.g_old_rec.effective_start_date
485  ,p_effective_end_date_o          =>pay_cft_shd.g_old_rec.effective_end_date
486  ,p_legislation_code_o            =>pay_cft_shd.g_old_rec.legislation_code
487  ,p_assignment_id_o               =>pay_cft_shd.g_old_rec.assignment_id
488  ,p_business_group_id_o           =>pay_cft_shd.g_old_rec.business_group_id
489  ,p_employment_province_o         =>pay_cft_shd.g_old_rec.employment_province
490  ,p_tax_credit_amount_o           =>pay_cft_shd.g_old_rec.tax_credit_amount
491  ,p_claim_code_o                  =>pay_cft_shd.g_old_rec.claim_code
492  ,p_basic_exemption_flag_o        =>pay_cft_shd.g_old_rec.basic_exemption_flag
493  ,p_additional_tax_o              =>pay_cft_shd.g_old_rec.additional_tax
494  ,p_annual_dedn_o                 =>pay_cft_shd.g_old_rec.annual_dedn
495  ,p_total_expense_by_commissio_o =>pay_cft_shd.g_old_rec.total_expense_by_commission
496  ,p_total_remnrtn_by_commissio_o =>pay_cft_shd.g_old_rec.total_remnrtn_by_commission
497  ,p_prescribed_zone_dedn_amt_o    =>pay_cft_shd.g_old_rec.prescribed_zone_dedn_amt
498  ,p_other_fedtax_credits_o        =>pay_cft_shd.g_old_rec.other_fedtax_credits
499  ,p_cpp_qpp_exempt_flag_o         =>pay_cft_shd.g_old_rec.cpp_qpp_exempt_flag
500  ,p_fed_exempt_flag_o             =>pay_cft_shd.g_old_rec.fed_exempt_flag
501  ,p_ei_exempt_flag_o              =>pay_cft_shd.g_old_rec.ei_exempt_flag
502  ,p_tax_calc_method_o             =>pay_cft_shd.g_old_rec.tax_calc_method
503  ,p_fed_override_amount_o         =>pay_cft_shd.g_old_rec.fed_override_amount
504  ,p_fed_override_rate_o           =>pay_cft_shd.g_old_rec.fed_override_rate
505  ,p_ca_tax_information_categor_o =>pay_cft_shd.g_old_rec.ca_tax_information_category
506  ,p_ca_tax_information1_o         =>pay_cft_shd.g_old_rec.ca_tax_information1
507  ,p_ca_tax_information2_o         =>pay_cft_shd.g_old_rec.ca_tax_information2
508  ,p_ca_tax_information3_o         =>pay_cft_shd.g_old_rec.ca_tax_information3
509  ,p_ca_tax_information4_o         =>pay_cft_shd.g_old_rec.ca_tax_information4
510  ,p_ca_tax_information5_o         =>pay_cft_shd.g_old_rec.ca_tax_information5
511  ,p_ca_tax_information6_o         =>pay_cft_shd.g_old_rec.ca_tax_information6
512  ,p_ca_tax_information7_o         =>pay_cft_shd.g_old_rec.ca_tax_information7
513  ,p_ca_tax_information8_o         =>pay_cft_shd.g_old_rec.ca_tax_information8
514  ,p_ca_tax_information9_o         =>pay_cft_shd.g_old_rec.ca_tax_information9
515  ,p_ca_tax_information10_o        =>pay_cft_shd.g_old_rec.ca_tax_information10
516  ,p_ca_tax_information11_o        =>pay_cft_shd.g_old_rec.ca_tax_information11
517  ,p_ca_tax_information12_o        =>pay_cft_shd.g_old_rec.ca_tax_information12
518  ,p_ca_tax_information13_o        =>pay_cft_shd.g_old_rec.ca_tax_information13
519  ,p_ca_tax_information14_o        =>pay_cft_shd.g_old_rec.ca_tax_information14
520  ,p_ca_tax_information15_o        =>pay_cft_shd.g_old_rec.ca_tax_information15
521  ,p_ca_tax_information16_o        =>pay_cft_shd.g_old_rec.ca_tax_information16
522  ,p_ca_tax_information17_o        =>pay_cft_shd.g_old_rec.ca_tax_information17
523  ,p_ca_tax_information18_o        =>pay_cft_shd.g_old_rec.ca_tax_information18
524  ,p_ca_tax_information19_o        =>pay_cft_shd.g_old_rec.ca_tax_information19
525  ,p_ca_tax_information20_o        =>pay_cft_shd.g_old_rec.ca_tax_information20
526  ,p_ca_tax_information21_o        =>pay_cft_shd.g_old_rec.ca_tax_information21
527  ,p_ca_tax_information22_o        =>pay_cft_shd.g_old_rec.ca_tax_information22
528  ,p_ca_tax_information23_o        =>pay_cft_shd.g_old_rec.ca_tax_information23
529  ,p_ca_tax_information24_o        =>pay_cft_shd.g_old_rec.ca_tax_information24
530  ,p_ca_tax_information25_o        =>pay_cft_shd.g_old_rec.ca_tax_information25
531  ,p_ca_tax_information26_o        =>pay_cft_shd.g_old_rec.ca_tax_information26
532  ,p_ca_tax_information27_o        =>pay_cft_shd.g_old_rec.ca_tax_information27
533  ,p_ca_tax_information28_o        =>pay_cft_shd.g_old_rec.ca_tax_information28
534  ,p_ca_tax_information29_o        =>pay_cft_shd.g_old_rec.ca_tax_information29
535  ,p_ca_tax_information30_o        =>pay_cft_shd.g_old_rec.ca_tax_information30
536  ,p_object_version_number_o       =>pay_cft_shd.g_old_rec.object_version_number
537  ,p_fed_lsf_amount_o         	  =>pay_cft_shd.g_old_rec.fed_lsf_amount
538       );
539     --
540   exception
541     --
542     when hr_api.cannot_find_prog_unit then
543       --
544       hr_api.cannot_find_prog_unit_error
545         (p_module_name => 'pay_ca_emp_fed_tax_info_f'
546         ,p_hook_type   => 'AU');
547       --
548   end;
549 
550   --
551   -- End of API User Hook for post_update.
552   --
553   --
554   hr_utility.set_location(' Leaving:'||l_proc, 10);
555 End post_update;
556 --
557 -- ----------------------------------------------------------------------------
558 -- |-----------------------------< convert_defs >-----------------------------|
559 -- ----------------------------------------------------------------------------
560 -- {Start Of Comments}
561 --
562 -- Description:
563 --   The Convert_Defs procedure has one very important function:
564 --   It must return the record structure for the row with all system defaulted
565 --   values converted into its corresponding parameter value for update. When
566 --   we attempt to update a row through the Upd process , certain
567 --   parameters can be defaulted which enables flexibility in the calling of
568 --   the upd process (e.g. only attributes which need to be updated need to be
569 --   specified). For the upd process to determine which attributes
570 --   have NOT been specified we need to check if the parameter has a reserved
571 --   system default value. Therefore, for all parameters which have a
572 --   corresponding reserved system default mechanism specified we need to
573 --   check if a system default is being used. If a system default is being
574 --   used then we convert the defaulted value into its corresponding attribute
575 --   value held in the g_old_rec data structure.
576 --
577 -- Prerequisites:
578 --   This private function can only be called from the upd process.
579 --
580 -- In Parameters:
581 --   A Pl/Sql record structre.
582 --
583 -- Post Success:
584 --   The record structure will be returned with all system defaulted parameter
585 --   values converted into its current row attribute value.
586 --
587 -- Post Failure:
588 --   No direct error handling is required within this function. Any possible
589 --   errors within this procedure will be a PL/SQL value error due to conversion
590 --   of datatypes or data lengths.
591 --
592 -- Developer Implementation Notes:
593 --   None.
594 --
595 -- Access Status:
596 --   Internal Row Handler Use Only.
597 --
598 -- {End Of Comments}
599 -- ----------------------------------------------------------------------------
600 Procedure convert_defs(p_rec in out nocopy pay_cft_shd.g_rec_type) is
601 --
602   l_proc  varchar2(72) := g_package||'convert_defs';
603 --
604 Begin
605   --
606   hr_utility.set_location('Entering:'||l_proc, 5);
607   --
608   -- We must now examine each argument value in the
609   -- p_rec plsql record structure
610   -- to see if a system default is being used. If a system default
611   -- is being used then we must set to the 'current' argument value.
612   --
613   If (p_rec.legislation_code = hr_api.g_varchar2) then
614     p_rec.legislation_code :=
615     pay_cft_shd.g_old_rec.legislation_code;
616   End If;
617   If (p_rec.assignment_id = hr_api.g_number) then
618     p_rec.assignment_id :=
619     pay_cft_shd.g_old_rec.assignment_id;
620   End If;
621   If (p_rec.business_group_id = hr_api.g_number) then
622     p_rec.business_group_id :=
623     pay_cft_shd.g_old_rec.business_group_id;
624   End If;
625   If (p_rec.employment_province = hr_api.g_varchar2) then
626     p_rec.employment_province :=
627     pay_cft_shd.g_old_rec.employment_province;
628   End If;
629   If (p_rec.tax_credit_amount = hr_api.g_number) then
630     p_rec.tax_credit_amount :=
631     pay_cft_shd.g_old_rec.tax_credit_amount;
632   End If;
633   If (p_rec.claim_code = hr_api.g_varchar2) then
634     p_rec.claim_code :=
635     pay_cft_shd.g_old_rec.claim_code;
636   End If;
637   If (p_rec.basic_exemption_flag = hr_api.g_varchar2) then
638     p_rec.basic_exemption_flag :=
639     pay_cft_shd.g_old_rec.basic_exemption_flag;
640   End If;
641   If (p_rec.additional_tax = hr_api.g_number) then
642     p_rec.additional_tax :=
643     pay_cft_shd.g_old_rec.additional_tax;
644   End If;
645   If (p_rec.annual_dedn = hr_api.g_number) then
646     p_rec.annual_dedn :=
647     pay_cft_shd.g_old_rec.annual_dedn;
648   End If;
649   If (p_rec.total_expense_by_commission = hr_api.g_number) then
650     p_rec.total_expense_by_commission :=
651     pay_cft_shd.g_old_rec.total_expense_by_commission;
652   End If;
653   If (p_rec.total_remnrtn_by_commission = hr_api.g_number) then
654     p_rec.total_remnrtn_by_commission :=
655     pay_cft_shd.g_old_rec.total_remnrtn_by_commission;
656   End If;
657   If (p_rec.prescribed_zone_dedn_amt = hr_api.g_number) then
658     p_rec.prescribed_zone_dedn_amt :=
659     pay_cft_shd.g_old_rec.prescribed_zone_dedn_amt;
660   End If;
661   If (p_rec.other_fedtax_credits = hr_api.g_varchar2) then
662     p_rec.other_fedtax_credits :=
663     pay_cft_shd.g_old_rec.other_fedtax_credits;
664   End If;
665   If (p_rec.cpp_qpp_exempt_flag = hr_api.g_varchar2) then
666     p_rec.cpp_qpp_exempt_flag :=
667     pay_cft_shd.g_old_rec.cpp_qpp_exempt_flag;
668   End If;
669   If (p_rec.fed_exempt_flag = hr_api.g_varchar2) then
670     p_rec.fed_exempt_flag :=
671     pay_cft_shd.g_old_rec.fed_exempt_flag;
672   End If;
673   If (p_rec.ei_exempt_flag = hr_api.g_varchar2) then
674     p_rec.ei_exempt_flag :=
675     pay_cft_shd.g_old_rec.ei_exempt_flag;
676   End If;
677   If (p_rec.tax_calc_method = hr_api.g_varchar2) then
678     p_rec.tax_calc_method :=
679     pay_cft_shd.g_old_rec.tax_calc_method;
680   End If;
681   If (p_rec.fed_override_amount = hr_api.g_number) then
682     p_rec.fed_override_amount :=
683     pay_cft_shd.g_old_rec.fed_override_amount;
684   End If;
685   If (p_rec.fed_override_rate = hr_api.g_number) then
686     p_rec.fed_override_rate :=
687     pay_cft_shd.g_old_rec.fed_override_rate;
688   End If;
689   If (p_rec.ca_tax_information_category = hr_api.g_varchar2) then
690     p_rec.ca_tax_information_category :=
691     pay_cft_shd.g_old_rec.ca_tax_information_category;
692   End If;
693   If (p_rec.ca_tax_information1 = hr_api.g_varchar2) then
694     p_rec.ca_tax_information1 :=
695     pay_cft_shd.g_old_rec.ca_tax_information1;
696   End If;
697   If (p_rec.ca_tax_information2 = hr_api.g_varchar2) then
698     p_rec.ca_tax_information2 :=
699     pay_cft_shd.g_old_rec.ca_tax_information2;
700   End If;
701   If (p_rec.ca_tax_information3 = hr_api.g_varchar2) then
702     p_rec.ca_tax_information3 :=
703     pay_cft_shd.g_old_rec.ca_tax_information3;
704   End If;
705   If (p_rec.ca_tax_information4 = hr_api.g_varchar2) then
706     p_rec.ca_tax_information4 :=
707     pay_cft_shd.g_old_rec.ca_tax_information4;
708   End If;
709   If (p_rec.ca_tax_information5 = hr_api.g_varchar2) then
710     p_rec.ca_tax_information5 :=
711     pay_cft_shd.g_old_rec.ca_tax_information5;
712   End If;
713   If (p_rec.ca_tax_information6 = hr_api.g_varchar2) then
714     p_rec.ca_tax_information6 :=
715     pay_cft_shd.g_old_rec.ca_tax_information6;
716   End If;
717   If (p_rec.ca_tax_information7 = hr_api.g_varchar2) then
718     p_rec.ca_tax_information7 :=
719     pay_cft_shd.g_old_rec.ca_tax_information7;
720   End If;
721   If (p_rec.ca_tax_information8 = hr_api.g_varchar2) then
722     p_rec.ca_tax_information8 :=
723     pay_cft_shd.g_old_rec.ca_tax_information8;
724   End If;
725   If (p_rec.ca_tax_information9 = hr_api.g_varchar2) then
726     p_rec.ca_tax_information9 :=
727     pay_cft_shd.g_old_rec.ca_tax_information9;
728   End If;
729   If (p_rec.ca_tax_information10 = hr_api.g_varchar2) then
730     p_rec.ca_tax_information10 :=
731     pay_cft_shd.g_old_rec.ca_tax_information10;
732   End If;
733   If (p_rec.ca_tax_information11 = hr_api.g_varchar2) then
734     p_rec.ca_tax_information11 :=
735     pay_cft_shd.g_old_rec.ca_tax_information11;
736   End If;
737   If (p_rec.ca_tax_information12 = hr_api.g_varchar2) then
738     p_rec.ca_tax_information12 :=
739     pay_cft_shd.g_old_rec.ca_tax_information12;
740   End If;
741   If (p_rec.ca_tax_information13 = hr_api.g_varchar2) then
742     p_rec.ca_tax_information13 :=
743     pay_cft_shd.g_old_rec.ca_tax_information13;
744   End If;
745   If (p_rec.ca_tax_information14 = hr_api.g_varchar2) then
746     p_rec.ca_tax_information14 :=
747     pay_cft_shd.g_old_rec.ca_tax_information14;
748   End If;
749   If (p_rec.ca_tax_information15 = hr_api.g_varchar2) then
750     p_rec.ca_tax_information15 :=
751     pay_cft_shd.g_old_rec.ca_tax_information15;
752   End If;
753   If (p_rec.ca_tax_information16 = hr_api.g_varchar2) then
754     p_rec.ca_tax_information16 :=
755     pay_cft_shd.g_old_rec.ca_tax_information16;
756   End If;
757   If (p_rec.ca_tax_information17 = hr_api.g_varchar2) then
758     p_rec.ca_tax_information17 :=
759     pay_cft_shd.g_old_rec.ca_tax_information17;
760   End If;
761   If (p_rec.ca_tax_information18 = hr_api.g_varchar2) then
762     p_rec.ca_tax_information18 :=
763     pay_cft_shd.g_old_rec.ca_tax_information18;
764   End If;
765   If (p_rec.ca_tax_information19 = hr_api.g_varchar2) then
766     p_rec.ca_tax_information19 :=
767     pay_cft_shd.g_old_rec.ca_tax_information19;
768   End If;
769   If (p_rec.ca_tax_information20 = hr_api.g_varchar2) then
770     p_rec.ca_tax_information20 :=
771     pay_cft_shd.g_old_rec.ca_tax_information20;
772   End If;
773   If (p_rec.ca_tax_information21 = hr_api.g_varchar2) then
774     p_rec.ca_tax_information21 :=
775     pay_cft_shd.g_old_rec.ca_tax_information21;
776   End If;
777   If (p_rec.ca_tax_information22 = hr_api.g_varchar2) then
778     p_rec.ca_tax_information22 :=
779     pay_cft_shd.g_old_rec.ca_tax_information22;
780   End If;
781   If (p_rec.ca_tax_information23 = hr_api.g_varchar2) then
782     p_rec.ca_tax_information23 :=
783     pay_cft_shd.g_old_rec.ca_tax_information23;
784   End If;
785   If (p_rec.ca_tax_information24 = hr_api.g_varchar2) then
786     p_rec.ca_tax_information24 :=
787     pay_cft_shd.g_old_rec.ca_tax_information24;
788   End If;
789   If (p_rec.ca_tax_information25 = hr_api.g_varchar2) then
790     p_rec.ca_tax_information25 :=
791     pay_cft_shd.g_old_rec.ca_tax_information25;
792   End If;
793   If (p_rec.ca_tax_information26 = hr_api.g_varchar2) then
794     p_rec.ca_tax_information26 :=
795     pay_cft_shd.g_old_rec.ca_tax_information26;
796   End If;
797   If (p_rec.ca_tax_information27 = hr_api.g_varchar2) then
798     p_rec.ca_tax_information27 :=
799     pay_cft_shd.g_old_rec.ca_tax_information27;
800   End If;
801   If (p_rec.ca_tax_information28 = hr_api.g_varchar2) then
802     p_rec.ca_tax_information28 :=
803     pay_cft_shd.g_old_rec.ca_tax_information28;
804   End If;
805   If (p_rec.ca_tax_information29 = hr_api.g_varchar2) then
806     p_rec.ca_tax_information29 :=
807     pay_cft_shd.g_old_rec.ca_tax_information29;
808   End If;
809   If (p_rec.ca_tax_information30 = hr_api.g_varchar2) then
810     p_rec.ca_tax_information30 :=
811     pay_cft_shd.g_old_rec.ca_tax_information30;
812   End If;
813   If (p_rec.fed_lsf_amount = hr_api.g_number) then
814     p_rec.fed_lsf_amount :=
815     pay_cft_shd.g_old_rec.fed_lsf_amount;
816   End If;
817 
818   --
819   hr_utility.set_location(' Leaving:'||l_proc, 10);
820 --
821 End convert_defs;
822 --
823 -- ----------------------------------------------------------------------------
824 -- |---------------------------------< upd >----------------------------------|
825 -- ----------------------------------------------------------------------------
826 Procedure upd
827   (
828   p_rec			in out nocopy 	pay_cft_shd.g_rec_type,
829   p_effective_date	in 	date,
830   p_datetrack_mode	in 	varchar2
831   ) is
832 --
833   l_proc			varchar2(72) := g_package||'upd';
834   l_validation_start_date	date;
835   l_validation_end_date		date;
836 --
837 Begin
838   hr_utility.set_location('Entering:'||l_proc, 5);
839   --
840   -- Ensure that the DateTrack update mode is valid
841   --
842   dt_api.validate_dt_upd_mode(p_datetrack_mode => p_datetrack_mode);
843   --
844   -- We must lock the row which we need to update.
845   --
846   pay_cft_shd.lck
847 	(
848          p_effective_date	 => p_effective_date,
849       	 p_datetrack_mode	 => p_datetrack_mode,
850       	 p_emp_fed_tax_inf_id	 => p_rec.emp_fed_tax_inf_id,
851       	 p_object_version_number => p_rec.object_version_number,
852       	 p_validation_start_date => l_validation_start_date,
853       	 p_validation_end_date	 => l_validation_end_date);
854   --
855   -- 1. During an update system defaults are used to determine if
856   --    arguments have been defaulted or not. We must therefore
857   --    derive the full record structure values to be updated.
858   --
859   -- 2. Call the supporting update validate operations.
860   --
861   convert_defs(p_rec);
862   pay_cft_bus.update_validate
863 	(p_rec			 => p_rec,
864 	 p_effective_date	 => p_effective_date,
865 	 p_datetrack_mode  	 => p_datetrack_mode,
866 	 p_validation_start_date => l_validation_start_date,
867 	 p_validation_end_date	 => l_validation_end_date);
868   --
869   -- Call the supporting pre-update operation
870   --
871   pre_update
872 	(p_rec			 => p_rec,
873 	 p_effective_date	 => p_effective_date,
874 	 p_datetrack_mode	 => p_datetrack_mode,
875 	 p_validation_start_date => l_validation_start_date,
876 	 p_validation_end_date	 => l_validation_end_date);
877   --
878   -- Update the row.
879   --
880   update_dml
881 	(p_rec			 => p_rec,
882 	 p_effective_date	 => p_effective_date,
883 	 p_datetrack_mode	 => p_datetrack_mode,
884 	 p_validation_start_date => l_validation_start_date,
885 	 p_validation_end_date	 => l_validation_end_date);
886   --
887   -- Call the supporting post-update operation
888   --
889 /*
890    post_update
891 	(p_rec			 => p_rec,
892 	 p_effective_date	 => p_effective_date,
893 	 p_datetrack_mode	 => p_datetrack_mode,
894 	 p_validation_start_date => l_validation_start_date,
895 	 p_validation_end_date	 => l_validation_end_date);
896 */
897 End upd;
898 --
899 -- ----------------------------------------------------------------------------
900 -- |---------------------------------< upd >----------------------------------|
901 -- ----------------------------------------------------------------------------
902 Procedure upd
903   (
904   p_emp_fed_tax_inf_id           in number,
905   p_effective_start_date         out nocopy date,
906   p_effective_end_date           out nocopy date,
907   p_legislation_code             in varchar2         default hr_api.g_varchar2,
908   p_assignment_id                in number           default hr_api.g_number,
909   p_business_group_id            in number           default hr_api.g_number,
910   p_employment_province          in varchar2         default hr_api.g_varchar2,
911   p_tax_credit_amount            in number           default hr_api.g_number,
912   p_claim_code                   in varchar2         default hr_api.g_varchar2,
913   p_basic_exemption_flag         in varchar2         default hr_api.g_varchar2,
914   p_additional_tax               in number           default hr_api.g_number,
915   p_annual_dedn                  in number           default hr_api.g_number,
916   p_total_expense_by_commission  in number           default hr_api.g_number,
917   p_total_remnrtn_by_commission  in number           default hr_api.g_number,
918   p_prescribed_zone_dedn_amt     in number           default hr_api.g_number,
919   p_other_fedtax_credits         in varchar2         default hr_api.g_varchar2,
920   p_cpp_qpp_exempt_flag          in varchar2         default hr_api.g_varchar2,
921   p_fed_exempt_flag              in varchar2         default hr_api.g_varchar2,
922   p_ei_exempt_flag               in varchar2         default hr_api.g_varchar2,
923   p_tax_calc_method              in varchar2         default hr_api.g_varchar2,
924   p_fed_override_amount          in number           default hr_api.g_number,
925   p_fed_override_rate            in number           default hr_api.g_number,
926   p_ca_tax_information_category  in varchar2         default hr_api.g_varchar2,
927   p_ca_tax_information1          in varchar2         default hr_api.g_varchar2,
928   p_ca_tax_information2          in varchar2         default hr_api.g_varchar2,
929   p_ca_tax_information3          in varchar2         default hr_api.g_varchar2,
930   p_ca_tax_information4          in varchar2         default hr_api.g_varchar2,
931   p_ca_tax_information5          in varchar2         default hr_api.g_varchar2,
932   p_ca_tax_information6          in varchar2         default hr_api.g_varchar2,
933   p_ca_tax_information7          in varchar2         default hr_api.g_varchar2,
934   p_ca_tax_information8          in varchar2         default hr_api.g_varchar2,
935   p_ca_tax_information9          in varchar2         default hr_api.g_varchar2,
936   p_ca_tax_information10         in varchar2         default hr_api.g_varchar2,
937   p_ca_tax_information11         in varchar2         default hr_api.g_varchar2,
938   p_ca_tax_information12         in varchar2         default hr_api.g_varchar2,
939   p_ca_tax_information13         in varchar2         default hr_api.g_varchar2,
940   p_ca_tax_information14         in varchar2         default hr_api.g_varchar2,
941   p_ca_tax_information15         in varchar2         default hr_api.g_varchar2,
942   p_ca_tax_information16         in varchar2         default hr_api.g_varchar2,
943   p_ca_tax_information17         in varchar2         default hr_api.g_varchar2,
944   p_ca_tax_information18         in varchar2         default hr_api.g_varchar2,
945   p_ca_tax_information19         in varchar2         default hr_api.g_varchar2,
946   p_ca_tax_information20         in varchar2         default hr_api.g_varchar2,
947   p_ca_tax_information21         in varchar2         default hr_api.g_varchar2,
948   p_ca_tax_information22         in varchar2         default hr_api.g_varchar2,
949   p_ca_tax_information23         in varchar2         default hr_api.g_varchar2,
950   p_ca_tax_information24         in varchar2         default hr_api.g_varchar2,
951   p_ca_tax_information25         in varchar2         default hr_api.g_varchar2,
952   p_ca_tax_information26         in varchar2         default hr_api.g_varchar2,
953   p_ca_tax_information27         in varchar2         default hr_api.g_varchar2,
954   p_ca_tax_information28         in varchar2         default hr_api.g_varchar2,
955   p_ca_tax_information29         in varchar2         default hr_api.g_varchar2,
956   p_ca_tax_information30         in varchar2         default hr_api.g_varchar2,
957   p_object_version_number        in out nocopy number,
958   p_fed_lsf_amount            	 in number           default hr_api.g_number,
959   p_effective_date		 in date,
960   p_datetrack_mode		 in varchar2
961   ) is
962 --
963   l_rec		pay_cft_shd.g_rec_type;
964   l_proc	varchar2(72) := g_package||'upd';
965 --
966 Begin
967   hr_utility.set_location('Entering:'||l_proc, 5);
968   --
969   -- Call conversion function to turn arguments into the
970   -- l_rec structure.
971   --
972   l_rec :=
973   pay_cft_shd.convert_args
974   (
975   p_emp_fed_tax_inf_id,
976   null,
977   null,
978   p_legislation_code,
979   p_assignment_id,
980   p_business_group_id,
981   p_employment_province,
982   p_tax_credit_amount,
983   p_claim_code,
984   p_basic_exemption_flag,
985   p_additional_tax,
986   p_annual_dedn,
987   p_total_expense_by_commission,
988   p_total_remnrtn_by_commission,
989   p_prescribed_zone_dedn_amt,
990   p_other_fedtax_credits,
991   p_cpp_qpp_exempt_flag,
992   p_fed_exempt_flag,
993   p_ei_exempt_flag,
994   p_tax_calc_method,
995   p_fed_override_amount,
996   p_fed_override_rate,
997   p_ca_tax_information_category,
998   p_ca_tax_information1,
999   p_ca_tax_information2,
1000   p_ca_tax_information3,
1001   p_ca_tax_information4,
1002   p_ca_tax_information5,
1003   p_ca_tax_information6,
1004   p_ca_tax_information7,
1005   p_ca_tax_information8,
1006   p_ca_tax_information9,
1007   p_ca_tax_information10,
1008   p_ca_tax_information11,
1009   p_ca_tax_information12,
1010   p_ca_tax_information13,
1011   p_ca_tax_information14,
1012   p_ca_tax_information15,
1013   p_ca_tax_information16,
1014   p_ca_tax_information17,
1015   p_ca_tax_information18,
1016   p_ca_tax_information19,
1017   p_ca_tax_information20,
1018   p_ca_tax_information21,
1019   p_ca_tax_information22,
1020   p_ca_tax_information23,
1021   p_ca_tax_information24,
1022   p_ca_tax_information25,
1023   p_ca_tax_information26,
1024   p_ca_tax_information27,
1025   p_ca_tax_information28,
1026   p_ca_tax_information29,
1027   p_ca_tax_information30,
1028   p_object_version_number,
1029   p_fed_lsf_amount
1030   );
1031   --
1032   -- Having converted the arguments into the
1033   -- plsql record structure we call the corresponding record
1034   -- business process.
1035   --
1036   upd(l_rec, p_effective_date, p_datetrack_mode);
1037   p_object_version_number       := l_rec.object_version_number;
1038   p_effective_start_date        := l_rec.effective_start_date;
1039   p_effective_end_date          := l_rec.effective_end_date;
1040   --
1041   --
1042   hr_utility.set_location(' Leaving:'||l_proc, 10);
1043 End upd;
1044 --
1045 end pay_cft_upd;