DBA Data[Home] [Help]

APPS.PER_ZA_PTO_ACCRUAL_PERIOD dependencies on PER_ACCRUAL_CALC_FUNCTIONS

Line 140: l_Left_Over := per_accrual_calc_functions.GET_CARRY_OVER(p_Assignment_id, p_Plan_id, (l_last_end_period + 1), l_last_start_period) +

136: l_Years_Service := Floor(Months_Between(l_calculation_year,l_CSDate) / 12);
137:
138: IF ((l_Years_Service > 0) and (l_six_month_current >= l_Last_Period_ED)) THEN
139: hr_utility.trace('Before Six Month');
140: l_Left_Over := per_accrual_calc_functions.GET_CARRY_OVER(p_Assignment_id, p_Plan_id, (l_last_end_period + 1), l_last_start_period) +
141: per_accrual_calc_functions.GET_OTHER_NET_CONTRIBUTION(p_Assignment_id, p_Plan_id, (l_last_end_period + 1), l_last_start_period) -
142: per_accrual_calc_functions.GET_ABSENCE(p_Assignment_id, p_Plan_id, l_last_end_period, l_last_start_period);
143:
144: IF l_Left_Over < 0 THEN

Line 141: per_accrual_calc_functions.GET_OTHER_NET_CONTRIBUTION(p_Assignment_id, p_Plan_id, (l_last_end_period + 1), l_last_start_period) -

137:
138: IF ((l_Years_Service > 0) and (l_six_month_current >= l_Last_Period_ED)) THEN
139: hr_utility.trace('Before Six Month');
140: l_Left_Over := per_accrual_calc_functions.GET_CARRY_OVER(p_Assignment_id, p_Plan_id, (l_last_end_period + 1), l_last_start_period) +
141: per_accrual_calc_functions.GET_OTHER_NET_CONTRIBUTION(p_Assignment_id, p_Plan_id, (l_last_end_period + 1), l_last_start_period) -
142: per_accrual_calc_functions.GET_ABSENCE(p_Assignment_id, p_Plan_id, l_last_end_period, l_last_start_period);
143:
144: IF l_Left_Over < 0 THEN
145: l_Left_Over := 0;

Line 142: per_accrual_calc_functions.GET_ABSENCE(p_Assignment_id, p_Plan_id, l_last_end_period, l_last_start_period);

138: IF ((l_Years_Service > 0) and (l_six_month_current >= l_Last_Period_ED)) THEN
139: hr_utility.trace('Before Six Month');
140: l_Left_Over := per_accrual_calc_functions.GET_CARRY_OVER(p_Assignment_id, p_Plan_id, (l_last_end_period + 1), l_last_start_period) +
141: per_accrual_calc_functions.GET_OTHER_NET_CONTRIBUTION(p_Assignment_id, p_Plan_id, (l_last_end_period + 1), l_last_start_period) -
142: per_accrual_calc_functions.GET_ABSENCE(p_Assignment_id, p_Plan_id, l_last_end_period, l_last_start_period);
143:
144: IF l_Left_Over < 0 THEN
145: l_Left_Over := 0;
146: END IF;

Line 204: l_Absence := per_accrual_calc_functions.GET_ABSENCE(p_Assignment_id, p_Plan_id, l_Period_ED, l_Beginning_Calc_Year_SD);

200:
201: l_Period_Accrued_PTO := l_Accrual_Rate;
202:
203: /* Extract any absence, carry over etc for the year in question */
204: l_Absence := per_accrual_calc_functions.GET_ABSENCE(p_Assignment_id, p_Plan_id, l_Period_ED, l_Beginning_Calc_Year_SD);
205:
206: /* - P.Vaish - Set for Bug No. - 2266289 - */
207: l_CarryOver := l_Left_Over;
208: l_Other := per_accrual_calc_functions.GET_OTHER_NET_CONTRIBUTION(p_Assignment_id, p_Plan_id, l_Period_ED, l_Beginning_Calc_Year_SD);

Line 208: l_Other := per_accrual_calc_functions.GET_OTHER_NET_CONTRIBUTION(p_Assignment_id, p_Plan_id, l_Period_ED, l_Beginning_Calc_Year_SD);

204: l_Absence := per_accrual_calc_functions.GET_ABSENCE(p_Assignment_id, p_Plan_id, l_Period_ED, l_Beginning_Calc_Year_SD);
205:
206: /* - P.Vaish - Set for Bug No. - 2266289 - */
207: l_CarryOver := l_Left_Over;
208: l_Other := per_accrual_calc_functions.GET_OTHER_NET_CONTRIBUTION(p_Assignment_id, p_Plan_id, l_Period_ED, l_Beginning_Calc_Year_SD);
209: l_Period_Others := l_CarryOver + l_Other - l_Absence;
210: l_Net_PTO := l_Total_Accrued_PTO + l_Period_Accrued_PTO + l_Period_Others;
211:
212: /* Only accrue if PTO < CEILING */

Line 356: per_accrual_calc_functions.Get_Net_Accrual (

352: /*l_effective_date2 := l_effective_date + 1;
353:
354: -- Get total accrual on above date, it will only return non-zero where the
355: -- carry over runs for a ZA HRMS "Semi-annual" leave cycle anniversary
356: per_accrual_calc_functions.Get_Net_Accrual (
357: P_Assignment_ID => p_assignment_id
358: ,P_Plan_ID => p_plan_id
359: ,P_Payroll_ID => l_payroll_id
360: ,P_Business_Group_ID => p_business_group_id

Line 399: l_carryover_pre := per_accrual_calc_functions.get_carry_over

395: -- Bug 4293298 in case net entitlement is -ve and the carryover process is not for the
396: -- end of the annual accrual period.
397: l_carryover := 0;
398: --get the carryover in the previous half of the accrual year
399: l_carryover_pre := per_accrual_calc_functions.get_carry_over
400: (
401: p_assignment_id => p_assignment_id,
402: p_plan_id => p_plan_id,
403: p_start_date => (l_effective_date-30),

Line 423: per_accrual_calc_functions.Get_Net_Accrual (

419: l_effective_date2 := l_effective_date + 1;
420:
421: -- Get total accrual on above date, it will only return non-zero where the
422: -- carry over runs for a ZA HRMS "Semi-annual" leave cycle anniversary
423: per_accrual_calc_functions.Get_Net_Accrual (
424: P_Assignment_ID => p_assignment_id
425: ,P_Plan_ID => p_plan_id
426: ,P_Payroll_ID => l_payroll_id
427: ,P_Business_Group_ID => p_business_group_id

Line 446: l_other2 := per_accrual_calc_functions.Get_Other_Net_Contribution(

442: l_Beginning_Calc_Year := per_formula_functions.get_date('BEGINNING_OF_CALCULATION_YEAR');
443:
444: IF to_char(l_effective_date + 1,'MM') <> to_char(l_Beginning_Calc_Year,'MM') THEN
445: hr_utility.set_location(l_proc, 15);
446: l_other2 := per_accrual_calc_functions.Get_Other_Net_Contribution(
447: P_Assignment_ID => p_assignment_id
448: ,P_Plan_ID => p_plan_id
449: ,p_start_date => l_start_date
450: ,p_calculation_date => l_end_date