PSGRELATE – Pay Class/Pay Sum Grp Relation

System
Human Resources (HR)
Prefix
PSR
Primary key
COMPANY, PAY-CLASS, PAY-SUM-GRP
Fields
5
Updated by
44 programs
Referenced by
79 programs

PSGRELATE is the Pay Class/Pay Sum Grp Relation table in Lawson Human Resources (prefix PSR). It is indexed by COMPANY, PAY-CLASS, PAY-SUM-GRP (PSRSET1); alternate indexes: PSRSET2. It is related 1:1 to PRSYSTEM, PAYCLASS and PAYSUMGRP and 1:M to PRPAYCODE. It is updated by BN150, EXI2.1, EXI4.1, HR00.1, HR01.1, LP130, PR128, PR131 and 36 more and referenced by BN100, BN101, BN102, BN103, BN105, BN145, BN245, BN260 and 71 more. The table has 5 fields, 2 indexes and 4 documented relations.

About PSGRELATE

Contains records that define which pay summary groups are linked to a pay class. PR20.3 (Pay Summary Group Relationship) is the primary program that updates this file.

Fields (5)

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

Field / columnTypeDescription & valuesUpdated by
PSR-COMPANY PK
COMPANY
Numeric 4Contains the company number.PR20.3, PR20.8
PSR-PAY-CLASS PK
PAY_CLASS
Alpha 3Contains the pay class to which pay summary groups are related.PR20.3, PR20.8
PSR-PAY-SUM-GRP PK
PAY_SUM_GRP
Alpha 3Contains the pay summary group associated with the pay class.PR20.3, PR20.8
PSR-HOURS-FLAG
HOURS_FLAG
Alpha 1Indicates if hours associated with a specific pay summary group are included, excluded, or subtracted for calculation and reporting.
  • I Include
  • E Exclude
  • S Subtract
PR20.3, PR20.8
PSR-WAGES-FLAG
WAGES_FLAG
Alpha 1Indicates if wages associated with a specific pay summary group are included, excluded, or subtracted for calculation and reporting.
  • I Include
  • E Exclude
  • S Subtract
PR20.3, PR20.8

Indexes (2)

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

IndexKeysFlagsConditionUsed in
PSRSET1COMPANY, PAY-CLASS, PAY-SUM-GRPPrimaryBN100, BN101, BN102, BN103, BN105, BN145, BN150, BN245 +22 more (list truncated in source)
PSRSET2COMPANY, PAY-SUM-GRP, PAY-CLASSBN150, PR521, ZH568, EXI2.1, EXI4.1, LP130, PR128, PR131 +22 more (list truncated in source)

Relations

One to one (3) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequiredPSR-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
Pay ClassPAYCLASSRequiredPSR-COMPANYPCL-COMPANY, PSR-PAY-CLASSPCL-PAY-CLASS
Pay Sum GroupPAYSUMGRPRequiredPSR-COMPANYPSG-COMPANY, PSR-PAY-SUM-GRPPSG-PAY-SUM-GRP

One to many (1) — child tables

RelationTableRulesConditionField map
Pay CodesPRPAYCODEPSR-COMPANYPCD-COMPANY, PSR-PAY-SUM-GRPPCD-PAY-SUM-GRP, PCD-PAY-CODE, PCD-PROCESS-LEVEL, PCD-JOB-CODE

Programs

Updated by (44)

Referenced by (79)