Functional Description
Purpose
The purpose of the Employee Lockout Function business function is to write a record to the Employee
Lockout Code (F07300) file to signify that the employee has been locked to the Payroll being processed.
Setup Notes and Prerequisites
This function should be called during Pre-Payroll from the Pre-Payroll Driver (R07200) program. You
must call InitializePrePayrollCaches (B0700003) before calling this function in order to retrieve the
appropriate cache names.
Special Logic
None
Technical Specification
Function calls GetPayrollLockoutStatus (N0500021) to determine whether employee has been locked to another
payroll. If so, the cErrorFlag output parameter is set to '1' and the function returns to the calling program.
Function Reads Employee Multiple Jobs (F060118) file using Address Number, Job Code and Job Step.
Dates (PTDT) on F060118
Determine whether Employee Payroll Company EQ Home Company
Employee Home Business Unit in Pay Cycle Group Code
If Condition True, Set cEmployeeLockoutFlag to '1'
D0700021 - DS for Employee Lockout Function
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szPayrollCompany | CO | char | REQ | INPUT |
Special Input Expected
| ||||
szPayCycleGroupCode | CYGR | char | REQ | INPUT |
Special Input Expected
| ||||
cPayCycleGroupType | PCGT | char | REQ | INPUT |
Special Input Expected
| ||||
jdPayrollEndingDate | EFTE | JDEDATE | REQ | INPUT |
Special Input Expected
| ||||
jdPayrollBeginningDate | EFTB | JDEDATE | REQ | INPUT |
Special Input Expected
| ||||
szPayrollID | PAYD | char | REQ | INPUT |
Special Input Expected
| ||||
mnAddressNumber | AN8 | MATH_NUMERIC | REQ | INPUT |
Special Input Expected
| ||||
jdDateEmploymentStart | DST | JDEDATE | REQ | INPUT |
Special Input Expected
| ||||
mnPayCycleBypassCount | PYCB | MATH_NUMERIC | REQ | INPUT |
Special Input Expected
| ||||
szHomeCompany | HMCO | char | REQ | INPUT |
Special Input Expected
| ||||
szHomeBusinessUnit | HMCU | char | REQ | INPUT |
Special Input Expected
| ||||
szPositionID | POS | char | REQ | INPUT |
Special Input Expected
| ||||
szJobCode | JBCD | char | REQ | INPUT |
Special Input Expected
| ||||
szJobStep | JBST | char | REQ | INPUT |
Special Input Expected
| ||||
szUnionCode | UN | char | REQ | INPUT |
Special Input Expected
| ||||
jdNextRaiseDate | NRDT | JDEDATE | REQ | INPUT |
Special Input Expected
| ||||
mnNextHourlyRate | HRTN | MATH_NUMERIC | REQ | INPUT |
Special Input Expected
| ||||
cPayFrequency | PFRQ | char | REQ | INPUT |
Special Input Expected
| ||||
szCheckControlCache | PID | char | REQ | INPUT |
Special Input Expected
| ||||
szTimecardCache | PID1 | char | REQ | INPUT |
Special Input Expected
| ||||
szMultipleJobsCache | PID2 | char | REQ | INPUT |
Special Input Expected
| ||||
szPayCycleCache | PID3 | char | REQ | INPUT |
Special Input Expected
| ||||
jdDateUpdated | UPMJ | JDEDATE | OPT | INPUT |
Special Input Expected
| ||||
mnTimeLastUpdated | UPMT | MATH_NUMERIC | OPT | INPUT |
Special Input Expected
| ||||
szProgramID | PID4 | char | OPT | INPUT |
Special Input Expected
| ||||
szWorkStationID | JOBN | char | OPT | INPUT |
Special Input Expected
| ||||
szUserID | USER | char | OPT | INPUT |
Special Input Expected
| ||||
mnNumberJobs | MATH01 | MATH_NUMERIC | OPT | OUTPUT |
Special Input Expected
| ||||
cErrorFlag | EV01 | char | OPT | OUTPUT |
Special Input Expected
| ||||
cPayTypeHSP | SALY | char | REQ | INPUT |
Special Input Expected
| ||||
szNameAlpha | ALPH | char | REQ | INPUT |
Special Input Expected
| ||||
cEELockedAnotherPayrollFlag | EV03 | char | OPT | OUTPUT |
A radio button that specifies the level at which trace/track result is to be displayed. Select the Detail to display all transactions except IB, IX,
| ||||
cPayPeriodNumber1 | PPM1 | char | OPT | INPUT |
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
| ||||
cPayPeriodNumber2 | PPM2 | char | OPT | INPUT |
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
| ||||
cPayPeriodNumber3 | PPM3 | char | OPT | INPUT |
The number of the pay period, within the month, for employees paid semimonthly. The system uses this value and the Pay Period to
| ||||
cPayPeriodNumber4 | PPM4 | char | OPT | INPUT |
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
| ||||
cPayPeriodNumber5 | PPM5 | char | OPT | INPUT |
The number of the pay period for employees who are paid annually. This field is used in conjunction with the Pay Period to Calculate field
| ||||
cPayPeriodNumber6 | PPM6 | char | OPT | INPUT |
The number of the pay period, within the month, that is used in conjunction with the Pay Period to Calculate field on the DBA Setup form to
| ||||
cEELockoutUpdateFlag | UFLG | char | OPT | NONE |
This indicator in the employee master is under program control. It is set to Y when anything is added, changed or deleted related to the
| ||||
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
|
B0700003 Create PrePayroll Caches | ||||
B0700019 Lock Timecards Function | ||||
N0500021 Get Payroll Lockout Status | ||||
N0700105 F07355 Write Pre-Payroll Error Record |
F060118 Employee Jobs | ||||
F07300 Employee Lockout Code File |