PAFOLLOWUP – Employee Incident Follow Up

System
Personnel (PA)
Prefix
PAF
Primary key
COMPANY, EMPLOYEE, ESTABLISHMENT, INCIDENT-NBR, SEQ-NBR
Fields
15
Updated by
10 programs
Referenced by
0 programs

PAFOLLOWUP is the Employee Incident Follow Up table in Lawson Personnel (prefix PAF). It is indexed by COMPANY, EMPLOYEE, ESTABLISHMENT, INCIDENT-NBR, SEQ-NBR (PAFSET1); alternate indexes: PAFSET2. It is related 1:1 to PRSYSTEM, EMPLOYEE, OSHESTAB, PCODES, OSHA and PAEMPLOYEE. It is updated by HR00.1, HR01.1, HR11.1, PA115, PA290, PA372, PA490, PA590 and 2 more. The table has 15 fields, 2 indexes and 10 documented relations.

About PAFOLLOWUP

No description in the Lawson data dictionary.

Fields (15)

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

Field / columnTypeDescription & valuesUpdated by
PAF-COMPANY PK
COMPANY
Numeric 4PA590, PA90.2
PAF-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains the employee number. Each person employed by the company is assigned a unique number. The system uses the employee number to correlate all of the information related to that person.PA590, PA90.2
PAF-ESTABLISHMENT PK
ESTABLISHMENT
Alpha 10Contains the establishment where the incident took place.PA590, PA90.2
PAF-INCIDENT-NBR PK
INCIDENT_NBR
Numeric 4Contains the incident report number.PA590, PA90.2
PAF-SEQ-NBR PK
SEQ_NBR
Numeric 4An automatically assigned sequence number.PA590, PA90.2
PAF-EFFECT-DATE
EFFECT_DATE
Numeric 8 (yyyymmdd)Contains the date for the follow up information.PA590, PA90.2
PAF-FOLLOW-STAT
FOLLOW_STAT
Alpha 10Contains the user-defined incident follow up status.PA590, PA90.2
PAF-FOLLOW-CAT
FOLLOW_CAT
Alpha 10Contains the user-defined incident follow-up category.PA590, PA90.2
PAF-FOLLOW-TYPE
FOLLOW_TYPE
Alpha 10Contains the user-defined incident follow up type.PA590, PA90.2
PAF-OUTCOME
OUTCOME
Alpha 10Contains the user-defined incident outcome.PA590, PA90.2
PAF-PERFORMED-BY
PERFORMED_BY
Numeric 9Contains the employee who performed the incident follow up.PA590, PA90.2
PAF-COMMENT
COMMENT
Alpha 40 (Lower Case)Contains comments about the incident follow up.PA590, PA90.2
PAF-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)This field contains the server date (month, date, and year) of the last change to this record.PA590, PA90.2
PAF-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.PA590, PA90.2
PAF-USER-ID
USER_ID
Alpha 10 (Lower Case)PA590, PA90.2

Indexes (2)

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

IndexKeysFlagsConditionUsed in
PAFSET1COMPANY, EMPLOYEE, ESTABLISHMENT, INCIDENT-NBR, SEQ-NBRPrimaryHR00.1, HR01.1, HR11.1, PA115, PA290, PA372, PA490, PA590 +2 more
PAFSET2COMPANY, EMPLOYEE, ESTABLISHMENT, INCIDENT-NBR*, EFFECT-DATE*, SEQ-NBR*KeyChangePA290, PA90.2

Relations

One to one (10) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequiredPAF-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
EmployeeEMPLOYEERequiredPAF-COMPANYEMP-COMPANY, PAF-EMPLOYEEEMP-EMPLOYEE
EstablishmentOSHESTABRequiredWhen (PAF-ESTABLISHMENT != Spaces)PAF-COMPANYOTB-COMPANY, PAF-ESTABLISHMENTOTB-ESTABLISHMENT
Follow OutcomePCODESRequiredWhen (PAF-OUTCOME != Spaces)"FO"PCO-TYPE, PAF-OUTCOMEPCO-CODE
Follow Up CatPCODESRequiredWhen (PAF-FOLLOW-CAT != Spaces)"FA"PCO-TYPE, PAF-FOLLOW-STATPCO-CODE
Follow Up StatPCODESRequiredWhen (PAF-FOLLOW-STAT != Spaces)"FS"PCO-TYPE, PAF-FOLLOW-STATPCO-CODE
Follow Up TypePCODESRequiredWhen (PAF-FOLLOW-TYPE != Spaces)"FT"PCO-TYPE, PAF-FOLLOW-TYPEPCO-CODE
IncidentOSHARequiredPAF-COMPANYOSH-COMPANY, PAF-EMPLOYEEOSH-EMPLOYEE, PAF-ESTABLISHMENTOSH-ESTABLISHMENT, PAF-INCIDENT-NBROSH-SEQ-NBR
PaemployeePAEMPLOYEERequiredPAF-COMPANYPEM-COMPANY, PAF-EMPLOYEEPEM-EMPLOYEE
Performed ByEMPLOYEERequiredWhen (PAF-PERFORMED-BY != Zeroes)PAF-COMPANYEMP-COMPANY, PAF-PERFORMED-BYEMP-EMPLOYEE

Programs

Updated by (10)