PAJOBINTRS – Employee Job Interest
- System
- Personnel (PA)
- Prefix
PJI- Primary key
COMPANY,EMP-APP,EMPLOYEE,JOB-CODE,POSITION- Fields
- 8
- Updated by
- 13 programs
- Referenced by
- 0 programs
PAJOBINTRS is the Employee Job Interest table in Lawson Personnel (prefix PJI). It is indexed by COMPANY, EMP-APP, EMPLOYEE, JOB-CODE, POSITION (PJISET1); alternate indexes: PJISET2. It is related 1:1 to APPLICANT, EMPLOYEE, JOBCODE and PAEMPLOYEE and 1:M to PAJOBREQ and PAPOSITION. It is updated by HR00.1, HR01.1, HR06.1, HR11.1, HR506, HS50.5, LT101, LT111 and 5 more. The table has 8 fields, 2 indexes and 7 documented relations.
About PAJOBINTRS
No description in the Lawson data dictionary.
Fields (8)
Column = COBOL field name without the PJI- 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 |
|---|---|---|---|
#PJI-COMPANY PKCOMPANY | Numeric 4 | — | HS50.5 |
#PJI-EMP-APP PKEMP_APP | Numeric 1 | Indicates whether the person is an external or internal applicant. An external applicant is a person applying from outside the company; an internal applicant is an employee applying from inside the company. | HS50.5 |
#PJI-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. | HS50.5 |
#PJI-JOB-CODE PKJOB_CODE | Alpha 9 | Contains a user-defined code that represents a type of job. | HS50.5 |
#PJI-POSITION PKPOSITION | Alpha 12 | Contains the user-defined code that represents a position in the company. | HS50.5 |
#PJI-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | This field contains the server date (month, date, and year) of the last change to this record. | HS50.5 |
#PJI-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | HS50.5 |
#PJI-USER-IDUSER_ID | Alpha 10 (Lower Case) | — | HS50.5 |
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 |
|---|---|---|---|---|
PJISET1 |
| Primary | HR00.1, HR01.1, HR11.1, HS50.5, PA115, PA120 | |
PJISET2 |
| HR06.1, HR506, LT101, LT111, PA02.1, PA302, PA502 |
Relations
One to one (4) — lookups and parents
| Relation | Table | Rules | Condition | Field map | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Applicant | APPLICANT | Required | When PJI-EMP-APP = 1 |
| ||||||
| Employee | EMPLOYEE | Required | When PJI-EMP-APP = Zeroes |
| ||||||
| Job Code | JOBCODE | Required | When PJI-JOB-CODE != Spaces |
| ||||||
| Paemployee | PAEMPLOYEE | Required |
|
One to many (3) — child tables
| Relation | Table | Rules | Condition | Field map | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Job Requis | PAJOBREQ | Valid When PJI-JOB-CODE != Spaces |
| ||||||||||
| Pos Requis | PAJOBREQ | Valid When PJI-POSITION != Spaces |
| ||||||||||
| Position | PAPOSITION | Valid When PJI-POSITION != Spaces |
|