SlideShare a Scribd company logo
How to Setup up Leave Accrual Plan 
Accrual Plan: 
Oracle Provides Accrual plan Functionality for calculating leaves balance calculation and Balance Carry Over 
calculations 
The following points should be taken into consideration for calculation Balances 
1. Opening Balance : - 
Some of the Organization Provides Yearly opening balance to employee. We need to store these opening balances in 
an Element 
2. Leave Adjustment: - 
There are cases in which adjustments are made because of redundancies in calculation of leave balance. In such 
cases we need to store these adjustments in an element and make the use of the same. 
3. Leave Encashment: 
Organizations provide policy for encashment of leave when Leave balance exceeds a given amount. In order to 
capture these details, we need to have an element for the same 
How to Setup Leave Accruals 
1) Create New Element for Opening Balance 
Navigation: HRMS Super User à Total Compensation à Basic à Element Description 
2) Create New Element for Adjustment Days 
Navigation: HRMS Super User à Total Compensation à Basic à Element Description 
3) Create New Element for Leave Encashment 
Navigation: HRMS Super User à Total Compensation à Basic à Element Description
4) Create Link for all the three Elements created Above 
Navigation: HRMS Super User à Total Compensation à Basic à Link 
5) Define Accrual Plan 
Navigation: HRMS Super User à Total Compensation à Basic à Accrual Plan 
6) Go to Accrual Bands to define the No of Leaves employee could avail during the Year 
7) Go to Net Accrual Calculations to record the leave calculation
8) When one creates an accrual plan, system automatically generate below said elements and their corresponding links 
too (Create Links Manually if not created Automatically) 
· Vacation Leave Plan 
· Vacation Leave Plan Carried Over 
· Vacation Leave Plan Payroll Balance 
· Vacation Leave Plan Residual 
· Vacation Leave Plan Tagging 
9) Register Employee with the Accrual Plan 
Navigation: HRMS Super User à People à Enter &Maintain à Search for an 
Employee à Assignment à Entries à Add “Vacation Leave Plan” on Effective Date 
10) How to View Employee Accruals 
Navigation: HRMS Super User à Fastpath à Accruals
Now in the Above Scenario we are using the seeded Formula “PTO_PAYROLL_CALCULATION”, this would 
calculate as per the accrual bands set for the said duration of Service. 
Requirements could vary as per each of the clients; we have created a scenario wherein we would be taking the 
Accruals as per the contract type of the employee 
1. The Total Accruals are stored in User Tables 
Navigation: HRMS Super User à Other Definitions à Table Structure / Table Values 
2. Create New Function which would return, Leaves Accrued as on Effective Date 
CREATE OR REPLACE FUNCTIONAPPS.xxx_get_leave_accrual_f ( 
p_business_group_id NUMBER, 
p_assignment_id VARCHAR2, 
p_calculation_date DATE, 
p_contract_start_date OUT DATE, 
p_contract_end_date OUT DATE 
) 
RETURN NUMBER 
AS 
l_err_msg VARCHAR2 (500) := NULL; 
l_person_id NUMBER := NULL; 
l_hire_date DATE := NULL; 
l_nationality VARCHAR2 (250) := NULL; 
l_contract_type VARCHAR2 (250) := NULL; 
l_yearly_accrual NUMBER := NULL; 
l_per_day_accrual NUMBER := NULL; 
l_accrual_start_date DATE := NULL; 
l_calc_start_date DATE := NULL; 
l_accrual_total_days NUMBER := NULL; 
l_net_accrual NUMBER := 0; 
BEGIN 
BEGIN 
SELECT per.person_id, 
NVL (
hr_general.decode_lookup('NATIONALITY', per.nationality), 
'XX' 
) 
nationality, 
pps.date_start hire_date, 
ppg.segment6 contract_type 
INTO l_person_id, 
l_nationality, 
l_hire_date, 
l_contract_type 
FROM per_all_people_f per, 
per_all_assignments_f paaf, 
per_periods_of_service pps, 
pay_people_groups ppg 
WHERE per.person_id = paaf.person_id 
AND per.person_type_id IN (1126,1127) 
AND paaf.assignment_type = 'E' 
AND paaf.assignment_status_type_idIN (1, 2) 
AND paaf.primary_flag = 'Y' 
AND paaf.business_group_id =p_business_group_id 
AND paaf.period_of_service_id =pps.period_of_service_id 
AND p_calculation_date BETWEENper.effective_start_date 
AND per.effective_end_date 
AND p_calculation_date BETWEENpaaf.effective_start_date 
AND paaf.effective_end_date 
AND paaf.assignment_id =p_assignment_id 
AND paaf.people_group_id =ppg.people_group_id; 
EXCEPTION 
WHEN OTHERS 
THEN 
l_err_msg := SQLERRM; 
debug_script_p ('Exception - Employee Details: ' || l_err_msg); 
END; 
IF l_contract_type IS NOT NULL 
THEN 
SELECT hruserdt.get_table_value(p_business_group_id, 
'Leave Accruals', 
'Vacation Leave', 
l_contract_type, 
p_calculation_date) 
INTO l_yearly_accrual 
FROM DUAL; 
END IF; 
l_per_day_accrual := ROUND ( (l_yearly_accrual/ 360), 3); 
l_accrual_start_date := 
TO_DATE ('01-JAN-' || TO_CHAR(p_calculation_date, 'YYYY'), 
'DD-MON-YYYY'); 
IF l_accrual_start_date > l_hire_date 
THEN 
l_calc_start_date := l_accrual_start_date; 
ELSE
l_calc_start_date := l_hire_date; 
END IF; 
l_accrual_total_days := p_calculation_date -l_accrual_start_date; 
l_net_accrual := ROUND (l_accrual_total_days * l_per_day_accrual, 0); 
p_contract_start_date := l_hire_date; 
p_contract_end_date := TO_DATE ('31-DEC-4312','DD-MON-YYYY'); 
RETURN l_net_accrual; 
EXCEPTION 
WHEN OTHERS 
THEN 
RETURN 0; 
END; 
/ 
3. Define the above create Function in the System as “Database Function” 
Navigation: HRMS Super User à Other Definitions àFormula Function 
Define the Context Usage Parameters & Actual Parameters used in SQL Function 
4. Define Fast Formula 
Navigation: HRMS Super User à Total Compensation àWrite Formula 
/* 
CREATED BY : BIJOY JOSEPH 
PURPOSE : CALCULATE ACCRUAL PLAN 
CREATION DATE : 01-MAY-2013 
*/ 
ALIAS ASG_GRADE AS GRADE 
ALIAS ASG_EMPLOYMENT_CATEGORY AS EMP_CAT 
/* DEFAULT SECTION */ 
DEFAULT FOR LRATE IS '0'
DEFAULT FOR GNONQAT IS '0' 
DEFAULT FOR GQAT IS '0' 
DEFAULT FOR BGROUP IS 'NOT ENTERED' 
DEFAULT FOR EMP_CAT IS ' ' 
DEFAULT FOR ASG_GRADE IS 'NOT ENTERED' 
DEFAULT FOR ASG_NUMBER IS '0' 
DEFAULT FOR ACCRUAL_PLAN_ID IS 0 
DEFAULT FOR EMP_HIRE_DATE IS '01-JAN-0001' (DATE) 
DEFAULT FOR EMP_TERM_DATE IS '01-JAN-0001' (DATE) 
DEFAULT FOR CALCULATION_DATE IS '02-JAN-0001' (DATE) 
DEFAULT FOR SYSDATE IS '01-jan-0001'(DATE) 
DEFAULT FOR SUS_DATE IS '01-jan-0001'(DATE) 
DEFAULT FOR SESSION_DATE IS '01-jan-0001'(DATE) 
DEFAULT FOR YEAR_START IS '01-jan-0001'(DATE) 
/* INPUT SECTION */ 
INPUTS ARE CALCULATION_DATE (DATE) 
ACCRUAL_DAYS=0 
L_CONTRACT_SD ='0001/01/01 00:00:00'(DATE) 
L_CONTRACT_ED ='0001/01/01 00:00:00'(DATE) 
ACCRUAL_DAYS = 
AQS_GET_LEAVE_ACCRUALS(CALCULATION_DATE,L_CONTRACT_SD,L_CONTRACT_ED) 
EFFECTIVE_START_DATE = GREATEST(EMP_HIRE_DATE, L_CONTRACT_SD) 
IF (EMP_TERM_DATE WAS DEFAULTED ) THEN 
( 
EFFECTIVE_END_DATE = L_CONTRACT_ED 
) 
ELSE 
( 
EFFECTIVE_END_DATE = EMP_TERM_DATE 
) 
EFFECTIVE_END_DATE = LEAST(EFFECTIVE_END_DATE,L_CONTRACT_ED) 
ACCRUAL_END_DATE = CALCULATION_DATE 
TOTAL_ACCRUED_PTO = ROUND(ACCRUAL_DAYS,0 
) 
RETURN TOTAL_ACCRUED_PTO, 
EFFECTIVE_START_DATE, 
EFFECTIVE_END_DATE, 
ACCRUAL_END_DATE 
5. Attach the Accrual Formula to the corresponding PLAN and test various scenarios

More Related Content

What's hot

Oracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manualOracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manual
Feras Ahmad
 
Oracle ebs otl setup document
Oracle ebs otl setup documentOracle ebs otl setup document
Oracle ebs otl setup document
Feras Ahmad
 
Oracle EBS HRMS SETUP
Oracle EBS HRMS SETUPOracle EBS HRMS SETUP
Oracle EBS HRMS SETUP
Hussain Abbas
 
Oracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manualOracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manual
Feras Ahmad
 
Payroll process in oracle hrms
Payroll process in oracle hrmsPayroll process in oracle hrms
Payroll process in oracle hrms
Faisal Anwar
 
Calendar working days and holidays for Oracle EBS R12 Absence management
Calendar working days and holidays for Oracle EBS R12 Absence managementCalendar working days and holidays for Oracle EBS R12 Absence management
Calendar working days and holidays for Oracle EBS R12 Absence management
Feras Ahmad
 
Oracle HRMS Document R12.
Oracle HRMS Document R12.Oracle HRMS Document R12.
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewChris Martin
 
Recruitment process through core hr
Recruitment process through core hrRecruitment process through core hr
Recruitment process through core hr
Feras Ahmad
 
Oracle HRMS Fast Formula
Oracle HRMS Fast FormulaOracle HRMS Fast Formula
Oracle HRMS Fast Formula
runjithrocking
 
Setup Oracle EBS R12 Performance Management
Setup Oracle EBS R12 Performance ManagementSetup Oracle EBS R12 Performance Management
Setup Oracle EBS R12 Performance Management
Feras Ahmad
 
Almost everything-you-wanted-to-know-about-pto
Almost everything-you-wanted-to-know-about-ptoAlmost everything-you-wanted-to-know-about-pto
Almost everything-you-wanted-to-know-about-pto
Mayadevi Gopi
 
Fast formula in Fusion Cloud HCM
Fast formula in Fusion Cloud HCMFast formula in Fusion Cloud HCM
Fast formula in Fusion Cloud HCM
Feras Ahmad
 
Fast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packagesFast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packages
Feras Ahmad
 
32 payroll setup_part_32_(skylark_group_pvt_ltd)
32 payroll setup_part_32_(skylark_group_pvt_ltd)32 payroll setup_part_32_(skylark_group_pvt_ltd)
32 payroll setup_part_32_(skylark_group_pvt_ltd)
Oracle HRMS Functional Consultant
 
Oracle Core HR with Screen Shots
Oracle Core HR with Screen ShotsOracle Core HR with Screen Shots
Oracle Core HR with Screen Shots
runjithrocking
 
Uae absence whitepaper
Uae absence whitepaperUae absence whitepaper
Uae absence whitepaper
Srinivasan Narayanan
 
Oracle Retro pay by element
Oracle Retro pay by elementOracle Retro pay by element
Oracle Retro pay by element
runjithrocking
 
Training Guide Oracle EBS R12 Performance Management
Training Guide Oracle EBS R12 Performance ManagementTraining Guide Oracle EBS R12 Performance Management
Training Guide Oracle EBS R12 Performance Management
Feras Ahmad
 
How to debug a fast formula
How to debug a fast formulaHow to debug a fast formula
How to debug a fast formula
Feras Ahmad
 

What's hot (20)

Oracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manualOracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manual
 
Oracle ebs otl setup document
Oracle ebs otl setup documentOracle ebs otl setup document
Oracle ebs otl setup document
 
Oracle EBS HRMS SETUP
Oracle EBS HRMS SETUPOracle EBS HRMS SETUP
Oracle EBS HRMS SETUP
 
Oracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manualOracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manual
 
Payroll process in oracle hrms
Payroll process in oracle hrmsPayroll process in oracle hrms
Payroll process in oracle hrms
 
Calendar working days and holidays for Oracle EBS R12 Absence management
Calendar working days and holidays for Oracle EBS R12 Absence managementCalendar working days and holidays for Oracle EBS R12 Absence management
Calendar working days and holidays for Oracle EBS R12 Absence management
 
Oracle HRMS Document R12.
Oracle HRMS Document R12.Oracle HRMS Document R12.
Oracle HRMS Document R12.
 
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table Overview
 
Recruitment process through core hr
Recruitment process through core hrRecruitment process through core hr
Recruitment process through core hr
 
Oracle HRMS Fast Formula
Oracle HRMS Fast FormulaOracle HRMS Fast Formula
Oracle HRMS Fast Formula
 
Setup Oracle EBS R12 Performance Management
Setup Oracle EBS R12 Performance ManagementSetup Oracle EBS R12 Performance Management
Setup Oracle EBS R12 Performance Management
 
Almost everything-you-wanted-to-know-about-pto
Almost everything-you-wanted-to-know-about-ptoAlmost everything-you-wanted-to-know-about-pto
Almost everything-you-wanted-to-know-about-pto
 
Fast formula in Fusion Cloud HCM
Fast formula in Fusion Cloud HCMFast formula in Fusion Cloud HCM
Fast formula in Fusion Cloud HCM
 
Fast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packagesFast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packages
 
32 payroll setup_part_32_(skylark_group_pvt_ltd)
32 payroll setup_part_32_(skylark_group_pvt_ltd)32 payroll setup_part_32_(skylark_group_pvt_ltd)
32 payroll setup_part_32_(skylark_group_pvt_ltd)
 
Oracle Core HR with Screen Shots
Oracle Core HR with Screen ShotsOracle Core HR with Screen Shots
Oracle Core HR with Screen Shots
 
Uae absence whitepaper
Uae absence whitepaperUae absence whitepaper
Uae absence whitepaper
 
Oracle Retro pay by element
Oracle Retro pay by elementOracle Retro pay by element
Oracle Retro pay by element
 
Training Guide Oracle EBS R12 Performance Management
Training Guide Oracle EBS R12 Performance ManagementTraining Guide Oracle EBS R12 Performance Management
Training Guide Oracle EBS R12 Performance Management
 
How to debug a fast formula
How to debug a fast formulaHow to debug a fast formula
How to debug a fast formula
 

Viewers also liked

Oracle hrms PTO
Oracle hrms PTOOracle hrms PTO
Oracle hrms PTO
yuyanshengui
 
Absence Management Presentation
Absence Management PresentationAbsence Management Presentation
Absence Management PresentationRichHughes
 
Payroll process oracle hrms
Payroll process oracle hrmsPayroll process oracle hrms
Payroll process oracle hrmsShaju Shana
 
Time And Labor Overview
Time And Labor OverviewTime And Labor Overview
Time And Labor Overview
HRoi Consulting
 
Oracle HRMS & Payroll
Oracle HRMS & PayrollOracle HRMS & Payroll
Oracle HRMS & Payroll
Nitin Maheshwari
 
Fastformular
FastformularFastformular
Fastformular
nikhilgla
 
Taming Oracle EBS R12.x Accrual Reconciliation Load
Taming Oracle EBS R12.x Accrual Reconciliation LoadTaming Oracle EBS R12.x Accrual Reconciliation Load
Taming Oracle EBS R12.x Accrual Reconciliation Load
Joshua Johnson, MIS
 
Managing sickness absence
Managing sickness absenceManaging sickness absence
Managing sickness absence
walescva
 
20.1 creating functions_part_20.1
20.1 creating functions_part_20.120.1 creating functions_part_20.1
20.1 creating functions_part_20.1
Oracle HRMS Functional Consultant
 
0.1 hrms terminology
0.1 hrms terminology0.1 hrms terminology
0.1 hrms terminology
Oracle HRMS Functional Consultant
 
My Top 6 Tables in Peoplesoft Time and Labor
My Top 6 Tables in Peoplesoft Time and LaborMy Top 6 Tables in Peoplesoft Time and Labor
My Top 6 Tables in Peoplesoft Time and Labor
HRoi Consulting
 
9 element entry_validation_part_9
9 element entry_validation_part_99 element entry_validation_part_9
9 element entry_validation_part_9
Oracle HRMS Functional Consultant
 
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11
Feras Ahmad
 
Collaborate 15 White Paper Implementing Oracle Fusion Payroll
Collaborate 15 White Paper Implementing Oracle Fusion PayrollCollaborate 15 White Paper Implementing Oracle Fusion Payroll
Collaborate 15 White Paper Implementing Oracle Fusion PayrollWilliam Stratton
 
Hcm fusion-payroll-1541040
Hcm fusion-payroll-1541040Hcm fusion-payroll-1541040
Hcm fusion-payroll-1541040
Ashok Sahukar
 
8.1 fast formula_method_1_using_default_hours_and_amount
8.1 fast formula_method_1_using_default_hours_and_amount8.1 fast formula_method_1_using_default_hours_and_amount
8.1 fast formula_method_1_using_default_hours_and_amount
Oracle HRMS Functional Consultant
 
Oracle hrms payroll processing management guide
Oracle hrms payroll processing management guideOracle hrms payroll processing management guide
Oracle hrms payroll processing management guideMaqsood Joyo
 
152633980 accrual-reconciliation-process-and-troubleshooting-in-r12-pdf
152633980 accrual-reconciliation-process-and-troubleshooting-in-r12-pdf152633980 accrual-reconciliation-process-and-troubleshooting-in-r12-pdf
152633980 accrual-reconciliation-process-and-troubleshooting-in-r12-pdf
narane1976
 
Oracle fusion hrms_for_uae_payroll_setup_white_paper_rel11
Oracle fusion hrms_for_uae_payroll_setup_white_paper_rel11Oracle fusion hrms_for_uae_payroll_setup_white_paper_rel11
Oracle fusion hrms_for_uae_payroll_setup_white_paper_rel11
Feras Ahmad
 
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Ahmed Elshayeb
 

Viewers also liked (20)

Oracle hrms PTO
Oracle hrms PTOOracle hrms PTO
Oracle hrms PTO
 
Absence Management Presentation
Absence Management PresentationAbsence Management Presentation
Absence Management Presentation
 
Payroll process oracle hrms
Payroll process oracle hrmsPayroll process oracle hrms
Payroll process oracle hrms
 
Time And Labor Overview
Time And Labor OverviewTime And Labor Overview
Time And Labor Overview
 
Oracle HRMS & Payroll
Oracle HRMS & PayrollOracle HRMS & Payroll
Oracle HRMS & Payroll
 
Fastformular
FastformularFastformular
Fastformular
 
Taming Oracle EBS R12.x Accrual Reconciliation Load
Taming Oracle EBS R12.x Accrual Reconciliation LoadTaming Oracle EBS R12.x Accrual Reconciliation Load
Taming Oracle EBS R12.x Accrual Reconciliation Load
 
Managing sickness absence
Managing sickness absenceManaging sickness absence
Managing sickness absence
 
20.1 creating functions_part_20.1
20.1 creating functions_part_20.120.1 creating functions_part_20.1
20.1 creating functions_part_20.1
 
0.1 hrms terminology
0.1 hrms terminology0.1 hrms terminology
0.1 hrms terminology
 
My Top 6 Tables in Peoplesoft Time and Labor
My Top 6 Tables in Peoplesoft Time and LaborMy Top 6 Tables in Peoplesoft Time and Labor
My Top 6 Tables in Peoplesoft Time and Labor
 
9 element entry_validation_part_9
9 element entry_validation_part_99 element entry_validation_part_9
9 element entry_validation_part_9
 
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11
 
Collaborate 15 White Paper Implementing Oracle Fusion Payroll
Collaborate 15 White Paper Implementing Oracle Fusion PayrollCollaborate 15 White Paper Implementing Oracle Fusion Payroll
Collaborate 15 White Paper Implementing Oracle Fusion Payroll
 
Hcm fusion-payroll-1541040
Hcm fusion-payroll-1541040Hcm fusion-payroll-1541040
Hcm fusion-payroll-1541040
 
8.1 fast formula_method_1_using_default_hours_and_amount
8.1 fast formula_method_1_using_default_hours_and_amount8.1 fast formula_method_1_using_default_hours_and_amount
8.1 fast formula_method_1_using_default_hours_and_amount
 
Oracle hrms payroll processing management guide
Oracle hrms payroll processing management guideOracle hrms payroll processing management guide
Oracle hrms payroll processing management guide
 
152633980 accrual-reconciliation-process-and-troubleshooting-in-r12-pdf
152633980 accrual-reconciliation-process-and-troubleshooting-in-r12-pdf152633980 accrual-reconciliation-process-and-troubleshooting-in-r12-pdf
152633980 accrual-reconciliation-process-and-troubleshooting-in-r12-pdf
 
Oracle fusion hrms_for_uae_payroll_setup_white_paper_rel11
Oracle fusion hrms_for_uae_payroll_setup_white_paper_rel11Oracle fusion hrms_for_uae_payroll_setup_white_paper_rel11
Oracle fusion hrms_for_uae_payroll_setup_white_paper_rel11
 
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
Oracle Advanced Pricing (Creating a discount modifier using qualifiers)
 

Similar to Accrual plan set up in oracle hrms

237922323-Payroll-Setups-of-Oracle-HRMS-R12.pdf
237922323-Payroll-Setups-of-Oracle-HRMS-R12.pdf237922323-Payroll-Setups-of-Oracle-HRMS-R12.pdf
237922323-Payroll-Setups-of-Oracle-HRMS-R12.pdf
souad72
 
TallyPayroll
TallyPayrollTallyPayroll
TallyPayroll
magiee
 
Benefit payroll integration
Benefit   payroll integrationBenefit   payroll integration
Benefit payroll integration
jakkanna13
 
Payroll
PayrollPayroll
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptx
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptxPPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptx
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptx
Suraj857568
 
Payroll System Specification
Payroll System SpecificationPayroll System Specification
Payroll System SpecificationMichael Hather
 
Oracle payroll-subledger accounting integration
Oracle payroll-subledger accounting integrationOracle payroll-subledger accounting integration
Oracle payroll-subledger accounting integration
Baker Khader Abdallah, PMP
 
Erp next dalal ahmed dalal
Erp next dalal ahmed dalalErp next dalal ahmed dalal
Erp next dalal ahmed dalal
DalalDalaldalal1
 
Sdbillingplan 150626203646-lva1-app6892
Sdbillingplan 150626203646-lva1-app6892Sdbillingplan 150626203646-lva1-app6892
Sdbillingplan 150626203646-lva1-app6892
HariharanMS5
 
Performance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and ApexPerformance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and ApexSalesforce Developers
 
Sd billing plan
Sd billing planSd billing plan
Sd billing plan
Rao RV
 
Hamida ali al shabani
Hamida ali al shabaniHamida ali al shabani
Hamida ali al shabani
HamidaAlshabani
 
Hr erpnext
Hr erpnextHr erpnext
Hr erpnext
BassemAlmaktari
 
SAP FICO Interview Questions
SAP FICO Interview QuestionsSAP FICO Interview Questions
SAP FICO Interview QuestionsAjeesh Sudevan
 
SAP FICO Interview questions
SAP FICO Interview questionsSAP FICO Interview questions
SAP FICO Interview questions
IT LearnMore
 
Elshayeb Oracle R12 Order Management
Elshayeb Oracle R12 Order ManagementElshayeb Oracle R12 Order Management
Elshayeb Oracle R12 Order Management
Ahmed Elshayeb
 
SAP Treasury
SAP TreasurySAP Treasury
SAP Treasury
Manish Kumar
 

Similar to Accrual plan set up in oracle hrms (20)

237922323-Payroll-Setups-of-Oracle-HRMS-R12.pdf
237922323-Payroll-Setups-of-Oracle-HRMS-R12.pdf237922323-Payroll-Setups-of-Oracle-HRMS-R12.pdf
237922323-Payroll-Setups-of-Oracle-HRMS-R12.pdf
 
Tally 9.0
Tally  9.0Tally  9.0
Tally 9.0
 
TallyPayroll
TallyPayrollTallyPayroll
TallyPayroll
 
Benefit payroll integration
Benefit   payroll integrationBenefit   payroll integration
Benefit payroll integration
 
Db
DbDb
Db
 
Payroll
PayrollPayroll
Payroll
 
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptx
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptxPPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptx
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptx
 
Payroll System Specification
Payroll System SpecificationPayroll System Specification
Payroll System Specification
 
Oracle payroll-subledger accounting integration
Oracle payroll-subledger accounting integrationOracle payroll-subledger accounting integration
Oracle payroll-subledger accounting integration
 
Erp next dalal ahmed dalal
Erp next dalal ahmed dalalErp next dalal ahmed dalal
Erp next dalal ahmed dalal
 
Sdbillingplan 150626203646-lva1-app6892
Sdbillingplan 150626203646-lva1-app6892Sdbillingplan 150626203646-lva1-app6892
Sdbillingplan 150626203646-lva1-app6892
 
Performance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and ApexPerformance Tuning for Visualforce and Apex
Performance Tuning for Visualforce and Apex
 
Sd billing plan
Sd billing planSd billing plan
Sd billing plan
 
Hamida ali al shabani
Hamida ali al shabaniHamida ali al shabani
Hamida ali al shabani
 
Hr erpnext
Hr erpnextHr erpnext
Hr erpnext
 
SAP FICO Interview Questions
SAP FICO Interview QuestionsSAP FICO Interview Questions
SAP FICO Interview Questions
 
SAP FICO Interview questions
SAP FICO Interview questionsSAP FICO Interview questions
SAP FICO Interview questions
 
Elshayeb Oracle R12 Order Management
Elshayeb Oracle R12 Order ManagementElshayeb Oracle R12 Order Management
Elshayeb Oracle R12 Order Management
 
SAP Treasury
SAP TreasurySAP Treasury
SAP Treasury
 
Payroll QRGv2
Payroll QRGv2Payroll QRGv2
Payroll QRGv2
 

Accrual plan set up in oracle hrms

  • 1. How to Setup up Leave Accrual Plan Accrual Plan: Oracle Provides Accrual plan Functionality for calculating leaves balance calculation and Balance Carry Over calculations The following points should be taken into consideration for calculation Balances 1. Opening Balance : - Some of the Organization Provides Yearly opening balance to employee. We need to store these opening balances in an Element 2. Leave Adjustment: - There are cases in which adjustments are made because of redundancies in calculation of leave balance. In such cases we need to store these adjustments in an element and make the use of the same. 3. Leave Encashment: Organizations provide policy for encashment of leave when Leave balance exceeds a given amount. In order to capture these details, we need to have an element for the same How to Setup Leave Accruals 1) Create New Element for Opening Balance Navigation: HRMS Super User à Total Compensation à Basic à Element Description 2) Create New Element for Adjustment Days Navigation: HRMS Super User à Total Compensation à Basic à Element Description 3) Create New Element for Leave Encashment Navigation: HRMS Super User à Total Compensation à Basic à Element Description
  • 2. 4) Create Link for all the three Elements created Above Navigation: HRMS Super User à Total Compensation à Basic à Link 5) Define Accrual Plan Navigation: HRMS Super User à Total Compensation à Basic à Accrual Plan 6) Go to Accrual Bands to define the No of Leaves employee could avail during the Year 7) Go to Net Accrual Calculations to record the leave calculation
  • 3. 8) When one creates an accrual plan, system automatically generate below said elements and their corresponding links too (Create Links Manually if not created Automatically) · Vacation Leave Plan · Vacation Leave Plan Carried Over · Vacation Leave Plan Payroll Balance · Vacation Leave Plan Residual · Vacation Leave Plan Tagging 9) Register Employee with the Accrual Plan Navigation: HRMS Super User à People à Enter &Maintain à Search for an Employee à Assignment à Entries à Add “Vacation Leave Plan” on Effective Date 10) How to View Employee Accruals Navigation: HRMS Super User à Fastpath à Accruals
  • 4. Now in the Above Scenario we are using the seeded Formula “PTO_PAYROLL_CALCULATION”, this would calculate as per the accrual bands set for the said duration of Service. Requirements could vary as per each of the clients; we have created a scenario wherein we would be taking the Accruals as per the contract type of the employee 1. The Total Accruals are stored in User Tables Navigation: HRMS Super User à Other Definitions à Table Structure / Table Values 2. Create New Function which would return, Leaves Accrued as on Effective Date CREATE OR REPLACE FUNCTIONAPPS.xxx_get_leave_accrual_f ( p_business_group_id NUMBER, p_assignment_id VARCHAR2, p_calculation_date DATE, p_contract_start_date OUT DATE, p_contract_end_date OUT DATE ) RETURN NUMBER AS l_err_msg VARCHAR2 (500) := NULL; l_person_id NUMBER := NULL; l_hire_date DATE := NULL; l_nationality VARCHAR2 (250) := NULL; l_contract_type VARCHAR2 (250) := NULL; l_yearly_accrual NUMBER := NULL; l_per_day_accrual NUMBER := NULL; l_accrual_start_date DATE := NULL; l_calc_start_date DATE := NULL; l_accrual_total_days NUMBER := NULL; l_net_accrual NUMBER := 0; BEGIN BEGIN SELECT per.person_id, NVL (
  • 5. hr_general.decode_lookup('NATIONALITY', per.nationality), 'XX' ) nationality, pps.date_start hire_date, ppg.segment6 contract_type INTO l_person_id, l_nationality, l_hire_date, l_contract_type FROM per_all_people_f per, per_all_assignments_f paaf, per_periods_of_service pps, pay_people_groups ppg WHERE per.person_id = paaf.person_id AND per.person_type_id IN (1126,1127) AND paaf.assignment_type = 'E' AND paaf.assignment_status_type_idIN (1, 2) AND paaf.primary_flag = 'Y' AND paaf.business_group_id =p_business_group_id AND paaf.period_of_service_id =pps.period_of_service_id AND p_calculation_date BETWEENper.effective_start_date AND per.effective_end_date AND p_calculation_date BETWEENpaaf.effective_start_date AND paaf.effective_end_date AND paaf.assignment_id =p_assignment_id AND paaf.people_group_id =ppg.people_group_id; EXCEPTION WHEN OTHERS THEN l_err_msg := SQLERRM; debug_script_p ('Exception - Employee Details: ' || l_err_msg); END; IF l_contract_type IS NOT NULL THEN SELECT hruserdt.get_table_value(p_business_group_id, 'Leave Accruals', 'Vacation Leave', l_contract_type, p_calculation_date) INTO l_yearly_accrual FROM DUAL; END IF; l_per_day_accrual := ROUND ( (l_yearly_accrual/ 360), 3); l_accrual_start_date := TO_DATE ('01-JAN-' || TO_CHAR(p_calculation_date, 'YYYY'), 'DD-MON-YYYY'); IF l_accrual_start_date > l_hire_date THEN l_calc_start_date := l_accrual_start_date; ELSE
  • 6. l_calc_start_date := l_hire_date; END IF; l_accrual_total_days := p_calculation_date -l_accrual_start_date; l_net_accrual := ROUND (l_accrual_total_days * l_per_day_accrual, 0); p_contract_start_date := l_hire_date; p_contract_end_date := TO_DATE ('31-DEC-4312','DD-MON-YYYY'); RETURN l_net_accrual; EXCEPTION WHEN OTHERS THEN RETURN 0; END; / 3. Define the above create Function in the System as “Database Function” Navigation: HRMS Super User à Other Definitions àFormula Function Define the Context Usage Parameters & Actual Parameters used in SQL Function 4. Define Fast Formula Navigation: HRMS Super User à Total Compensation àWrite Formula /* CREATED BY : BIJOY JOSEPH PURPOSE : CALCULATE ACCRUAL PLAN CREATION DATE : 01-MAY-2013 */ ALIAS ASG_GRADE AS GRADE ALIAS ASG_EMPLOYMENT_CATEGORY AS EMP_CAT /* DEFAULT SECTION */ DEFAULT FOR LRATE IS '0'
  • 7. DEFAULT FOR GNONQAT IS '0' DEFAULT FOR GQAT IS '0' DEFAULT FOR BGROUP IS 'NOT ENTERED' DEFAULT FOR EMP_CAT IS ' ' DEFAULT FOR ASG_GRADE IS 'NOT ENTERED' DEFAULT FOR ASG_NUMBER IS '0' DEFAULT FOR ACCRUAL_PLAN_ID IS 0 DEFAULT FOR EMP_HIRE_DATE IS '01-JAN-0001' (DATE) DEFAULT FOR EMP_TERM_DATE IS '01-JAN-0001' (DATE) DEFAULT FOR CALCULATION_DATE IS '02-JAN-0001' (DATE) DEFAULT FOR SYSDATE IS '01-jan-0001'(DATE) DEFAULT FOR SUS_DATE IS '01-jan-0001'(DATE) DEFAULT FOR SESSION_DATE IS '01-jan-0001'(DATE) DEFAULT FOR YEAR_START IS '01-jan-0001'(DATE) /* INPUT SECTION */ INPUTS ARE CALCULATION_DATE (DATE) ACCRUAL_DAYS=0 L_CONTRACT_SD ='0001/01/01 00:00:00'(DATE) L_CONTRACT_ED ='0001/01/01 00:00:00'(DATE) ACCRUAL_DAYS = AQS_GET_LEAVE_ACCRUALS(CALCULATION_DATE,L_CONTRACT_SD,L_CONTRACT_ED) EFFECTIVE_START_DATE = GREATEST(EMP_HIRE_DATE, L_CONTRACT_SD) IF (EMP_TERM_DATE WAS DEFAULTED ) THEN ( EFFECTIVE_END_DATE = L_CONTRACT_ED ) ELSE ( EFFECTIVE_END_DATE = EMP_TERM_DATE ) EFFECTIVE_END_DATE = LEAST(EFFECTIVE_END_DATE,L_CONTRACT_ED) ACCRUAL_END_DATE = CALCULATION_DATE TOTAL_ACCRUED_PTO = ROUND(ACCRUAL_DAYS,0 ) RETURN TOTAL_ACCRUED_PTO, EFFECTIVE_START_DATE, EFFECTIVE_END_DATE, ACCRUAL_END_DATE 5. Attach the Accrual Formula to the corresponding PLAN and test various scenarios