PERSACTYPE – Personnel Action Code
- System
- Personnel (PA)
- Prefix
PAT- Primary key
COMPANY,ACTION-CODE- Fields
- 17
- Updated by
- 6 programs
- Referenced by
- 88 programs
PERSACTYPE is the Personnel Action Code table in Lawson Personnel (prefix PAT). It is indexed by COMPANY, ACTION-CODE (PATSET1); alternate indexes: PATSET2. It is related 1:1 to PRSYSTEM and PADICT and 1:M to PAACTREAS, HISTERR, PERSACTION and PERSACTHST. It is updated by HR00.1, HR01.1, PA100, PA50.1, PA56.1 and PA57.1 and referenced by BN16.2, BN16.3, BN16.4, BN216, BN305, ES03.1, HAP3.1, HC02.5 and 80 more. The table has 17 fields, 2 indexes and 7 documented relations.
About PERSACTYPE
The Personnel Action Code file contains information about personnel actions. PA50.1 (Action) is the primary program that updates this file.
Fields (17)
Column = COBOL field name without the PAT- 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 |
|---|---|---|---|
#PAT-COMPANY PKCOMPANY | Numeric 4 | Contains the company number which represents an established company. | PA50.1 |
#PAT-ACTION-CODE PKACTION_CODE | Alpha 10 | Contains the code that represents the personnel action. | PA50.1 |
#PAT-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | Contains the description of the personnel action. | PA50.1 |
#PAT-FLD-NBRFLD_NBR | Numeric 4 Occurs 36 Times ×36 | Contains the data dictionary item number corresponding to the field used in the personnel action. | PA50.1 |
#PAT-LAST-CMT-SEQLAST_CMT_SEQ | Numeric 4 | Contains the last sequence number used for personnel action comments. | PA100, PA56.1 |
#PAT-WEB-AVAILABLEWEB_AVAILABLE | Alpha 1 | Indicates whether the employee can change information on the Web by using this action code.
| PA50.1 |
#PAT-WEB-AVAIL-SUPVWEB_AVAIL_SUPV | Alpha 1 | Indicates whether the employee's supervisor can see results of the action on the web. " "
| PA50.1 |
#PAT-WEB-IMMEDIATEWEB_IMMEDIATE | Alpha 1 | Indicates whether an employee or supervisor can make the action immediate using the Web.
| PA50.1 |
#PAT-WORKFLOW-FLAGWORKFLOW_FLAG | Alpha 1 | Indicates whether to initiate a workflow service.
| PA50.1 |
#PAT-HIST-CORR-FLAGHIST_CORR_FLAG | Alpha 2 | Indicates default method the system uses to correct employee history audit files when a retroactive change is performed.
| PA50.1 |
#PAT-ERECRUIT-FLAGERECRUIT_FLAG | Alpha 1 | —
| — |
#PAT-REQUIRE-REASONREQUIRE_REASON | Numeric 1 | Field used to indicate the number of reason codes that must be entered on a personnel action. | PA50.1 |
#PAT-DFT-REASONDFT_REASON | Alpha 10 Occurs 2 Times ×2 | Default reasons for personnel actions. | PA50.1 |
#PAT-DFT-UPD-BNDFT_UPD_BN | Alpha 1 | Default personnel action value for updating benefits.
| PA50.1 |
#PAT-DFT-UPD-LPDFT_UPD_LP | Alpha 1 | Default personnel action value for LP (Absence Management).
| PA50.1 |
#PAT-DFT-UPD-RQ-DEDDFT_UPD_RQ_DED | Alpha 1 | Default personnel action value for updating required deductions.
| PA50.1 |
#PAT-ACTIVE-FLAGACTIVE_FLAG | Alpha 1 | The Active flag of the personnel action.
| PA50.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.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
PATSET1 |
| Primary | BN16.2, BN16.3, BN16.4, BN216, BN305, HC02.5, ES03.1, HAP3.1 +22 more (list truncated in source) | |
PATSET2 |
| Subset | Where (ACTIVE-FLAG = "1") | — |
Relations
One to one (2) — lookups and parents
| Relation | Table | Rules | Condition | Field map | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Company | PRSYSTEM | Required |
| |||||||
| Field Nbr | PADICT | Required | When PAT-FLD-NBR != Zeroes |
|
One to many (5) — child tables
| Relation | Table | Rules | Condition | Field map | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Action Reason | PAACTREAS |
| ||||||||||||||||||||||||||
| Hist Err | HISTERR | Delete Cascades |
| |||||||||||||||||||||||||
| Pers Actions | PERSACTION | Delete Restricted |
| |||||||||||||||||||||||||
| Persacthst | PERSACTHST | Delete Restricted |
| |||||||||||||||||||||||||
| Reason | PAACTREAS | Valid When (PAT-DFT-REASON != Spaces) |
|
Programs
Updated by (6)
- HR00.1 Company
- HR01.1 Process Level
- PA100 Action Update
- PA50.1 Action
- PA56.1 Personnel Action Comments
- PA57.1 Personnel Action Reason Codes
Referenced by (88)
- BN16.2 Add Rules
- BN16.3 Change Rules
- BN16.4 Termination Rules
- BN216 Benefit Entry Rules Listing
- BN305 Highly Compensated Employees
- ES03.1 Time Off Request Rules
- HAP3.1 Applicant Option 4 Selection Invoke
- HC02.5 Turnover Group Criteria
- HCRE.1 Action Reason Code Selects
- HEP4.1 Employee Option 4 Selection Invoke
- HPAT.1 Action Code Selection Invoke
- HPOS.1 Position Selection Invoke
- HPQC.1 Prqcentgrp Select Invoke
- HPRS.1 Process Level Select Invoke
- HR04.4 Alphanumeric User Fields
- HR04.5 Numeric User Fields
- HR04.6 Date User Fields
- HR11.1 Employee
- HR11.2 Compensation Analysis
- HR11.4 Employee Assignment Inquiry
- HR15.1 User Fields
- HR200 Company Listing
- HR28.1 Employee Ethnicity
- HR50.1 Interface Rules
- HR51.2 Employee Interface Data
- HR51.6 Emp Position Interface Data
- HR51.8 WFM Interface Data
- HR511 Employee Conversion
- HR515 User Field Conversion
- HR52.2 Talent Management Interface Data
- HR52.6 Talent Mngmt Emp Position Data
- HR521 Employee History Conversion
- HR54.1 Employee History Correction
- HRS1.1 Select Control
- HRSC.1 Select Control
- LP51.1 Employee Leave of Absence
- LT101 HRM Receiver Update
- LT11.5 HRM User Field Interface
- LT111 HRM Receiver Update
- LT13.5 HRM User Field Interface History
- PA02.1 Position
- PA102 Position Update
- PA105 Employee Audit Report
- PA113 Retroactive History Update
- PA115 Employee Purge
- PA125 Employee History Purge
- PA13.1 Multiple Positions and Jobs
- PA13.2 Multiple Position and Job History
- PA213 Position and Job Listing
- PA223 Starters and Leavers Report
- PA248 Test Listing
- PA250 Personnel Action Code Listing
- PA257 Action Reason Code Listing
- PA258 Report of Actions on Hold
- PA272 Budget and Assigned Resource Listing
- PA311 Employee Profile
- PA341 Hire and Term Listing
- PA370 Employee Review Document
- PA502 Position Conversion
- PA513 Position and Job Conversion
- PA52.1 Individual Action
- PA52.2 Mass Pay Action
- PA52.3 Mass Action
- PA52.4 Hire an Applicant
- PA52.5 Position and Job Action
- PA53.1 Personnel Action Workflow Override
- PA54.1 Personnel Action History Correction
- PA594 EECRS CSV Interface
- PA66.1 Employee Action Summary
- PA66.2 Action Inquiry
- PA66.3 Employee Action Detail
- PA66.4 Employee Action Comments
- PR110 Step And Grade Audit
- PR113 United States Tax Deduction Update
- PR12.6 Employee Automatic Deposit
- PR120 Mass Pay Update
- PR13.1 Employee United States Taxes
- PR13.5 Employee Canada Taxes
- PR13.6 Employee Canada Taxes
- PR13.8 U.S. Tax Deduction Errors
- PR13.9 Employee Additional Tax Details
- PR282 Canada Record of Employment
- PR30.2 Employee Automatic Time Record
- PR512 Employee ACH Distribution Interface
- UK10.1 Pay Rate Table
- UK110 Pay Rate Table Update
- UK210 Pay Rate Table Listing
- ZH510 Update PCP from ZPENDPCP