Functional Description
Purpose
The purpose of this function is to create records in the Stub Information (F07352) file.
Setup Notes and Prerequisites
PDBA Print Rules: There are specific PDBA Print rules that determine how Timecard and PDBA records
should be summarized when written to the Stub Information File (F07352). The print method codes for
Timecards and Deductions, Benefits and Accruals are listed below:
Timecards
Y Print on paystub; default (no special summarization, one entry per timecard)
S Print on a separate check; one item per check (no special summarization, one entry per timecard)
C Print on separate check, C types combined
N Do not print on paystub (no record will be written to the Paystub Detail file)
Deductions, Benefits and Accruals
Y- Print as total deductions; default (these records will be summarized by PDBA type, and Print
Method. The summarized record will be written to the Paystub Detail file.
S- Print on separate check, one item per check (no special summarization, one entry per DBA)
C- Print separate check (no special summarization, one entry per DBA)
N- Do not print on paystub (no record will be written to the Paystub Detail file)
I- Print individual transactions (no special summarization, one entry per DBA)
T- Print by DBA Print Group (summarization occurs on PDBA Type, Print Method, and DBA Print Group)
Special Logic
Technical Specification
Parameters:
Data Item Data Structure Description I/O RequiredNotes
PAYD Payroll ID I Y This is the Payroll ID
AN8 Address Number I Y This is the address number for an employee
PID Check Control Cache Name I Y This is the unique name of the check control
cache.
PID1 Time Card Cache Name I Y This is the unique name of the time card cache.
PID2 DBA Cache Name I Y This is the unique name of the DBA cache.
PID3 Deduction Cache Name I Y This is the deduction cache.
UPMJ Date Updated I Y This is the date the stub was updated
UPMT Time Last Updated I Y This is the time the stub was updated.
PID4 Program ID I Y This is the program that updated the stub file.
JOBN Workstation ID I Y This is the computer name that updated the stub
file.
USER User ID I Y This is the user ID that updated the stub file.
NPYM Number of Payments O Y Total number of payments in this Payroll ID.
NCKS Number of Checks O Y Total number of checks in this Payroll ID.
NCIC Number of Comp.Int Checks O Y Total number of computer interim checks in this
Payroll
NMIC Number Manual Int. Checks O Y Total number of manual interim checks in this
Payroll.
NAUD Number of Auto Deposits O Y Total number of auto deposits in this Payroll.
ALPH NameAlpha I Y This is the Alpha Name for the employee being
processed.
Related Tables
Table Table Description
F07352 Stub Information File
F07353 Tax Detail File
Related Business Functions
Source Name Function Name
N0500017 Retrieve PDBA Description and Type
N0500024 Retrieve SVH Available Hours
N0700002 Retrieve Tax Area Description
N0800031 Get UDC Description
B0700002 CreatePaymentDistribution Records
B0700003 Create PrePayroll Caches
Processing
Create Paystub records (pseudo code):
CheckControlNumberFlag = 'N';
CheckControlNumberFlag = Read CheckControlNumberCache('85.);
While (CheckControlNumberFlag == 'Y')
^
D0700001 - DS for Create Stub Detail Records
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szPayrollID | PAYD | char | OPT | NONE |
A code that identifies a group of employees for whom you are processing payroll. Use this ID to process each step of the payroll
| ||||
mnAddressNumber | AN8 | MATH_NUMERIC | OPT | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
szCheckControlCacheName | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szTimecardCacheName | PID1 | char | OPT | NONE |
Program ID - 01 | ||||
szDBACacheName | PID2 | char | OPT | NONE |
Program ID - 02 | ||||
szDeductionCacheName | PID3 | char | OPT | NONE |
Program ID - 03 | ||||
jdDateUpdated | UPMJ | JDEDATE | OPT | NONE |
The date that specifies the last update to the file record. | ||||
mnTimeLastUpdated | UPMT | MATH_NUMERIC | OPT | NONE |
The time that specifies when the program executed the last update to this record. | ||||
szProgramID | PID4 | char | OPT | NONE |
Program ID - 04 | ||||
szWorkStationID | JOBN | char | OPT | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
szUserID | USER | char | OPT | NONE |
The code that identifies a user profile. | ||||
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
| ||||
cPayPeriodWeekly | PPM1 | char | OPT | NONE |
The number of the pay period, within the month, for employees who are paid weekly. This field is used in conjunction with the Pay Period to
| ||||
cPayPeriodBiWeekly | PPM2 | char | OPT | NONE |
The number of the pay period, within the month, for employees who are paid biweekly. The system uses this value and the Pay Period to
| ||||
cPayPeriodSemiMonthly | PPM3 | char | OPT | NONE |
The number of the pay period, within the month, for employees paid semimonthly. The system uses this value and the Pay Period to
| ||||
cPayPeriodMonthly | PPM4 | char | OPT | NONE |
The number of the pay period within the month, for employees who are paid monthly. This field is used in conjunction with the Pay Period to
| ||||
jdDatePayCheck | CKDT | JDEDATE | OPT | NONE |
The date associated with the various types of net pay instructions. This date relates to a payroll check, an interim payment, a bank
| ||||
cAutoDepositOverride | ADOF | char | OPT | NONE |
A code that specifies whether to override auto deposits. A Y turns off auto deposit for all employees in this pre-payroll processing version
| ||||
cAutoDepositPreNote | ADPN | char | OPT | NONE |
A code that lets you test the deposit instructions for one pay period before actually processing a deposit. Adding an employee to this form
| ||||
szGLBankAccount | GLBA | char | OPT | NONE |
The number of the bank account (general ledger account) to be updated automatically when receipts or disbursements are entered. The
| ||||
idPPATWorkfield | GENLNG | ID | OPT | NONE |
General purpose ID variable. | ||||
mnNumberPayments | NPYM | MATH_NUMERIC | OPT | NONE |
The total number of payments in this Payroll ID. | ||||
mnNumberChecks | NCKS | MATH_NUMERIC | OPT | NONE |
The total number of checks in this Payroll ID. | ||||
mnNumberAutoDeposits | NAUD | MATH_NUMERIC | OPT | NONE |
The total number of auto deposits in this Payroll ID. | ||||
mnTotalNumberEmployeesPaid | TNEP | MATH_NUMERIC | OPT | NONE |
The total number of employees being processed in this Payroll ID. | ||||
szNameAlpha | ALPH | char | OPT | NONE |
The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter
| ||||
cGrossNetErrorFlag | EV02 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cVoidFlag | EV01 | char | OPT | INPUT |
An option that specifies the type of processing for an event. | ||||
szSickVacationCache | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szCountry | CTR | char | OPT | NONE |
A user defined code (00/CN) that identifies a country. The country code has no effect on currency conversion.
The Address Book system
| ||||
szTaxDetailCache | PID3 | char | OPT | NONE |
Program ID - 03 | ||||
cLeaveBalanceRollFlag_EV01 | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szAAIJournalsCache_PID | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
|
B0700002 Create Payment Distribution Records | ||||
B0700003 Create PrePayroll Caches | ||||
N0500017 Retrieve PDBA Description & PDBA Type | ||||
N0500024 Retrieve SVH Available Hours | ||||
N0700002 Retrieve Tax Area Description | ||||
N0800031 Get UDC Description |
F07350 Payment File | ||||
F07352 Stub Information File | ||||
F07353 Tax Detail File |