PGSELECT – Emp Group Selection Criteria

System
Human Resources (HR)
Prefix
PGS
Primary key
COMPANY, GROUP-NAME, EMPLOYEE, SEQ-NBR
Fields
18
Updated by
68 programs
Referenced by
7 programs

PGSELECT is the Emp Group Selection Criteria table in Lawson Human Resources (prefix PGS). It is indexed by COMPANY, GROUP-NAME, EMPLOYEE, SEQ-NBR (PGSSET1); alternate indexes: PGSSET4, PGSSET5, PGSSET6 and PGSSET7. It is related 1:1 to PRSYSTEM, PERSGROUP, EMPLOYEE and PADICT. It is updated by BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 and 60 more and referenced by BN100, HR06.1, HR506, HR710, PA149, TM250 and TM255. The table has 18 fields, 5 indexes and 5 documented relations.

About PGSELECT

Contains the selection criteria for defining an employee group. Each selection criteria has its own record in this file.

Fields (18)

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

Field / columnTypeDescription & valuesUpdated by
PGS-COMPANY PK
COMPANY
Numeric 4Contains the company number.HR156, HR55.2, HR55.3, ZH156
PGS-GROUP-NAME PK
GROUP_NAME
Alpha 10Contains the user-defined employee group name.HR156, HR55.1, HR55.2, HR55.3, ZH156
PGS-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains employees to be included in the group regardless of criteria.HR156, HR55.2, ZH156
PGS-SEQ-NBR PK
SEQ_NBR
Numeric 4Contains the sequence number that keeps each record unique.HR156, HR55.2, HR55.3, ZH156
PGS-FLD-NBR
FLD_NBR
Numeric 4Contains the HR data dictionary field number.HR156, HR55.3, ZH156
PGS-INC-EXC-FLAG
INC_EXC_FLAG
Alpha 1Indicates whether to include or exclude the range of values contained in this record.
  • E Exclude
  • I Include
HR156, HR55.2, HR55.3, ZH156
PGS-BEGIN-VALUE
BEGIN_VALUE
Alpha 30Contains the value (or beginning value if a range is used) for the data item in this record.HR156, HR55.3, ZH156
PGS-ENDING-VALUE
ENDING_VALUE
Alpha 30Contains the ending value if a range of values is defined. If a range is not defined, this field is blank.HR156, HR55.3, ZH156
PGS-ITEM-GRP
ITEM_GRP
Alpha 2Contains an item group identifier.HR156, HR55.3, ZH156
PGS-INC-EXC-VAL
INC_EXC_VAL
Derived
PGS-SHORT-BEG-VAL
SHORT_BEG_VAL
Derived
PGS-SHORT-END-VAL
SHORT_END_VAL
Derived
PGS-CREATE-DATE
CREATE_DATE
Numeric 8 (yyyymmdd)HR55.1, HR55.2, HR55.3
PGS-CREATE-TIME
CREATE_TIME
Numeric 6 (hhmmss)HR55.1, HR55.2, HR55.3
PGS-CREATE-USER-ID
CREATE_USER_ID
Alpha 10 (Lower Case)HR55.1, HR55.2, HR55.3
PGS-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)HR55.1, HR55.2, HR55.3
PGS-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)HR55.1, HR55.2, HR55.3
PGS-USER-ID
USER_ID
Alpha 10 (Lower Case)HR55.1, HR55.2, HR55.3

Indexes (5)

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

IndexKeysFlagsConditionUsed in
PGSSET1COMPANY, GROUP-NAME, EMPLOYEE, SEQ-NBRPrimaryBN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +22 more (list truncated in source)
PGSSET4COMPANY, FLD-NBR, GROUP-NAME, SEQ-NBRKeyChangeBN100, BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1 +22 more (list truncated in source)
PGSSET5COMPANY, FLD-NBR, BEGIN-VALUE, GROUP-NAME, SEQ-NBRKeyChangeBN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +22 more (list truncated in source)
PGSSET6COMPANY, GROUP-NAME, FLD-NBR, SEQ-NBRKeyChangeHR55.1, HR55.2, HR55.3
PGSSET7COMPANY, GROUP-NAME, ITEM-GRP, FLD-NBR, SEQ-NBRKeyChangeBN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +22 more (list truncated in source)

Relations

One to one (5) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequiredPGS-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
Emp GroupPERSGROUPRequiredPGS-COMPANYPRG-COMPANY, PGS-GROUP-NAMEPRG-GROUP-NAME
EmployeeEMPLOYEERequiredWhen PGS-EMPLOYEE != ZeroesPGS-COMPANYEMP-COMPANY, PGS-EMPLOYEEEMP-EMPLOYEE
Field NbrPADICTRequiredWhen PGS-FLD-NBR != ZeroesPGS-FLD-NBRPAD-FLD-NBR
Fld NbrPADICTRequiredWhen PGS-FLD-NBR != ZeroesPGS-FLD-NBRPAD-FLD-NBR

Programs

Updated by (68)

Referenced by (7)