Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Oracle Payroll
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

×

Warning

JUser: :_load: Unable to load user with ID: 877

 

 

The following statements are true as general guidelines for typical payroll runs:

· The longer an element's formula, the longer its processing time.

· The more elements entered for an assignment, the longer its processing time.

· One element associated with a lengthy formula usually processes faster than two related elements each associated with a short formula.

· The overall number of elements and formulas in the system has little effect on processing efficiency. It is the number of elements per assignment that affects processing time.

Formula Format

Use comments and white space freely when entering formulas. This makes the formulas easier to read and understand, and has no effect on performance or memory usage. Use indentation for the same reason, especially when you are using brackets to control the order of processing.

It is good practice to include the following information in a comment at the beginning of a formula:

· formula title and short statement of its purpose

· description of formula inputs

· list of variables and constants that may require updating

· description of the input values of the element that receives the formula's direct result

· explanation of the formula's calculations

· administrative information such as the name, address and telephone number of an office administering the earnings, deduction, or charge the formula affects

· the dates of formula modifications, the names of those entering the edits, and possibly the reasons for change

Variable Names and Aliases

Use names that are brief yet meaningful to improve readability. Name length has no effect on performance or memory usage. Use Aliases if the names of database items or global values are long.

Input Statements

Use Input statements rather than database items whenever possible. This improves formula processing by as much as a factor of ten. It speeds up the running of your payroll by eliminating the need to access the database for the input values.

Inefficient:

Salary = Salary_annual_salary / 12

RETURN Salary

Efficient:

INPUTS ARE Annual_salary

Salary = Annual_salary / 12

RETURN Salary

Date Literals

Use the TO_DATE function only when the operand is a variable.

Inefficient:

Start_date = TO_DATE ( '12-JAN-1992' )

Efficient:

Start_date = '12-JAN-1992' (date)

Single Expressions

Use a single expression in straightforward formulas where this does not lead to confusion.

Inefficient:

Temp = Salary / Annualizing_factor

Tax = Temp * 3

Efficient:

Tax = (Salary / Annualizing_factor) * 3

Database Items

Do not refer to database items until you need them. People sometimes list at the top of a formula all the database items the formula might need, thinking this helps Oracle FastFormula process more quickly. However, this in fact slows processing by causing unnecessary database calls.

Inefficient:

S = Salary

A = Age

IF S < 20000 THEN

IF A < 20 THEN

Training_allowance = 30

ELSE

Training_allowance = 0

Efficient:

IF Salary < 20000 THEN

IF Age < 20 THEN

Training_allowance = 30

ELSE

Training_allowance = 0

The first example always causes a database fetch for Age whereas the second only fetches Age if Salary is less than 20000.



Default for Basic_Sal is 0

Default for PAY_PROC_PERIOD_START_DATE is '01-JAN-1901'(Date)

Default for PAY_PROC_PERIOD_END_DATE is '01-JAN-1901'(Date)

Default for ASG_STATUS is 'Active Assignment'

Default for EK_SICK_LEAVE_LOP_CARRYOVER_ASG_ITD is 0

Default for LOP_Carryover is 0

Default for EMP_HIRE_DATE is '01-JAN-1901'(Date)

Default for Hire_Date is '01-JAN-1901'(Date)

Default for Person_Status is 'Active Assignment'

Default for Proc_Start_Day is '01-JAN-1901'(Date)

Default for Proc_End_Day is '01-JAN-1901'(Date)

Default for No_of_Days is 0

Default for BS is 0

Default for Temp is 0

Default for Basic_Held is 0

Default for Mess is 'Employee is an Active Assignment'

Default for EK_BASIC_SALARY_HELD_ASG_ITD is 0

Default for Pay_Held_Amt is 0

Default for Temp1 is 0

Default for ASG_NUMBER is '0'

DEfault for empnum is '0'

Inputs are Monthly_Salary

Person_Status = ASG_STATUS

Basic_Sal=Monthly_Salary

empnum = ASG_NUMBER

Hire_Date=EMP_HIRE_DATE

Proc_Start_Day=PAY_PROC_PERIOD_START_DATE

Proc_End_Day=PAY_PROC_PERIOD_END_DATE

No_of_Days=0

LOP_Carryover=EK_SICK_LEAVE_LOP_CARRYOVER_ASG_ITD

Temp = HR_MONTHLY_SAL(Proc_Start_Day,Proc_End_Day,empnum)

Bs = Temp

/*If Hire_Date > Proc_Start_Day then

(

No_of_Days=Days_Between(Proc_End_Day,Hire_Date)+1

Temp1 = ((Basic_Sal/(To_Number(To_Char(Proc_End_Day,'DD'))))*No_of_Days)

Temp=Temp1

)

Else

(

Temp=Basic_Sal

)

*/

If Person_Status = 'Active Assignment' then

(

BS=Temp

Pay_Held_Amt=EK_BASIC_SALARY_HELD_ASG_ITD

Mess='Employee is Acitve. No of working days are '+to_char(no_of_days)

)

Else

(

If Person_Status = 'Suspension No Pay' then

(

Mess='Employee is under Suspension No pay'

BS=0

Basic_Held=Temp

Pay_Held_Amt=0

)

)

If LOP_Carryover > BS Then

(

LOP_Carryover=LOP_Carryover-BS

LOP_Deduction=BS

)

Else

(

LOP_Deduction=LOP_Carryover

LOP_Carryover=0

)

BS = Temp

Return BS,Basic_Held,Mess,Pay_Held_Amt,LOP_Deduction,LOP_Carryover


Comments   

0 #1 Jithin Dev G 2011-01-18 10:19
Hi,

Can you please sent me documents related to Event Group Creation, so that if changes happens to Basic Salary System will automatically do the proration.

Reg ards,
Jithin
Quote
0 #2 Hugo Boss watches 2012-09-19 20:43
Hugo Boss watches
Memories make us who we are. Dreams make us who we will become.?
Quote

Add comment


Security code
Refresh

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  Apr 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
  1  2  3  4  5  6  7
  8  91011121314
15161718192021
22232425262728
2930     

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner