Function Name: Process CPR Job Cache
Object Name: B0700068
Object Desc: CPR Cache and Other Functions
Parent DLL: CHRM
Location Client/Server
Language: C
Functional Description
Purpose:
This function will create and retrieve valid job classification records into a cache. The job classification records are first read from the F06923 (valid job
type/step constant), within the certified payroll register UBE.
Data Item Data Structure Description I/ORequiredNotes
PID szJobCodeStepCache IRequired
MCU szCostCenter IRequired
UN szUnionCode IRequired
JBCD szJobCategory IRequired
JBST szJobStep IRequired
CEDT cCertifiedEditFlag I/ORequired
AJBC szAlternateJobCategory I/ORequired
AJBS szAlternateJobStep I/ORequired
EV01 cProcessingMode IRequired
Related Tables:
Called Functions:
Source NameFunction Name
Error Messages:
Data ItemDescription
3143Cache can not be accessed
Special Logic/Notes:
This function is called in one of two methods.
With the processing mode set to '0', a record will be added/updated to the job type/step cache. This
cache contains the list of valid job types and steps.
With the processing mode set to '1', the alternate job category, alternate job step and certified
edit flag will be returned for a valid job category and step.
^
D0700068A - DS for Process CPR Job Cache
There are two methods to populate the data structure parameters. The first is when loading a record
to the cache. The second is retrieving a record from the cache.
Load record to cache
Job Code Step Cache - Input
Business Unit - Input
Union Code - Input
Job Category - Input
Job Step - Input
Certified Edit Flag - Input
Alternate Job Category - Input
Alternate Job Step - Input
Processing Mode - Input
Retrieve record from cache
Job Code Step Cache - Input
Business Unit - Input
Union Code - Input
Job Category - Input
Job Step - Input
Certified Edit Flag - Output
Alternate Job Category - Output
Alternate Job Step - Output
Processing Mode - Input
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szJobCodeStepCache | 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
| ||||
szCostCenter | MCU | char | OPT | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szUnionCode | UN | char | OPT | NONE |
A user defined code (06/UN) that represents the union or plan in which the employee or group of employees work or participate. | ||||
szJobCategory | JBCD | char | OPT | NONE |
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
| ||||
szJobStep | JBST | char | OPT | NONE |
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
| ||||
cCertifiedEditFlag | CEDT | char | OPT | NONE |
A code which specifies the type of information to be printed on the Certified Payroll Register for the Job Type and Job Step. The codes are:
| ||||
szAlternateJobCategory | AJBC | char | OPT | NONE |
A user defined code (system 06, type G) that identifies a job classification that will replace the job type code on certain reports. A value
| ||||
szAlternateJobStep | AJBS | char | OPT | NONE |
A user defined code (system 06, type G) that identifies a step within the job classification that will replace the job step code on certain
| ||||
cProcessingMode | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. |
None |
None |