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. PK = primary key (present in every index); SETn = leading/alternate key of that index.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
#PAF-COMPANY PKCOMPANY | Numeric 4 | — | PA590, PA90.2 |
#PAF-EMPLOYEE PKEMPLOYEE | Numeric 9 | Contains 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 PKESTABLISHMENT | Alpha 10 | Contains the establishment where the incident took place. | PA590, PA90.2 |
#PAF-INCIDENT-NBR PKINCIDENT_NBR | Numeric 4 | Contains the incident report number. | PA590, PA90.2 |
#PAF-SEQ-NBR PKSEQ_NBR | Numeric 4 | An automatically assigned sequence number. | PA590, PA90.2 |
#PAF-EFFECT-DATE SET2EFFECT_DATE | Numeric 8 (yyyymmdd) | Contains the date for the follow up information. | PA590, PA90.2 |
#PAF-FOLLOW-STATFOLLOW_STAT | Alpha 10 | Contains the user-defined incident follow up status. | PA590, PA90.2 |
#PAF-FOLLOW-CATFOLLOW_CAT | Alpha 10 | Contains the user-defined incident follow-up category. | PA590, PA90.2 |
#PAF-FOLLOW-TYPEFOLLOW_TYPE | Alpha 10 | Contains the user-defined incident follow up type. | PA590, PA90.2 |
#PAF-OUTCOMEOUTCOME | Alpha 10 | Contains the user-defined incident outcome. | PA590, PA90.2 |
#PAF-PERFORMED-BYPERFORMED_BY | Numeric 9 | Contains the employee who performed the incident follow up. | PA590, PA90.2 |
#PAF-COMMENTCOMMENT | Alpha 40 (Lower Case) | Contains comments about the incident follow up. | PA590, PA90.2 |
#PAF-DATE-STAMPDATE_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-STAMPTIME_STAMP | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | PA590, PA90.2 |
#PAF-USER-IDUSER_ID | Alpha 10 (Lower Case) | — | PA590, PA90.2 |
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.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
PAFSET1 |
| Primary | HR00.1, HR01.1, HR11.1, PA115, PA290, PA372, PA490, PA590 +2 more | |
PAFSET2 |
| KeyChange | PA290, PA90.2 |
Relations
One to one (10) — lookups and parents
| Relation | Table | Rules | Condition | Field map | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Company | PRSYSTEM | Required |
| |||||||||||||
| Employee | EMPLOYEE | Required |
| |||||||||||||
| Establishment | OSHESTAB | Required | When (PAF-ESTABLISHMENT != Spaces) |
| ||||||||||||
| Follow Outcome | PCODES | Required | When (PAF-OUTCOME != Spaces) |
| ||||||||||||
| Follow Up Cat | PCODES | Required | When (PAF-FOLLOW-CAT != Spaces) |
| ||||||||||||
| Follow Up Stat | PCODES | Required | When (PAF-FOLLOW-STAT != Spaces) |
| ||||||||||||
| Follow Up Type | PCODES | Required | When (PAF-FOLLOW-TYPE != Spaces) |
| ||||||||||||
| Incident | OSHA | Required |
| |||||||||||||
| Paemployee | PAEMPLOYEE | Required |
| |||||||||||||
| Performed By | EMPLOYEE | Required | When (PAF-PERFORMED-BY != Zeroes) |
|