CalculateProjectedAmounts

Position Control Projected Amounts

Minor Business Rule

Object Name: N0800033

Parent DLL: CHRM

Location: Client/Server

Language: NER

NOTE!!!:  THIS FUNCTION WORKS IN CONJUCTION WITH IT'S PARENT FUNCTION "POSITION CONTROL PROJECTED 
AMOUNTS" AND SHOULD BE CALLED FROM THERE.  This function will calculate the projected salary, FTE, and 

hours worked for a single Position Budget Detail (F08111) record.

Functional Description


This NER returns the projected amounts for a position detail record or a summary of projected amounts for particular position or home business unit.  
The returned values are projected salary, projected hours, projected FTE, and headcount. 


Setup Notes
In order to calculate the projected amounts for a specific detail record the following input parameters must contain values: Position Id (POS), Employee 
Number (AN8), Home Business Unit (HMCU), Effective From Date (EFTS), Employee Action (ACTT), Salary (SAL), Hours Worked (HRW), and Full Time 

Equivalency (FTE).  


To calculate summary information for a home business unit and fiscal year the input parameters should only contain a value for Home Business Unit 

(HMCU).  With Position Id (POS) and Employee Number (AN8) not included, the program knows it will need to read all Position Master (F08101) for the home 

business unit and fiscal year.  The program also knows it will need to read all Position Budget Detail (F08111) that are related to the Position Master 

(F08101) records.


Technical Specifications


This NER is separated into two functions: Position Control Projected Amounts and Calculate Projected Amounts.  Each function has it's own data 
structure and each appears as an external function.  However, the function called "Calculate Projected Amounts" should ONLY be called by "Position Control 

Projected Amounts."  Two functions were necessary due to complex nested if and while logic associated with salary projection.


Calculate Projected Amounts


Parameters


Data Item Data Structure DescriptionI/ORequiredTableNotes
POS         szPosition Id                         IYes

HMCU    szHomeBusinessUnit          IYes

AN8        mnOrigEmpNumber              IYes

EFTS       jdEffectiveFromDate             IYes

EFST       jdEffectiveThruDate            IYes

ACTT     cEmployeeAction                  IYes

SAL        mnRTSalary                           IYes

HRW            mnHoursWorked                  IYes

FTE           mnFullTimeEquivalent         IYes

FY           mnFiscalYear9                       I

CRPOW mnProjectedSalary               I/O

HRBOW mnProjectedHours               I/O

APSOW mnProjectedFTEs                                I/O

BDOWLDjdFiscalBeginDate                 I

EDOWLDjdFiscalEndDate                    I

SIP           cSalaryIncreasesinProject   IFrom HR History Constants

PRSR      cPayRateSource                   IFrom HR History Constants

SPRS       cStepProgressionRateSourceIFrom HR History Constants

AN8           mnCurrentEmployeeNumberI

AN8                    mnPrevEmployeeNumber         I/O

SALY          cEmpJobPayClass                I/OFrom Employee Jobs (F060118). **.

SHFT      cEmpJobShiftCode               I/OFrom Employee Jobs (F060118). **

HMCU          szEmpJobHomeBusinessUnit           I/OFrom Employee Jobs (F060118). **.

JBCD      szEmpJobJobCategory        I/OFrom Employee Jobs (F060118). **

JBST             szEmpJobPayStep                I/OFrom Employee Jobs (F060118). **.

PGRD      szEmpJobPayGrade              I/OFrom Employee Jobs (F060118). **

PGRS      szEmpJobPayGradeStep      I/OFrom Employee Jobs (F060118). **.

SLOC      szEmpJobSalaryDataLocalityI/OFrom Employee Jobs (F060118). **

UN                          szEmpJobUnionCode                          I/OFrom Employee Jobs (F060118). **

DTSF      jdSalaryForecastChangeDateI/OFrom Employee Jobs (F060118). **

EDOWLDjdDatePriorToChange          I/OCalculated based on                                                                                            

                                                     SalaryForecastChangeDate.

VC01B                cCurrentEmployeeHeadcountI/OIf 1 then employee has been counted.  Set to                                                  

                                                                                               zero every time employee changes.

VC01B    cCalcPreRaiseDateFlag                I/OIf a new employee then need to calculate pre-                                                

                                                                                                                                                                                                                                                                                

                                                                                                                raise date.


** The Employee Jobs (F060118) record is read once for each employee in the Calculate Position Amounts function.  Values for each employee are 

passed back and forth from "Position Control Projected Amounts" and "Calculate Position Amounts" until the value for CurrentEmployeeNumber does not 

match PrevEmployeeNumber. 


Related Tables 


Table PrefixTable Description
F08111HQPosition Budget Detail

F08040JTHR History Constants

F060118YEEmployee Jobs

F082001HSPay Grade/Salary Range Table

F069126YLUnion Rates File



Processing 

Call N0800032 to get the detail record's percentage

Calculate projected FTE and Hours by multiplying the input or read values by percentage from N0800032 and adding to accumulated totals


If the rate change in projections flag (SIP) from the HR constants file is marked as 'Y' and the pay rate source (PRSR) is 1 or 2 (union rates or 
paygrade/salary range) then


If EmployeeNumber <> previous employee number then
fetch Employee Job (YE) record using EmployeeNumber, HomeBusinessUnit, and PositionId
Previous employee number = EmployeeNumber

Else
YE File I/O = SUCCESS
End if

Process Flag = 0 (assume no processing)
If  File I/O = SUCCESS then

If YE salary forecast change date (DTSF) <> blanks and YE salary forecast change date (DTSF) >= internal date then
If YE salary forecast change date (DTSF) <= fiscal year end date or EffectiveThru = blanks then
Process flag = 1
End if
End If
End If


If Process flag = 1 then
Determine the last day before raise by subtracting 1 from raise date.  

If EffectiveThruDate < day before raise and not blank then use it as a thru date when calling N0800032. Otherwise use day before raise when 
calling N0800032.


Call N0800032 to get percentage of year for pre-raise. 
Calculate pre-raise projected salary by multiplying Salary (input) by percentage from N0800032.


Calculate percentage for rest of fiscal year.  Use forecast change date (DTSF) as the from date.  If EffectiveThruDate = blank or fiscal year end 
date < EffectiveThruDate then use fiscal year end date as the percentage thru date.  Otherwise, use the EffectiveThruDate as the percentage thru 

date.


If the pay rate source (PRSR) from HR Constants is 1 then use union master to calculate remaining salary.

Open Union Rates File (F069126)

Select Union Rates record using YE's Union Code (UN), Home Business Unit (HMCU) as Business Unit (MCU), and Shift Code (SHFT)

While end of select <> true
FetchNext Union Rates record
If thru (from call to N0800033) >= YL Beginning Effective (EFTB) and thru <= YL Ending Effective (EFTE) and YE Job Code (JBCD) = YL 

Job Code and YE Job Step (JBST) = YL Job Step then

Post raise annual salary = YL hourly rate (PHRT) x HoursWorked  
Terminate while loop

End if
End While

Else (use step progression table)

Call Pay Grade Server (N0800005) and pass YE's Pay Class (SALY), Union Code (UN), Pay Grade (PGRD), Salary Data Locality (SLOC), Pay 
Grade Step (PGRS), thru date (from call to N0800032), and error flag.


If error flag = blank then
If JT's Pay Grade Step Progression Rate Source (SPRS) = 1 then
If YE's Pay Class (SALY) = 'H' then
Post raise annual salary = HS's Pay Grade Step Rate (PGSR) x HoursWorked
Else
Post raise annual salary = HS's Pay Grade Step Rate (PGSR)
End if
Else
Call Pay Grade Server (N0800005) and pass HS's Next Pay Grade (NPGD) as Pay Grade (PGRD), Next Pay Grade Step (NPGS) as Pay 
Grade Step (PGRS), thru date (from call to N0800032), and error flag.


If error flag = blank then
If YE's Pay Class (SALY) = 'H' then
Post raise annual salary = HS's Pay Grade Step Rate (PGSR) x HoursWorked
Else
Post raise annual salary = HS's Pay Grade Step Rate (PGSR)
End if
End if
End if
End if
End if (union or step)

If post raise annual salary = zero then
Post raise annual salary = Salary (passed in)
End if

Post raise projected salary = post raise percentage (call to N0800032) x post raise annual salary

Projected salary = pre-raise proj. salary + post raise proj. salary
End if (if process flag = 1)
End if (if rate change in projections)


If projected salary = zero then 

Projected salary = percentage (orig. call to N0800032) x Salary (input)
End if


Add projected salary to accumulated total




Data Structure

DN0800033B - Calculate Projected Amounts

Parameter NameData ItemData TypeReq/OptI/O/Both
szPositionIDPOScharNONENONE

A code that you use for budgetary (position) control purposes. The position ID consists of:   o  Position (position code and its description)     
o  Fiscal year     o  Home business unit  For example, you can identify position A0-1 as Accounting Manager for fiscal year 2005-2006, for 
home business unit 41. You might choose to set up positions so that the position IDs are the same as the corresponding job IDs. Within a home 
business unit, positions appear in the alphanumeric sequence of their position IDs. For example, position A0-1 appears before position A0-2.

szHomeBusinessUnitHMCUcharNONENONE

The number of the business unit in which the employee generally resides.

mnOrigEmployeeNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

jdEffectiveFromDateEFTSJDEDATENONENONE

The date on which a requisition, a position, or activity within a position takes effect.

jdEffectiveThruDateEFSTJDEDATENONENONE

The date on which a requisition, a position, or an activity within a position is no longer in effect. In position activity, the default value for this 
field is the end of the current fiscal year so that the system can calculate projected figures.

cEmployeeActionACTTcharNONENONE

The type of action linked to the employee. The following codes are provided by J.D. Edwards and should not be 
changed: Blank Active A Adjust status, such as salary, FTE, hours E Expired L Leave of absence T Transfer (from one business unit to another) X Terminate

mnRtSalarySALMATH_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). 

mnHoursWorkedHRWMATH_NUMERICNONENONE

The number of hours associated with each transaction.

mnFullTimeEquivalentsFTEMATH_NUMERICNONENONE

The full-time equivalent (FTE) amount. This figure is the portion of a full-time worker that an employee represents within the business unit. 
For example, an employee who works 20 hours per week would represent .50 (1/2 FTE). This number cannot be greater than 1 for any 
employee.

szFiscalYear9FYOWcharNONENONE

A four-digit number that identifies the fiscal year. You can enter a number in this field or leave the field blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. For 
example, a fiscal year begins October 1, 2005, and ends September 30, 2006. The end of the first period is October 31, 2005. Specify the 
year 2005 rather than 2006.

mnProjectedSalaryCRPOWMATH_NUMERICNONENONE

A figure that represents the amount of salary paid over a period of time. At the employee level, the system calculates this amount by 
multiplying the employee's annual salary by the fraction of the fiscal year that the employee worked. At the business unit level, the system calculates 
this amount as the sum of all the employee activity in the position for the fiscal year. For example, an employee earning 40,000 annually who 
works from April 1 to December 31 represents a projected salary cost of 30,000 for that year.

mnProjectedHoursHRBOWMATH_NUMERICNONENONE

A figure that represents the number of hours worked during a period of time. At the employee level, the system calculates this amount by 
multiplying the annual number of hours worked by the fraction of a year that the employee worked. For example, an employee who works 2080 
hours annually from April 1 to December 31 represents a projected hours figure of 1560 hours for that year.

mnProjectedFTEsAPSOWMATH_NUMERICNONENONE

A figure that represents the full-time equivalents (FTEs) projected for the fiscal year. At the employee level, the system calculates projected 
FTEs by multiplying each employee's FTE by the fraction of the year that the employee worked in the position. For example, a full-time 
employee (FTE=1.0) working from April 1 to December 31 has a projected FTE of .75.

jdFiscalBeginDateBDOWLDJDEDATENONENONE

The beginning date of the range in a search. If you do not specify a beginning date, the system uses the current date.

jdFiscalEndDateEDOWLDJDEDATENONENONE

The ending date for the period that you want to review. If you leave this field blank, the system uses the ending date of the current period 
specified for the company.

cSalaryIncreasesinProjectSIPcharNONENONE

This constant determines if future rate changes, based on an employee's salary forecast change date, will be taken into account in the 
calculation of position projected year end values. Valid values are:    Y Yes    N No 

cPayRateSourcePRSRcharNONENONE

This constant specifies the default source for employee pay rates. When you add or change employee information, the system uses this 
constant to locate a pay rate for an employee when you leave the salary and hourly rate fields blank. Pay Rate Source    1   Pay Rate Tables    
2   Pay Grade Step Table    3   None You choose a pay rate source in Setting Up System Options. To calculate a salary for the employee, the 
system multiplies the employee's standard hours per year by the hourly rate from the table.

cStepProgressionRateSourcSPRScharNONENONE

This field specifies the default pay grade step that the system uses to locate a pay rate for employees who have a salary forecast change 
date. The system uses this rate to calculate annual position budget amounts that are based on employee records. Step Progression Rate:    
1   Same Grade Step    2   Next Grade Step 

mnCurrentEmployeeNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnPrevEmployeeNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

cEmpJobPayClassSALYcharNONENONE

A code that specifies how an employee is paid. Valid codes are: H Hourly S Salaried P Piecework

cEmpJobShiftCodeSHFTcharNONENONE

A user defined code (00/SH) that identifies daily work shifts. In payroll systems, you can use a shift code to add a percentage or amount to 
the hourly rate on a timecard. For payroll and time entry: If an employee always works a shift for which a shift rate differential is applicable, 
enter that shift code on the employee's master record. When you enter the shift on the employee's master record, you do not need to enter the 
code on the timecard when you enter time. If an employee occasionally works a different shift, you enter the shift code on each applicable 
timecard to override the default value.

szEmpJobHomeBusinessUnitHMCUcharNONENONE

The number of the business unit in which the employee generally resides.

szEmpJobJobCategoryJBCDcharNONENONE

A user defined code (07/G) that defines the jobs within your organization. You can associate pay and benefit information with a job type and 
apply that information to the employees who are linked to that job type.

szEmpJobJobStepJBSTcharNONENONE

A user defined code (07/GS) that designates a specific level within a particular job type. The system uses this code in conjunction with job 
type to determine pay rates by job in the Pay Rates table.

szEmpJobPayGradePGRDcharNONENONE

A code that designates a category for grouping employees according to pay ranges. For each pay grade, you enter a pay range that 
includes a minimum, a midpoint, and a maximum pay rate. The system uses these pay ranges to calculate compa-ratios for the employees that 
you assign to pay grades. After you enter a pay grade for an employee, the system displays either an error or a warning message if you enter 
a rate for the employee that is not within the pay range for the employee's pay grade. To set up pay grades, use Pay Grades by Class 
(P082001). If you have set up your system to use rates in the Pay Grade Step table as the default pay rates for employees, changing an 
employee's pay grade step causes the system to automatically update the following fields:   o  Salary   o  Hourly Rate   o  Hours per day   o  Hours per 
year   o  Days per year  

szEmpJobPayGradeStepPGRScharNONENONE

A code that identifies a pay grade and pay step. You can use this code to determine an employee's pay rate. If you have set up your 
system to use rates in the Pay Grade Step table as the default pay rates for employees, changing an employee's pay grade step causes the 
system to automatically update the following fields:     o Salary     o Hourly Rate     o Hours per day     o Hours per year     o Days per year 

szEmpJobSalaryDataLocalitySLOCcharNONENONE

A user defined code (07/SL) that defines the different salary localities within an organization.  For example, you can compare salaries for 
employees on the East Coast with employees in the Midwest.

szEmpJobUnionCodeUNcharNONENONE

A user defined code (06/UN) that represents the union or plan in which the employee or group of employees work or participate.

jdSalaryForcastChangeDateDTSFJDEDATENONENONE

A date in the future when it is expected the employee will be given a salary change. This date is used by the position budget module to 
determine if employee position assignments will result in effective budgeted salary amounts being exceeded. It is also used to include future 
forecast salary changes in generating position budgets when the Create Next Year's Position Budget program (P081820) is used. In both 
cases, the future rate values are held in either the pay rate table (F06xxx) or the pay grade step table (F081002).

jdDatePriorToChangeEDOWLDJDEDATENONENONE

The ending date for the period that you want to review. If you leave this field blank, the system uses the ending date of the current period 
specified for the company.

cCurrentEmployeeHeadcountVC01BcharNONENONE

This is a generic field used for video constants display.

cCalcPreRaiseDateFlagVC01BcharNONENONE

This is a generic field used for video constants display.

Related Functions

None

Related Tables

None
PositionControlProjectedAmounts

PositionControlProjectedAmounts

Position Control Projected Amounts

Minor Business Rule

Object Name: N0800033

Parent DLL: CHRM

Location: Client/Server

Language: NER

This function provides the same functionality as 'X08101' in WorldSoftware.  The function will 
provide projected amounts for single Position Budget Detail (F08111) record, or projected amounts for a 

business unit or business unit/position id.  To get projected data for a business unit input only the home 

business unit and fiscal year (fiscal year is optional).  To get projected data for a business 

unit/position id input only the home business unit, position id, and fiscal year (fiscal year is optional).  

If fiscal year begin and end dates are NOT sent in then the server will attempt to get the dates 

itself by calling N0800030.


Functional Description


This NER returns the projected amounts for a position detail record or a summary of projected amounts for particular position or home business unit.  
The returned values are projected salary, projected hours, projected FTE, and headcount. 


Setup Notes
In order to calculate the projected amounts for a specific detail record the following input parameters must contain values: Position Id (POS), Employee 
Number (AN8), Home Business Unit (HMCU), Effective From Date (EFTS), Employee Action (ACTT), Salary (SAL), Hours Worked (HRW), and Full Time 

Equivalency (FTE).  


To calculate summary information for a home business unit, position, and fiscal year the input parameters should only contain values for Home Business 

Unit (HMCU) and Position Id (POS).  With Employee Number (AN8) not included the program knows it will need to read all Position Budget Detail (F08111) 

records that contain the home business unit and position for the fiscal year.


Technical Specifications


This NER is separated into two functions: Position Control Projected Amounts and Calculate Projected Amounts.  Each function has it's own data 
structure and each appears as an external function.  However, the function called "Calculate Projected Amounts" should ONLY be called by "Position Control 

Projected Amounts."  Two functions were necessary due to complex nested if and while logic associated with salary projection.


Position Control Projected Amounts


Parameters


Data Item Data Structure DescriptionI/ORequiredTableNotes
POS                     szPosition Id                         I                        If not passed in then summary                                                           

                                                                                                                                                                                                                                                                                

                                                                                                                                                      information will be calculated for                                                                 

                                                                                                                                                                                                                                                                           

(HMCU and FY) or (HMCU, FY,                                                                                                                                                                                                                                

                                                                                                 and AN8, if AN8 not blank or                                                                                                                           

                                                                                                                                                                                                       null).

HMCU                szHomeBusinessUnit          IYes

AN8        mnEmployeeNumber                I                   If not passed in then summary                                                           

                                                                                                                                                                                                                                                                      

information will be calculated for                                                                                                                                                                                                                                  

                                                                                               HMCU and FY.

EFTS                jdEffectiveFromDate                 I                 Required if AN8 and POS                                                                   

                                                                                                                                                                                                                                                              input.

EFST                jdEffectiveThruDate                       I

ACTT               cActionCode                                         I                 Required if AN8 and POS                                                                   

                                                                                                                                                                                                                                                              input.

SAL                mnSalary                                                I                   Required if AN8 and POS                                                                   

                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                          input.

HRW        mnHoursWorked                                 I                  Required if AN8 and POS                                                                   

                                                                                                                                                                                                                                                              input.

FTEb       mnFullTimeEquivalent                        I                   Required if AN8 and POS                                                                   

                                                                                                                                                                                                                                                              input.

FY                mnFiscalYear                                        I                     If not passed in then program will                                                     

                                                                                                                                                                                                                                                                                

                                                                                                                                                          default to company's current fiscal                                                         

                                                                                                                                                                                                                                                                                

                                                                                                                                                        year.

CRPOW   mnSalaryProjected               O

HRBOW mnHoursProjected               O

APSOW                mnFTEProjected                   O

HDCT                    mnHeadCount                             O

ERRC      cErrorCode                             O                * see below


ErrorCode values:


0 = no errors; program processed successfully 

1 = Home Business Unit is blank  required input

2 = Unable to read HR History Constants record

3 = Errors detected in call to Fiscal Year Begin & End Dates (N0800030) 


Related Tables 


Table PrefixTable Description

F08101HPPosition Master
F08111HQPosition Budget Detail

F08040JTHR History Constants



Processing 

ErrorCode = 0


If HomeBusinessUnit <> blank then 


Read the HR History Constants table

If File I/O <> ERROR then
Save passed in EmployeeNumber to temp variable as original emp no
Call Fiscal Year Begin & End Dates (N0800030) NER

If error from N0800030 = 0 (no errors detected) then

Open the Position Master table (heretofore referred to as HP)
Open the Position Budget Detail table (heretofore referred to as HQ)

If PositionId = blank then

Select HP records with HomeBusinessUnit and FiscalYear
FetchNext HP record

Set PositionId  to HP Position Id (POS)

Else
Select HP record with HomeBusinessUnit, FiscalYear, and PositionId
FetchNext HP record

HP File I/O = SUCCESS

End If

While HP File I/O = SUCCESS


If EmployeeNumber = blank then
Select HQ records with HomeBusinessUnit and PositionId by ascending effective from
FetchNext HQ record

HQ loop flag = 1

Populate other input parameters with values from read record.

Internal from date = HQ Effective From Date (EFTS)

Else
HQ File I/O = SUCCESS
HQ loop flag = 0

Internal from date = EffectiveFromDate

End if

While HQ File I/O = SUCCESS

If EffectiveFromDate <= Fiscal Year end date and ActionCode <> 'L' then
Process Flag = 0 (assume no processing)
If  EffectiveFromDate <= EffectiveThruDate or EffectiveThruDate = zero

Process Flag = 1
End if

If Process Flag = 1 then

Call "Calculate Projected Amounts"
Process flag = 0 (assume no processing)

If CurrentEmpHeadcount <> 1

If ActionCode <> 'T'
If ActionCode <> 'A' or EffectiveThruDate = fiscal year end 
Process flag = 1
EmployeeHeadcount = 1

ProjectedHeadcount += 1

End if
End if
End if

End if (process flag = 1)
End if (EffectiveFromDate <= fiscal year end date '85)

If HQ loop flag = 1 then
Fetchnext HQ record
Else
HQ File I/O = ERROR (terminate loop)
End if
End While (While HQ File I/O = SUCCESS)

FetchNext HP record
End While (HP File I/O = SUCCESS)
Close HQ table

Close HP table

Else
ErrorCode = 3
End if
Else
ErrorCode = 2
End if (if File I/O <> ERROR)
Else

ErrorCode = 1
End








Data Structure

DN0800033 - Position Control Projected Amounts

Parameter NameData ItemData TypeReq/OptI/O/Both
szPositionIDPOScharNONENONE

A code that you use for budgetary (position) control purposes. The position ID consists of:   o  Position (position code and its description)     
o  Fiscal year     o  Home business unit  For example, you can identify position A0-1 as Accounting Manager for fiscal year 2005-2006, for 
home business unit 41. You might choose to set up positions so that the position IDs are the same as the corresponding job IDs. Within a home 
business unit, positions appear in the alphanumeric sequence of their position IDs. For example, position A0-1 appears before position A0-2.

szHomeBusinessUnitHMCUcharNONENONE

The number of the business unit in which the employee generally resides.

mnEmployeeNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

jdEffectiveFromDateEFTSJDEDATENONENONE

The date on which a requisition, a position, or activity within a position takes effect.

jdEffectiveThruDateEFSTJDEDATENONENONE

The date on which a requisition, a position, or an activity within a position is no longer in effect. In position activity, the default value for this 
field is the end of the current fiscal year so that the system can calculate projected figures.

cActionCodeACTTcharNONENONE

The type of action linked to the employee. The following codes are provided by J.D. Edwards and should not be 
changed: Blank Active A Adjust status, such as salary, FTE, hours E Expired L Leave of absence T Transfer (from one business unit to another) X Terminate

mnSalarySALMATH_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). 

mnHoursWorkedHRWMATH_NUMERICNONENONE

The number of hours associated with each transaction.

mnFullTimeEquivalentsFTEMATH_NUMERICNONENONE

The full-time equivalent (FTE) amount. This figure is the portion of a full-time worker that an employee represents within the business unit. 
For example, an employee who works 20 hours per week would represent .50 (1/2 FTE). This number cannot be greater than 1 for any 
employee.

szFiscalYearFYOWcharNONENONE

A four-digit number that identifies the fiscal year. You can enter a number in this field or leave the field blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. For 
example, a fiscal year begins October 1, 2005, and ends September 30, 2006. The end of the first period is October 31, 2005. Specify the 
year 2005 rather than 2006.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

mnSalaryProjectedCRPOWMATH_NUMERICNONENONE

A figure that represents the amount of salary paid over a period of time. At the employee level, the system calculates this amount by 
multiplying the employee's annual salary by the fraction of the fiscal year that the employee worked. At the business unit level, the system calculates 
this amount as the sum of all the employee activity in the position for the fiscal year. For example, an employee earning 40,000 annually who 
works from April 1 to December 31 represents a projected salary cost of 30,000 for that year.

mnHoursProjectedHRBOWMATH_NUMERICNONENONE

A figure that represents the number of hours worked during a period of time. At the employee level, the system calculates this amount by 
multiplying the annual number of hours worked by the fraction of a year that the employee worked. For example, an employee who works 2080 
hours annually from April 1 to December 31 represents a projected hours figure of 1560 hours for that year.

mnFTEsProjectedAPSOWMATH_NUMERICNONENONE

A figure that represents the full-time equivalents (FTEs) projected for the fiscal year. At the employee level, the system calculates projected 
FTEs by multiplying each employee's FTE by the fraction of the year that the employee worked in the position. For example, a full-time 
employee (FTE=1.0) working from April 1 to December 31 has a projected FTE of .75.

mnHeadcountProjectedHDCTMATH_NUMERICNONENONE

The number of employees requested, budgeted, or approved for a position or requisition.

jdFYBeginDateBDOWLDJDEDATENONENONE

The beginning date of the range in a search. If you do not specify a beginning date, the system uses the current date.

jdFYEndDateEDOWLDJDEDATENONENONE

The ending date for the period that you want to review. If you leave this field blank, the system uses the ending date of the current period 
specified for the company.

Related Functions

None

Related Tables

None
y = zero then

Post raise annual salary = Salary (passed in)
End if

Post raise projected salary = post raise percentage (call to N0800032) x post raise annual salary

Projected salary = pre-raise proj. salary + post raise proj. salary
End if (if process flag = 1)
End if (if rate change in projections)


If projected salary = zero then 

Projected salary = percentage (orig. call to N0800032) x Salary (input)
End if


Add projected salary to accumulated total




Data Structure

DN0800033B - Calculate Projected Amounts

Parameter NameData ItemData TypeReq/OptI/O/Both
szPositionIDPOScharNONENONE

A code that you use for budgetary (position) control purposes. The position ID consists of:   o  Position (position code and its description)     
o  Fiscal year     o  Home business unit  For example, you can identify position A0-1 as Accounting Manager for fiscal year 2005-2006, for 
home business unit 41. You might choose to set up positions so that the position IDs are the same as the corresponding job IDs. Within a home 
business unit, positions appear in the alphanumeric sequence of their position IDs. For example, position A0-1 appears before position A0-2.

szHomeBusinessUnitHMCUcharNONENONE

The number of the business unit in which the employee generally resides.

mnOrigEmployeeNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

jdEffectiveFromDateEFTSJDEDATENONENONE

The date on which a requisition, a position, or activity within a position takes effect.

jdEffectiveThruDateEFSTJDEDATENONENONE

The date on which a requisition, a position, or an activity within a position is no longer in effect. In position activity, the default value for this 
field is the end of the current fiscal year so that the system can calculate projected figures.

cEmployeeActionACTTcharNONENONE

The type of action linked to the employee. The following codes are provided by J.D. Edwards and should not be 
changed: Blank Active A Adjust status, such as salary, FTE, hours E Expired L Leave of absence T Transfer (from one business unit to another) X Terminate

mnRtSalarySALMATH_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