HRPY - TCP or TCPxxxx
TCP or TCP+Entity ID
This common code enables the PART1 and PART2 fields on payroll master to be populated based on user selection of fields from HR employee master table, or other derived attributes.
The user selects the fields via one or more common codes whose category is HRPY and whose code is either TCP or TCP concatenated with an entity ID. If an entity specific common code is not present for the employee's entity, the generic common code will be used if it is present.
The user needs to supply at least the generic common code HRPY/TCP. The software will search for an entity specific common code of the form HRPY/TCP+Entity ID, and use that one if it is present. The entity being searched is the entity of the employee under consideration. If it is not present, the generic common code will be used.
Several arrangements of common codes are possible. If several entities share the same PART1/PART2 attributes, the user can put them in the generic common code. The entity or entities whose attributes are different need to have an entity specific common code.
Code Category: HRPY
Code Value: TCP (or TCP+Entity ID)
The first four Association Codes and Association Descriptions are involved in describing which attributes go into PART1 and PART2. The first two fields are for part 1. The 3rd and 4th field are for Part 2. Part 1 consists of the data from the attribute listed on Association Code 1, concatenated with the data from the attribute listed on Association Code 2 (if present). Similarly, Part 2 consists of the data from the attribute listed on Association Code 3, concatenated with the attribute listed on Association Code 4 (if present). The Associated Descriptions are used as a substring selection from the attribute on the same line. So, if Association Code 2 is DEPARTMENT and Association Description 2 is “1,4” it means that the second half of Part 1 will be characters 1 to 4 of the DEPARTMENT attribute.
Supported attributes:
TYPE | Employee type |
BARGUNIT | Bargaining unit |
DEPARTMENT | Department |
ENTITY_ID | Entity |
STAT | PY status |
HR_STATUS | HR status |
CALENDAR | Pay calendar |
CKDIST | Check distribution |
CYCLE | Pay cycle |
WORKSITE | Work site |
DIVISION | Division |
EDUC_CD01 | Education code 1 |
EDUC_CD02 | Education code 2 |
SKILL_CD05 | Skill code 5 |
SEL_CD02 | Selection code 2 |
MISC_CD01 | Miscellaneous code 1 |
SUPERID | Supervisor ID (from HRTBPC via primary pay assignment) |
HR1 through HR28 | 1 to 28 spare items |
The SUPERID comes from fields of the HR Employee Master page. Refer to the employee's most recent primary pay assignment on HRPYPA (or HRPYQP) and get the PCN from that. Then go to the HR PCN/Position Code Definitions (HRTBPC) page, PCN Profile Supplemental tab, for that position, and get the Supervisor ID from the Supervisor field.