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 431: per_accrual_calc_functions.Get_Net_Accrual (

427: /*l_effective_date2 := l_effective_date + 1;
428:
429: -- Get total accrual on above date, it will only return non-zero where the
430: -- carry over runs for a ZA HRMS "Semi-annual" leave cycle anniversary
431: per_accrual_calc_functions.Get_Net_Accrual (
432: P_Assignment_ID => p_assignment_id
433: ,P_Plan_ID => p_plan_id
434: ,P_Payroll_ID => l_payroll_id
435: ,P_Business_Group_ID => p_business_group_id

Line 474: l_carryover_pre := per_accrual_calc_functions.get_carry_over

470: -- Bug 4293298 in case net entitlement is -ve and the carryover process is not for the
471: -- end of the annual accrual period.
472: l_carryover := 0;
473: --get the carryover in the previous half of the accrual year
474: l_carryover_pre := per_accrual_calc_functions.get_carry_over
475: (
476: p_assignment_id => p_assignment_id,
477: p_plan_id => p_plan_id,
478: p_start_date => (l_effective_date-30),

Line 498: per_accrual_calc_functions.Get_Net_Accrual (

494: l_effective_date2 := l_effective_date + 1;
495:
496: -- Get total accrual on above date, it will only return non-zero where the
497: -- carry over runs for a ZA HRMS "Semi-annual" leave cycle anniversary
498: per_accrual_calc_functions.Get_Net_Accrual (
499: P_Assignment_ID => p_assignment_id
500: ,P_Plan_ID => p_plan_id
501: ,P_Payroll_ID => l_payroll_id
502: ,P_Business_Group_ID => p_business_group_id

Line 521: l_other2 := per_accrual_calc_functions.Get_Other_Net_Contribution(

517: l_Beginning_Calc_Year := per_formula_functions.get_date('BEGINNING_OF_CALCULATION_YEAR');
518:
519: IF to_char(l_effective_date + 1,'MM') <> to_char(l_Beginning_Calc_Year,'MM') THEN
520: hr_utility.set_location(l_proc, 15);
521: l_other2 := per_accrual_calc_functions.Get_Other_Net_Contribution(
522: P_Assignment_ID => p_assignment_id
523: ,P_Plan_ID => p_plan_id
524: ,p_start_date => l_start_date
525: ,p_calculation_date => l_end_date