PRQUALIFY – Required Code Select Criteria
- System
- Payroll (PR)
- Prefix
PRQ- Primary key
COMPANY,RECORD-KEY,SEQ-NBR- Fields
- 27
- Updated by
- 3 programs
- Referenced by
- 13 programs
PRQUALIFY is the Required Code Select Criteria table in Lawson Payroll (prefix PRQ). It is indexed by COMPANY, RECORD-KEY, SEQ-NBR (PRQSET1). It is related 1:1 to PRSYSTEM, DEPTCODE, EMSTATUS, JOBCODE, REQCODE, PCODES and PRSTATE. It is updated by HR00.1, HR01.1 and PR03.1 and referenced by HR11.1, HR511, LT101, LT111, PA100, PA52.1, PA52.4, PA52.5 and 5 more. The table has 27 fields, 1 index and 8 documented relations.
About PRQUALIFY
Contains the detail selection criteria for required deductions that have not been defined as applying to "all" employees. Use PR03.1 (Deduction Required Code) to define parameters that determine if the system automatically creates an employee deduction (Employee Deduction file record) when you add an employee. The system compares the detail selection criteria you define, with the employee fields to determine if it should create the employee deduction. The Required Deduction Header file stores the required code header information.
Fields (27)
Column = COBOL field name without the PRQ- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
PRQ-COMPANY PKCOMPANY | Numeric 4 | — | PR03.1 |
PRQ-RECORD-KEY PKRECORD_KEY | Alpha 3 | Contains the deduction required code. | PR03.1 |
PRQ-SEQ-NBR PKSEQ_NBR | Numeric 4 | Contains the deduction sequence number. The value of this field is automatically sequenced based on the Next Nbr field in the Required Deduction Code Header file. | PR03.1 |
PRQ-PROCESS-LEVELPROCESS_LEVEL | Alpha 5 | Contains the employee's process level. The value in this field must be valid in the HR Company and Process Levels file. | PR03.1 |
PRQ-DEPARTMENTDEPARTMENT | Alpha 5 | Contains the employee's department. The value in this field must be valid in the Department Parameters file. | PR03.1 |
PRQ-DATE-HIREDDATE_HIRED | Numeric 8 (yyyymmdd) | Contains the employee's hire date | PR03.1 |
PRQ-ADJ-HIRE-DATEADJ_HIRE_DATE | Numeric 8 (yyyymmdd) | Contains the employee's adjusted hire date | PR03.1 |
PRQ-SALARY-CLASSSALARY_CLASS | Alpha 1 | Contains the employee's salary class.
| PR03.1 |
PRQ-EMP-STATUSEMP_STATUS | Alpha 2 | Contains the employee's status. The value in this field must be valid in the Employee/Applicant Status file. | PR03.1 |
PRQ-PAY-FREQUENCYPAY_FREQUENCY | Numeric 1 | Contains the employee's pay frequency.
| PR03.1 |
PRQ-EXEMPT-EMPEXEMPT_EMP | Alpha 1 | Contains the employee's overtime exempt indicator.
| PR03.1 |
PRQ-JOB-CODEJOB_CODE | Alpha 9 | Contains the employee's job code. The value in this field must be valid in the Job Code Parameters file. | PR03.1 |
PRQ-UNION-CODEUNION_CODE | Alpha 10 | Contains the union code with which the employee is associated. The value in this field must be valid in the Human Resource Code file under type UN (Union). | PR03.1 |
PRQ-TAX-PROVINCETAX_PROVINCE | Alpha 2 | — | PR03.1 |
PRQ-WC-STATEWC_STATE | Alpha 2 | Contains the employee's workers compensation state. | PR03.1 |
PRQ-LOCAT-CODELOCAT_CODE | Alpha 10 | Contains the location code. | PR03.1 |
PRQ-WORK-COUNTRYWORK_COUNTRY | Alpha 2 | The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance). | PR03.1 |
PRQ-WC-PROVINCEWC_PROVINCE | Alpha 2 | — | PR03.1 |
PRQ-WORK-STATEWORK_STATE | Alpha 2 | Contains the employee's work state. | PR03.1 |
PRQ-TAX-STATETAX_STATE | Alpha 2 | Contains the employee's state taxing authority. | PR03.1 |
PRQ-TAX-COUNTYTAX_COUNTY | Alpha 10 | Contains the employee's county taxing authority. | PR03.1 |
PRQ-WORK-COUNTYWORK_COUNTY | Alpha 10 | Contains the employee's work state. | PR03.1 |
PRQ-TAX-CITYTAX_CITY | Alpha 10 | Contains the employee's city taxing authority. | PR03.1 |
PRQ-WORK-CITYWORK_CITY | Alpha 10 | Contains the employee's work city. | PR03.1 |
PRQ-TAX-SCHOOLTAX_SCHOOL | Alpha 10 | Contains the employee's school tax authority code. | PR03.1 |
PRQ-WORK-SCHOOLWORK_SCHOOL | Alpha 10 | Contains the employee's work school. | PR03.1 |
PRQ-PSRETIRE-PLANPSRETIRE_PLAN | Numeric 2 | — | PR03.1 |
Indexes (1)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
PRQSET1 | COMPANY, RECORD-KEY, SEQ-NBR | Primary | HR00.1, HR01.1, HR11.1, HR511, LT101, LT111, PA100, PA52.1 +8 more |
Relations
One to one (8) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | PRSYSTEM | Required | PRQ-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Department | DEPTCODE | Required | When PRQ-DEPARTMENT != Spaces | PRQ-COMPANY → DPT-COMPANY, PRQ-PROCESS-LEVEL → DPT-PROCESS-LEVEL, PRQ-DEPARTMENT → DPT-DEPARTMENT |
| Emp Status | EMSTATUS | Required | When PRQ-EMP-STATUS != Spaces | PRQ-COMPANY → EMS-COMPANY, PRQ-EMP-STATUS → EMS-EMP-STATUS |
| Job Code | JOBCODE | Required | When PRQ-JOB-CODE != Spaces | PRQ-COMPANY → JBC-COMPANY, PRQ-JOB-CODE → JBC-JOB-CODE |
| Process Level | PRSYSTEM | Required | When PRQ-PROCESS-LEVEL != Spaces | PRQ-COMPANY → PRS-COMPANY, PRQ-PROCESS-LEVEL → PRS-PROCESS-LEVEL |
| Required Code | REQCODE | Required | PRQ-COMPANY → RQC-COMPANY, PRQ-RECORD-KEY → RQC-REQ-CODE | |
| Union | PCODES | Required | When PRQ-UNION-CODE != Spaces | "UN" → PCO-TYPE, PRQ-UNION-CODE → PCO-CODE |
| Wc State | PRSTATE | Required | When PRQ-WC-STATE != Spaces | PRQ-WC-STATE → PSA-STATE |
Programs
Updated by (3)
Referenced by (13)
- HR11.1 Employee
- HR511 Employee Conversion
- LT101 HRM Receiver Update
- LT111 HRM Receiver Update
- PA100 Action Update
- PA52.1 Individual Action
- PA52.4 Hire an Applicant
- PA52.5 Position and Job Action
- PR13.1 Employee United States Taxes
- PR13.5 Employee Canada Taxes
- PR14.1 Employee Deduction
- PR15.2 Employee Deduction Speed Entry
- PR205 Deduction Listing