Functional Description
Purpose
The purpose of the Pay Cycle Group Function business function is to add records to the Pay Cycle
Group Cache and to determine whether the Pay Cycle Group Flag is "on" - equal to '1' - for a given
employee.
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
'b7Functions determines whether there are records in the Pay Cycle Group Cache:
Business Unit passed to the function.
to calling program via the cPayCycleGroupFlag (i.e., set to '1').
Constants (F069056) using Business Unit passed to function. If matching record is found,
the Pay Cycle Group (yocygr) on the F069056 record is compared to the Pay Cycle
Group that is passed to function.
and passed to the calling program and a record is added to the Pay
Cycle Group Cache.
If the groups are not equal, then cPayCycleGroupFlag is set to
'0' and passed to the calling program and a record is added to the
Pay Cycle Group Cache.
If Business Unit Constants (F069056) record is not successfully
fetched:
program and a record is added to the Pay Cycle Group Cache.
'b7If there are no records in the Pay Cycle Group Cache:
Unit passed to function. If matching record is found, the Pay Cycle Group (yocygr) on
the F069056 record is compared to the Pay Cycle Group that was passed to function.
and passed to the calling program and a record is added to the Pay
Cycle Group Cache.
'0' and passed to the calling program and a record is added to the
Pay Cycle Group Cache.
fetched:
program and a record is added to the Pay Cycle Group Cache.
D0700018 - DS for Pay Cycle Group Function
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szPayCycleGroup | CYGR | char | REQ | INPUT |
Special Input Expected
| ||||
szBusinessUnit | MCU | char | REQ | INPUT |
Special Input Expected
| ||||
cPayCycleGroupFlag | EV01 | char | OPT | OUTPUT |
Special Input Expected
| ||||
szPayCycleCache | PID | char | REQ | INPUT |
Special Input Expected
|
B0700003 Create PrePayroll Caches |
F069056 Establishment Constant File |