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. PK = primary key (present in every index); SETn = leading/alternate key of that index.

Field / columnTypeDescription & valuesUpdated by
#PSH-COMPANY PK
COMPANY
Numeric 4—PR24.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 are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
PSHSET1
  1. COMPANY
  2. SHIFT-CODE
  3. EFFECT-DATE
PrimaryPR20.4, PR220, PR24.1
PSHSET2
  1. COMPANY
  2. SHIFT-CODE
  3. EFFECT-DATE ↓
BN150, PR521, ZH230, EXI2.1, EXI4.1, LP130, PR128, PR131 +22 more (list truncated in source)

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
PRSYSTEMPRSHIFTTBLPRSHIFTHDR

One to one (1) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequired
PSH-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL

One to many (1) — child tables

RelationTableRulesConditionField map
Shift TablePRSHIFTTBLDelete Cascades
PSH-COMPANY→PSB-COMPANY
PSH-SHIFT-CODE→PSB-SHIFT-CODE
PSH-EFFECT-DATE→PSB-EFFECT-DATE
—→PSB-SHIFT
—→PSB-JOB-CODE
—→PSB-INDICATOR
—→PSB-SCHEDULE
—→PSB-PAY-GRADE
—→PSB-PAY-STEP

Programs

Updated by (41)

Referenced by (3)