220: -- Type : PROCEDURE --
221: -- Access : Private --
222: -- Description : This procedure is used to archive accrual details --
223: -- for a given assignment_action_id. --
224: -- It calls per_accrual_calc_functions.get_net_accrual --
225: -- to get the net_accrual for the given assignment_id --
226: -- --
227: -- Parameters : --
228: -- IN : p_payroll_action_id NUMBER --
335: -- Call to get annual leave balance
336:
337: hr_utility.set_location('Archiving Annual leave Balance information',30);
338:
339: per_accrual_calc_functions.get_net_accrual
340: (
341: p_assignment_id => p_assignment_id -- number in
342: ,p_plan_id => l_accrual_plan_id -- number in
343: ,p_payroll_id => l_payroll_id -- number in
359:
360:
361: hr_utility.set_location('Archiving Leave Taken information',40);
362:
363: l_leave_taken := per_accrual_calc_functions.get_absence
364: (
365: p_assignment_id
366: ,l_accrual_plan_id
367: ,p_period_end_date