CalcAnnualPayPeriodSal

Calculate Pay Period and Annual Salary from input

Minor Business Rule

Object Name: N0800006

Parent DLL: CFND

Location: Client/Server

Language: NER

Functional Description
The purpose of this Named ER is to calculate the Pay Period and Annual Salary based on the 

 input Salary at the specified frequency in the Basic Compensation Form.  

 

Setup Notes

The Named ER retrieves the number of pay periods for the passed Pay Frequency and passed input salary frequency.  The 

number of pay periods are defined in the second description of UDC's 06/PF and 06/PQ.  If you know the number of pay 

periods for both, pass them in the Named ER, so that the Named ER does not attempt to retrieve these again.


Technical Specifications


Parameters


Data Item Data Structure DescriptionI/ORequired  TableNotes

MATH01mnSalaryInputIRInput Salary in the Basic Comp Form

SALmnAnnualSalaryOCalculated Annual Salary

MATH02mnPayPeriodSalaryOCalculated Pay Period Salary

PFRQcPayFrequencyIREmployee's Pay Frequency 

SFQOWcInputSalaryFrequencyIRFrequency of the input Salary

MATH01mnNumberPeriodPayFreqI & ONumber of Pay Period for the employee's 

pay frequency

MATH02mnNumberPeriodInputSalaryFreI & ONumber of Pay Period for the frequency of 

the input Salary

Related Tables 


Table Table Description


Processing


1. If mnNumberPeriodInputSalaryFreq parameter is not passed in, retrieve the number of pay period from the 2nd description of UDC 06/PQ.
2. If mnNumberPeriodPayFreq parameter is not passed in, retrieve the number of pay period from the 2nd description of UDC 06/PF.

3. Convert the 2nd description from step 1 and step 2 to numeric fields. 

4. Calculate Annual Salary by multiplying the mnSalaryInput with mnNumberPeriodInputSalaryFreq

5. Calculate Pay Period Salary by dividing the Annual Salary from step 4 by mnNumberPeriodPayFreq.




Data Structure

DN0800006 - Calculate Annual Salary/Pay Period Salary/Hourly Rate

Parameter NameData ItemData TypeReq/OptI/O/Both
mnSalaryInputMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

mnAnnualSalarySALMATH_NUMERICNONENONE

The amount that an employee is paid in one year, assuming that the employee is paid every pay period of the year. For WorldSoftware: For 
the employee's primary job, the system stores the annual salary in the Employee Master Information table (F060116) and the Employee 
Jobs table (F060118). For secondary jobs, the system stores the annual salary only in the Employee Jobs table (F060118). Depending on how 
the value that is entered in the Display Salary (Annual/Effective) field in the HR History Constants table (F08040), this field displays one of the 
following:   o  Annual salary. For salaried employees who are not linked with a contract calendar, the user enters the amount or the system 
retrieves the amount from the Pay Grade/Salary Range Table (F082001). For employees who are linked with a contract calendar, the system 
calculates this amount using the following formula: (((current salary minus salary paid before change) divided by number of periods to pay) 
multiplied by pay frequency).   o  Effective salary. For employees whose jobs are linked with a contract calendar, the system recalculates the 
effective salary when you enter a mid-calendar salary adjustment. After you enter a mid-calendar adjustment, the effective salary equals the 
salary that is paid to the employee from the time of the adjustment through the end of the contract. The system calculates this amount using 
the following formula: ((annual salary divided by pay frequency) times periods to pay). 

mnPayPeriodSalaryMATH02MATH_NUMERICNONENONE

- - - Good Performance High Value. 

cPayFrequencyPFRQcharNONENONE

A user defined code (07/PF) that indicates how often an employee is paid. Valid codes are: B Biweekly   W Weekly   S Semimonthly  
M Monthly   A Annually   C European Annualized  The system uses the value in the Description-2 field on user defined codes to calculate the amount per 
pay period for a salaried employee.

cInputSalaryFrequencySFQOWcharNONENONE

A code which indicates the period upon which the entered salary is based.

mnNumberPeriodPayFreqMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

mnNumberPeriodInputSalaryFreqMATH02MATH_NUMERICNONENONE

- - - Good Performance High Value. 

Related Functions

None

Related Tables

None