T0801GetProcessingOptions

Get Employee Master Processing Options P0801

Minor Business Rule

Object Name: B0800105

Parent DLL: CHRM

Location: Client/Server

Language: C

Functional Description

Purpose

This named business function will get the values of the processing options for P0801CMP based on the 
version passed in.


Setup Notes and Prerequisites


Special Logic




Technical Specification

1.Move "0" to mnReturnCode.
2.Check to see if version is blank.  If it is, assign ZJDE0001 as the default version.

3. Call the API AllocatePOVersionData, passing in hUser, P0801CMP, szVersion, and the size of the 

processing option data structure.


4. If allocation was successful:

   a. Pass back mnRtSalary

   b. Pass back mnPercent1

   c. Return ER_SUCCESS


5. If allocation was not successful:

   a. Pass back mnReturnCode = 1



^

Data Structure

D0800105 - Get Employee Master Processing Options P0801

Parameter NameData ItemData TypeReq/OptI/O/Both
mnRtSalarySALMATH_NUMERICOPTNONE

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

mnPercent1PE01MATH_NUMERICOPTNONE

The abbreviation for percentage.

mnMathNumeric01MATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

szVersionVERScharOPTNONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

Related Functions

None

Related Tables

None