Functional Description
Purpose
Calculates the total percentage the employee has allocated for the plan in the 401(k) Election File
(F08346).
Setup Notes and Prerequisites
Special Logic
Technical Specification
Select all records from the F08346 with the same Employee Address Number, Plan ID, and Start Date
that was passed in by the user. Go through each of the selected records and add the Percentage Deducted
(PCTD) to the Total. When finished, pass the Total back to the user. Error codes are used to notify
the calling program of any problems. Error Code 0 = No Errors, 1 = Could not open F08346, 2 = Could
not fetch any records from F08346.
DN0800059 - Accumulate Fund Allocation Percentages
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
| ||||
szPlanId | PLAN | char | REQ | INPUT |
An abbreviation or number that identifies a specific employee benefit. Examples are:
o Employee Health Insurance
o Accidental Death
| ||||
jdAllocationStartDate | EFT | JDEDATE | REQ | INPUT |
The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost
| ||||
mnPercentageDeducted | PCTD | MATH_NUMERIC | OPT | OUTPUT |
The percentage of the total contribution (employee and employer) that the employee has chosen to allot to the various 401(k) investment
| ||||
cErrorCode | ERRC | char | OPT | OUTPUT |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
|
None |
None |