PRSHIFTHDR – Contains the shift table code definitions.

System
Payroll (PR)
Prefix
PSH
Primary key
COMPANY, SHIFT-CODE, EFFECT-DATE
Fields
7
Updated by
41 programs
Referenced by
3 programs

PRSHIFTHDR is the Contains the shift table code definitions. table in Lawson Payroll (prefix PSH). It is indexed by COMPANY, SHIFT-CODE, EFFECT-DATE (PSHSET1); alternate indexes: PSHSET2. It is related 1:1 to PRSYSTEM and 1:M to PRSHIFTTBL. It is updated by BN150, EXI2.1, EXI4.1, LP130, PR128, PR131, PR132, PR134 and 33 more and referenced by PR20.4, PR220 and ZH230. The table has 7 fields, 2 indexes and 2 documented relations.

About PRSHIFTHDR

Contains the shift table code definitions.

Fields (7)

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

Field / columnTypeDescription & valuesUpdated by
PSH-COMPANY PK
COMPANY
Numeric 4PR24.1
PSH-SHIFT-CODE PK
SHIFT_CODE
Alpha 4Contains the shift table.PR24.1
PSH-EFFECT-DATE PK
EFFECT_DATE
Numeric 8 (yyyymmdd)Contains the date the shift takes effect.PR24.1
PSH-GRADE-RNG-PCT
GRADE_RNG_PCT
Alpha 1Indicates whether the rates are a percent of grade range.
  • Y Yes
  • N No
PR24.1
PSH-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)Contains the shift description.PR24.1
PSH-CURRENCY-CODE
CURRENCY_CODE
Alpha 5This field contains the company base currency code established in Company (GL10.1 ).PR24.1
PSH-CURR-ND
CURR_ND
Numeric 1The number of decimals assigned to a particular account as determined by the account currency.PR24.1

Indexes (2)

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

IndexKeysFlagsConditionUsed in
PSHSET1COMPANY, SHIFT-CODE, EFFECT-DATEPrimaryPR20.4, PR220, PR24.1
PSHSET2COMPANY, SHIFT-CODE, EFFECT-DATE*BN150, PR521, ZH230, EXI2.1, EXI4.1, LP130, PR128, PR131 +22 more (list truncated in source)

Relations

One to one (1) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequiredPSH-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL

One to many (1) — child tables

RelationTableRulesConditionField map
Shift TablePRSHIFTTBLDelete CascadesPSH-COMPANYPSB-COMPANY, PSH-SHIFT-CODEPSB-SHIFT-CODE, PSH-EFFECT-DATEPSB-EFFECT-DATE, PSB-SHIFT, PSB-JOB-CODE, PSB-INDICATOR, PSB-SCHEDULE, PSB-PAY-GRADE, PSB-PAY-STEP

Programs

Updated by (41)

Referenced by (3)