PROTWRKPRD – Overtime Work Periods

System
Payroll (PR)
Prefix
PRW
Primary key
COMPANY, PLAN-CODE, EFFECT-DATE, WRK-START-DATE
Fields
5
Updated by
4 programs
Referenced by
36 programs

PROTWRKPRD is the Overtime Work Periods table in Lawson Payroll (prefix PRW). It is indexed by COMPANY, PLAN-CODE, EFFECT-DATE, WRK-START-DATE (PRWSET1); alternate indexes: PRWSET2 and PRWSET3. It is related 1:1 to PRSYSTEM and PROVERTIME. It is updated by PR21.1, PR21.4, PR521 and PR999 and referenced by BN100, BN101, BN102, BN103, BN105, BN145, BN245, BN260 and 28 more. The table has 5 fields, 3 indexes and 2 documented relations.

About PROTWRKPRD

This file contains the pay plans with the start and end dates of the work periods within the plans.

Fields (5)

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

Field / columnTypeDescription & valuesUpdated by
PRW-COMPANY PK
COMPANY
Numeric 4PR21.1, PR21.4, PR521, PR999
PRW-PLAN-CODE PK
PLAN_CODE
Alpha 4Contains the user-defined code that represents a pay plan.PR21.1, PR21.4, PR521, PR999
PRW-EFFECT-DATE PK
EFFECT_DATE
Numeric 8 (yyyymmdd)Contains the effective date of the pay plan.PR21.1, PR21.4, PR521, PR999
PRW-WRK-START-DATE PK
WRK_START_DATE
Numeric 8 (yyyymmdd)Contains the work period start date.PR21.1, PR21.4, PR521, PR999
PRW-WRK-END-DATE
WRK_END_DATE
Numeric 8 (yyyymmdd)Contains the work period end date.PR21.1, PR21.4, PR521, PR999

Indexes (3)

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

IndexKeysFlagsConditionUsed in
PRWSET1COMPANY, PLAN-CODE, EFFECT-DATE, WRK-START-DATEPrimaryBN100, BN101, BN102, BN103, BN105, BN145, BN245, BN260 +22 more (list truncated in source)
PRWSET2COMPANY, PLAN-CODE, WRK-END-DATE, EFFECT-DATE*KeyChangePR131, PR132, PR32.1, PR32.2
PRWSET3COMPANY, PLAN-CODE, EFFECT-DATE, WRK-START-DATE*KeyChangePR21.2, PR21.4, PR221, PR521, PR999, PREN.1

Relations

One to one (2) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequiredPRW-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
Overtime PlanPROVERTIMERequiredPRW-COMPANYPRO-COMPANY, PRW-PLAN-CODEPRO-PLAN-CODE, PRW-EFFECT-DATEPRO-EFFECT-DATE

Programs

Updated by (4)

Referenced by (36)