PAREQCOST – Job Requisition Cost
- System
- Personnel (PA)
- Prefix
PRC- Primary key
COMPANY,REQUISITION,DATE,REASON,EMP-APP,APPLICANT- Fields
- 12
- Updated by
- 14 programs
- Referenced by
- 3 programs
PAREQCOST is the Job Requisition Cost table in Lawson Personnel (prefix PRC). It is indexed by COMPANY, REQUISITION, DATE, REASON, EMP-APP, APPLICANT (PRCSET1); alternate indexes: PRCSET2. It is related 1:1 to APPLICANT, CUCODES, PRSYSTEM, EMPLOYEE, PAEMPLOYEE, PCODES and PAJOBREQ. It is updated by HR11.1, LT101, LT111, PA02.1, PA102, PA115, PA120, PA42.1 and 6 more and referenced by HR170, HR70.1 and PA242. The table has 12 fields, 2 indexes and 8 documented relations.
About PAREQCOST
The Job Requisition Cost file contains information about the costs of hiring an applicant. The costs can include general costs, such as newspaper advertisements, or costs specific to an employee. PA44.1 (Requisition Costs) is the primary program that updates this file.
Fields (12)
Column = COBOL field name without the PRC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
PRC-COMPANY PKCOMPANY | Numeric 4 | Contains the company number which represents an established company. | PA44.1 |
PRC-REQUISITION PKREQUISITION | Numeric 9 | Contains the system-assigned number that represents the requisition. | PA44.1 |
PRC-DATE PKDATE | Numeric 8 (yyyymmdd) | Contains the date the cost was incurred. | PA44.1 |
PRC-REASON PKREASON | Alpha 10 | Contains the reason for the cost. | PA44.1 |
PRC-EMP-APP PKEMP_APP | Numeric 1 | Indicates whether the applicant is an internal or external applicant. An external applicant is a person applying from outside the company; an internal applicant is an employee applying from inside the company.
| PA44.1 |
PRC-APPLICANT PKAPPLICANT | Numeric 9 | Contains the applicant's number. The number correlates all information about the applicant. | PA44.1 |
PRC-COSTCOST | Signed 11.2 | Contains the cost. | HR11.1, PA43.1, PA43.2, PA44.1 |
PRC-CURRENCY-CODECURRENCY_CODE | Alpha 5 | Contains the currency in which the cost is recorded. | PA44.1 |
PRC-CURR-NDCURR_ND | Numeric 1 | The number of decimals assigned to a particular account as determined by the account currency. | PA44.1 |
PRC-BASE-AMOUNTBASE_AMOUNT | Signed 15.2 | Contains the cost in the company's base currency. | PA44.1 |
PRC-BASE-CURRENCYBASE_CURRENCY | Alpha 5 | Contains the company's base currency. | PA44.1 |
PRC-BASE-NDBASE_ND | Numeric 1 | The number of decimal positions defined for the company base currency. | PA44.1 |
Indexes (2)
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 |
|---|---|---|---|---|
PRCSET1 | COMPANY, REQUISITION, DATE, REASON, EMP-APP, APPLICANT | Primary | LT101, LT111, PA02.1, PA102, PA120, PA242, PA42.1, PA42.3 +5 more | |
PRCSET2 | COMPANY, EMP-APP, APPLICANT, REQUISITION, DATE, REASON | KeyChange | HR11.1, HR170, HR70.1, PA115 |
Relations
One to one (8) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Applicant | APPLICANT | Required | When PRC-EMP-APP = 1 And PRC-APPLICANT != Zeroes | PRC-COMPANY → APL-COMPANY, PRC-APPLICANT → APL-APPLICANT |
| Base Currency | CUCODES | Required | When (PRC-CURRENCY-CODE != Spaces) | PRC-CURRENCY-CODE → CUC-CURRENCY-CODE |
| Company | PRSYSTEM | Required | PRC-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Currency | CUCODES | Required | When (PRC-CURRENCY-CODE != Spaces) | PRC-CURRENCY-CODE → CUC-CURRENCY-CODE |
| Employee | EMPLOYEE | Required | When PRC-EMP-APP = Zeroes And PRC-APPLICANT != Zeroes | PRC-COMPANY → EMP-COMPANY, PRC-APPLICANT → EMP-EMPLOYEE |
| Paemployee | PAEMPLOYEE | Required | When PRC-EMP-APP = Zeroes And PRC-APPLICANT != Zeroes | PRC-COMPANY → PEM-COMPANY, PRC-APPLICANT → PEM-EMPLOYEE |
| Reason | PCODES | Required | When PRC-REASON != Spaces | "CO" → PCO-TYPE, PRC-REASON → PCO-CODE |
| Requisition | PAJOBREQ | Required | PRC-COMPANY → PJR-COMPANY, PRC-REQUISITION → PJR-REQUISITION |
Programs
Updated by (14)
- HR11.1 Employee
- LT101 HRM Receiver Update
- LT111 HRM Receiver Update
- PA02.1 Position
- PA102 Position Update
- PA115 Employee Purge
- PA120 Applicant Purge
- PA42.1 Requisition
- PA42.3 Requisition Approval Override
- PA43.1 Requisition Applicants
- PA43.2 Applicant Requisitions
- PA44.1 Requisition Costs
- PA502 Position Conversion
- PA535 e-Recruiting Requisition Conversion