AddToDBADetailCache

Add Records to the DBA Detail Cache

Minor Business Rule

Object Name: B0700370

Parent DLL: CPAY

Location: Client/Server

Language: C

Data Structure

D0700370 - Add records to DBA Detail Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
mnPayDeductBenAccTypePDBAMATH_NUMERICREQINPUT

A code that defines the type of pay, deduction, benefit, or accrual. Pay types are numbered from 1 to 999. Deductions and benefits are 
numbered from 1000 to 9999.

mnPayrollTransactionNoPRTRMATH_NUMERICREQINPUT

A unique number that the system assigns to each timecard. You can use this field in the Time Entry By Job program to retrieve a specific 
timecard for display. This field is also used to tie a timecard to each Actual Burden audit record created for the timecard during the Actual 
Burden Journaling process.

mnMonthWorkedDTEMMATH_NUMERICREQINPUT

A two-digit number that specifies the applicable month.  If you leave this field blank, the program uses the system date.

mnAmountGPAMATH_NUMERICOPTNONE

The actual gross pay amount for an employee. This amount is to be distinguished from the distributed gross pay amount used for labor 
distribution. See data item DPAY. When using Work Order Time Entry, this field is used to record miscellaneous pay for an employee, (for 
example, piece rate bonus).

mnArrearageAmountARRAMATH_NUMERICOPTNONE

The amount of the deduction that is being or has been reduced because the employee did not receive wages that could cover the payroll 
taxes and deductions calculated within the payroll cycle.

mnHoursWorkedPHRWMATH_NUMERICOPTNONE

The number of hours associated with each transaction.

mnPiecesUnitsPCUNMATH_NUMERICOPTNONE

The number of pieces for piecework or any other unit of measure you want to track for this employee. Examples are:  recording miles driven 
for drivers of company vehicles, cubic yards of concrete, feet drilled, or miles flown and so forth.

szDBADetailCachePID1charOPTNONE

Program ID - 01

mnCheckControlNumberCKCNMATH_NUMERICREQINPUT

A number used to group all payroll transactions for each payment or individual interim payment. This number is carried into the accounting 
journal entries and facilitates the update of the actual check number after payment printing is complete. This number is also used for 
automatically voiding payments. The payment work table contains both the actual check number and the check control number. All associated 
payment transactions are automatically reversed using the check control number. This is not the actual check number.

jdDateWorkedDWKJDEDATEOPTNONE

The date used as the actual work date or pay-period ending date.

szBusinessUnitDBAAllocationMCUGcharOPTNONE

This field will come from one of two sources:    1.   Direct entry of a business unit on the One-Time-Override screen; or    2.   When the system 
automatically calculates a DBA based on finding an entry in the Union/Plan Master (F069106) specifically for the business unit matching one 
or more time cards. Only in these two cases will the business unit be filled in in the F0609 and F0619 files. In all other cases it will be blank.

mnWorkStateWSTMATH_NUMERICOPTNONE

Vertex state code identifying the state where the employee works.  REQUIRED.

mnWorkCountyWCNTMATH_NUMERICOPTNONE

Vertex county code identifying where the employee works. Zero fill if you do not need to calculate county taxes.

mnWorkCityWCTYMATH_NUMERICOPTNONE

Vertex city code identifying the city where the employee works. Zero fill if you do not need to calculate city taxes.

szUnionCode_UNUNcharOPTNONE

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

szJobCode_JBCDJBCDcharOPTNONE

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.

szJobStep_JBSTJBSTcharOPTNONE

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.

szWorkersCompInsurCode_WCMPWCMPcharOPTNONE

A user defined code (00/W) that represents a workers' compensation insurance (WCI) code. This code should correspond to the 
classifications on your periodic workers' compensation insurance reports.

cFloatCode_WETWETcharOPTNONE

A code that specifies any special circumstances associated with the workers compensation insurance (WCI) code, resulting in multiple 
rates for the same WCI code due to location or risk, for example. The subclass should remain blank if multiple rates do not exist. Default codes 
are: Blank There are no special circumstances associated with this code. F There are special circumstances associated with this code.

cF0709WrittenFlagEV01charOPTNONE

An option that specifies the type of processing for an event.

Related Functions

B0700003 Create PrePayroll Caches

Related Tables

None