Functional Description
Purpose
Calculates an Employee's Deduction Benefit and Accrual (DBA) amounts during a specified period. The
dates passed in by the user are compared with the Check Date in the Benefit/Accrual Detail File. The
F0719 is read if One World B7.3.3 payroll or later is being used. If World payroll or an earlier
version of One World payroll is being used, the F0619 file is read. If the Check Date is between the
jdDateBeginning and jdDateEnding, then the Gross Pay Amount (GPA) for that record is added to the
accumulated total.
Setup Notes and Prerequisites
Special Logic
Technical Specification
Select the records in the F0619 with the same Address Number and DBA ID as those passed in by the
user. Go through each of the selected records and compare the Beginning and Ending Dates passed in by
the user with the record's Check Date. If the Check Date falls within the Beginning and Ending Dates,
then add the Gross Pay Amount to the total. Once all the records have been checked, pass the
Accumulated Total back to the user. Error codes are used instead of hard errors. The values of the error code
may be: 0 (No Errors), 1 (Could not open either the F0619 or F0719 depending on the version of
Payroll being used), 2 (Missing the Employee Address Number or DBA parameter).
DN0800051 - Accumulate DBA Amount For Employee
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
| ||||
mnDBACode | PDBA | MATH_NUMERIC | REQ | INPUT |
A code that defines the type of pay, deduction, benefit, or accrual.
Pay types are numbered from 1 to 999. Deductions and benefits are
| ||||
jdDateBeginning | EFTB | JDEDATE | REQ | INPUT |
The date that an address, item, transaction, or table record becomes active. The meaning of this field differs, depending on the program.
| ||||
jdDateEnding | EFTE | JDEDATE | OPT | INPUT |
The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used
| ||||
mnAmtAccumulated | GPA | MATH_NUMERIC | OPT | OUTPUT |
The actual gross pay amount for an employee. This amount is to be distinguished from the distributed gross pay amount used for labor
| ||||
cErrorCode | ERRC | char | OPT | OUTPUT |
Special Output Returned
|
None |
None |