PROTPAYPRD – Overtime Pay Periods

System
Payroll (PR)
Prefix
PRY
Primary key
COMPANY, PLAN-CODE, EFFECT-DATE, PAY-START-DATE
Fields
6
Updated by
6 programs
Referenced by
55 programs

PROTPAYPRD is the Overtime Pay Periods table in Lawson Payroll (prefix PRY). It is indexed by COMPANY, PLAN-CODE, EFFECT-DATE, PAY-START-DATE (PRYSET1); alternate indexes: PRYSET2 and PRYSET3. It is related 1:1 to PRSYSTEM and PROVERTIME. It is updated by PR192, PR21.1, PR21.3, PR21.4, PR521 and PR999 and referenced by BN100, BN101, BN102, BN103, BN105, BN145, BN150, BN245 and 47 more. The table has 6 fields, 3 indexes and 2 documented relations.

About PROTPAYPRD

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

Fields (6)

Column = COBOL field name without the PRY- 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
#PRY-COMPANY PK
COMPANY
Numeric 4—PR21.1, PR21.4, PR521, PR999
#PRY-PLAN-CODE PK
PLAN_CODE
Alpha 4Contains the user-defined code that represents a pay plan.PR21.1, PR21.4, PR521, PR999
#PRY-EFFECT-DATE PK
EFFECT_DATE
Numeric 8 (yyyymmdd)Contains the effective date of the pay plan.PR21.1, PR21.4, PR521, PR999
#PRY-PAY-START-DATE PK
PAY_START_DATE
Numeric 8 (yyyymmdd)Contains the pay period start date.PR21.1, PR21.4, PR521, PR999
#PRY-PAY-END-DATE
PAY_END_DATE
Numeric 8 (yyyymmdd)Contains the pay period end date.PR21.1, PR21.4, PR521, PR999
#PRY-STD-COST-HRS
STD_COST_HRS
Signed 7.2—PR21.3, PR21.4, PR521

Indexes (3)

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
PRYSET1
  1. COMPANY
  2. PLAN-CODE
  3. EFFECT-DATE
  4. PAY-START-DATE
PrimaryBN100, BN101, BN102, BN103, BN105, BN145, BN150, BN245 +22 more (list truncated in source)
PRYSET2
  1. COMPANY
  2. PLAN-CODE
  3. EFFECT-DATE ↓
  4. PAY-START-DATE ↓
BN66.1, PR140, PR189, PR195, PR274, PR582, PR80.1, PR80.4 +5 more
PRYSET3
  1. COMPANY
  2. PLAN-CODE
  3. EFFECT-DATE
  4. PAY-START-DATE ↓
KeyChangePR21.2, PR21.4, PR521, PR271, PR282, PR32.1, PR32.2, PR999 +1 more

Relations

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

One to one (2) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequired
PRY-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
Overtime PlanPROVERTIMERequired
PRY-COMPANY→PRO-COMPANY
PRY-PLAN-CODE→PRO-PLAN-CODE
PRY-EFFECT-DATE→PRO-EFFECT-DATE

Programs

Updated by (6)

Referenced by (55)