HRSUPER – Supervisors

System
Human Resources (HR)
Prefix
HSU
Primary key
COMPANY, CODE
Fields
21
Updated by
36 programs
Referenced by
145 programs

HRSUPER is the Supervisors table in Lawson Human Resources (prefix HSU). It is indexed by COMPANY, CODE (HSUSET1); alternate indexes: HSUSET2, HSUSET3 and HSUSET4. It is related 1:1 to PRSYSTEM, EMPLOYEE, EMSTATUS, PAEMPLOYEE, HRSUPER and PCODES and 1:M to PATHFIND, HRHISTORY and PAJOBREQ. It is updated by BN305, HR00.1, HR01.1, HR07.1, HR11.1, HR11.2, HR11.4, HR28.1 and 28 more and referenced by BN145, BN231, BN232, BN234, BN238, BN240, BN245, BN246 and 137 more. The table has 21 fields, 4 indexes and 14 documented relations.

About HRSUPER

Contains the supervisor code and description as well as the employee number of the individual who is assigned to the supervisor position.

Fields (21)

Column = COBOL field name without the HSU- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
HSU-COMPANY PK
COMPANY
Numeric 4HR07.1, HR507, LT101, LT111, PA242
HSU-CODE PK
CODE
Alpha 10Contains the supervisor code. The supervisor code identifies the supervisor position.HR07.1, HR507, LT101, LT111
HSU-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)Contains the supervisor code description.HR07.1, HR507, LT101, LT111, PA218
HSU-EMPLOYEE
EMPLOYEE
Numeric 9Contains the employee number of the individual who holds the supervisor position.BN305, HR07.1, HR11.1, HR11.2, HR11.4, HR28.1, HR507, HR511 +27 more
HSU-OBJ-ID
OBJ_ID
Numeric 12Contains a system-assigned identifier that provides access to data in related files.HR07.1, HR507, LT101, LT111
HSU-FULL-NAME
FULL_NAME
Derived
HSU-EFFECT-DATE
EFFECT_DATE
Numeric 8 (yyyymmdd)Contains the date the supervisor code becomes effective.HR07.1, HR507, LT101, LT111
HSU-ACTIVE-FLAG
ACTIVE_FLAG
Alpha 1The Active flag of the credit card type.
  • A Active
  • I Inactive
HR07.1, HR507, LT101, LT111
HSU-SUPER-RPTS-TO
SUPER_RPTS_TO
Alpha 10Indicates supervisor to whom this supervisor reports.HR07.1, HR507, LT101, LT111
HSU-USER1
USER1
Alpha 10Contains information from the first user field.HR07.1, HR507, LT101, LT111
HSU-USER2
USER2
Alpha 10Contains information from the second supervisor user field.HR07.1, HR507, LT101, LT111
HSU-USER3
USER3
Alpha 10Contains information from the third user field.HR07.1, HR507, LT101, LT111
HSU-USER4
USER4
Alpha 10Contains information from the fourth user field.HR07.1, HR507, LT101, LT111
HSU-USER5
USER5
Alpha 10Contains information from the fifth user field.HR07.1, HR507, LT101, LT111
HSU-FULL-NAME-SUFF
FULL_NAME_SUFF
Derived
HSU-FULL-NAME-CND
FULL_NAME_CND
Derived
HSU-SHORT-NAME-CND
SHORT_NAME_CND
Derived
HSU-LABEL-NAME-1
LABEL_NAME_1
Derived
HSU-FULL-NAME-COND
FULL_NAME_COND
Derived
HSU-SHRT-NAME-COND
SHRT_NAME_COND
Derived
HSU-UPDATED-BY-LTM
UPDATED_BY_LTM
Alpha 1
  • Y Yes
  • N No

Indexes (4)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
HSUSET1COMPANY, CODEPrimaryBN145, BN231, BN232, BN234, BN238, BN240, BN245, BN246 +22 more (list truncated in source)
HSUSET2OBJ-IDKeyChangeHR93.4
HSUSET3COMPANY, EMPLOYEE, CODEKeyChangeHR11.1, HS10.1, HS10.2, HS12.1, HS12.2, HS13.1, HS13.2, HS15.1 +7 more
HSUSET4COMPANY, SUPER-RPTS-TO, CODEKeyChange, SubsetWhere (SUPER-RPTS-TO != Spaces)HCSU.1, HR07.1, HR507, HS10.1, HS10.2, LT101, LT111

Relations

One to one (10) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequiredHSU-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
EmployeeEMPLOYEERequiredWhen HSU-EMPLOYEE != ZeroesHSU-COMPANYEMP-COMPANY, HSU-EMPLOYEEEMP-EMPLOYEE
EmstatusEMSTATUSNot RequiredValid When HSU-EMPLOYEE != ZeroesHSU-COMPANYEMS-COMPANY, EMP-EMP-STATUSEMS-EMP-STATUS
PaemployeePAEMPLOYEERequiredHSU-COMPANYPEM-COMPANY, HSU-EMPLOYEEPEM-EMPLOYEE
ParentHRSUPERNot RequiredValid When (HSU-SUPER-RPTS-TO != Spaces)HSU-COMPANYHSU-COMPANY, HSU-SUPER-RPTS-TOHSU-CODE
User1PCODESNot RequiredValid When (HSU-USER1 != Spaces)"S1"PCO-TYPE, HSU-USER1PCO-CODE
User2PCODESNot RequiredValid When (HSU-USER2 != Spaces)"S2"PCO-TYPE, HSU-USER2PCO-CODE
User3PCODESNot RequiredValid When (HSU-USER3 != Spaces)"S3"PCO-TYPE, HSU-USER3PCO-CODE
User4PCODESNot RequiredValid When (HSU-USER4 != Spaces)"S4"PCO-TYPE, HSU-USER4PCO-CODE
User5PCODESNot RequiredValid When (HSU-USER5 != Spaces)"S5"PCO-TYPE, HSU-USER5PCO-CODE

One to many (4) — child tables

RelationTableRulesConditionField map
EmployeesPATHFINDDelete RestrictedHSU-COMPANYPTF-COMPANY, 18PTF-FLD-NBR, HSU-CODEPTF-FLD-VALUE, PTF-EMPLOYEE, PTF-POS-LEVEL
HistoryHRHISTORYDelete CascadesHSU-COMPANYHRH-COMPANY, ZeroesHRH-EMPLOYEE, HSU-OBJ-IDHRH-OBJ-ID, HRH-FLD-NBR, HRH-BEG-DATE, HRH-SEQ-NBR
Indirect EmpsPATHFINDHSU-COMPANYPTF-COMPANY, 289PTF-FLD-NBR, HSU-CODEPTF-FLD-VALUE, PTF-EMPLOYEE, PTF-POS-LEVEL
RequisitionPAJOBREQHSU-COMPANYPJR-COMPANY, HSU-CODEPJR-SUPERVISOR, PJR-REQUISITION

Programs

Updated by (36)

Referenced by (145)