Functional Description
Purpose
The purposes of this function are to fetch employee benefit information, and, if requested, calculate
the employee's age.
Setup Notes and Prerequisites
Special Logic
Technical Specification
ERROR CODES
0 = No Errors
1 = The Address Number was not passed in.
2 = Could not fetch information from F060116 using Address Number as the key.
First, the function fetches the data from the employee master and passes it back through the data
structure. If the Suppress Age flag is not 1, then the function calculates the employee age as of the
date passed in. If the as of date is not passed into the function, the system date is used. The age is
then also passed back out through the data structure.
DN0800024 - Retrieve Employee Personal Benefit Information
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAddressNumber | AN8 | MATH_NUMERIC | REQ | INPUT |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
jdAsOfDate | EFT | JDEDATE | OPT | NONE |
Special Input Expected
| ||||
szSocialSecurityNumber | SSN | char | OPT | NONE |
A number that indicates the tax ID. In the United States, the tax ID is the social security number. In Canada, it is the social insurance number.
| ||||
szBenefitGroupCode | DIVC | char | OPT | NONE |
The benefit group to which the employee is assigned. Benefit groups facilitate employee enrollment by categorizing benefit plans and
| ||||
mnAgeCalculated | FAGE | MATH_NUMERIC | OPT | NONE |
Special Output Returned
| ||||
szCompanyHome | HMCO | char | OPT | NONE |
The company number where the employee records generally reside. | ||||
mnAnnualSalaryLife | LSAL | MATH_NUMERIC | OPT | NONE |
You can use this field to calculate deductions, benefits, and accruals (DBAs) for an employee's life insurance premium. Any table method
| ||||
cErrorCode | ERRC | char | OPT | NONE |
Special Output Returned
| ||||
cSuppressAgeCalculation | EV01 | char | OPT | NONE |
Special Input Expected
| ||||
cPayFrequency | PFRQ | char | OPT | NONE |
A user defined code (07/PF) that indicates how often an employee is paid. Valid codes are:
B
Biweekly
W
Weekly
S
Semimonthly
| ||||
mnRtSalary | SAL | MATH_NUMERIC | OPT | NONE |
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
| ||||
mnWorkHoursPerYear | IH | MATH_NUMERIC | OPT | NONE |
The number of work hours in the year. When you do not set your payroll company constants to use the Pay Grade Step table as the
| ||||
mnRtDistributionOrBill | PBRT | MATH_NUMERIC | OPT | NONE |
A number that specifies the rate that the system uses to bill for labor services. This rate is often referred to as the billing or recharge rate.
| ||||
mnRtHourly | PHRT | MATH_NUMERIC | OPT | NONE |
The employee's hourly rate, which is retrieved during time entry. If you enter a rate in this field on any other form, that rate can override the
| ||||
mnRtPiecework | PPRT | MATH_NUMERIC | OPT | NONE |
The rate paid for the type of component (piece) produced. If you enter a rate in this field, this rate overrides the rate in the Employee Master
| ||||
jdDateBirth | DOB | JDEDATE | OPT | NONE |
The employee's date of birth. | ||||
jdDateOriginalEmployment | DSI | JDEDATE | OPT | NONE |
The date on which the employee was originally hired by the company. If the employee was terminated and subsequently rehired, the new
| ||||
jdDateEmploymentStart | DST | JDEDATE | OPT | NONE |
The date on which the employee actually reported to work for the most recent period of hire. When an employee initially begins working,
| ||||
jdDateLoaStarts | LSDT | JDEDATE | OPT | NONE |
The date on which an employee's paid or unpaid leave of absence begins. Use this date to indicate the leave for the Family and Medical
| ||||
jdDateParticipation | PADT | JDEDATE | OPT | NONE |
The date the employee began participating in the company deferred income or stock option plan. This date must be later than the Date
| ||||
mnSalaryFixed | FSAL | MATH_NUMERIC | OPT | NONE |
You can use this field to calculate deductions, benefits, and accruals (DBAs) for a spouse's life insurance premium. Any table method that
| ||||
mnAgeFixedFromF060116 | FAGE | MATH_NUMERIC | OPT | NONE |
Special Output Returned
|
None |
None |