APPJOBHIST – Applicant Job History
- System
- Personnel (PA)
- Prefix
AJH- Primary key
COMPANY,APPLICANT,EMPLOYEE,SEQ-NBR- Fields
- 35
- Updated by
- 46 programs
- Referenced by
- 8 programs
APPJOBHIST is the Applicant Job History table in Lawson Personnel (prefix AJH). It is indexed by COMPANY, APPLICANT, EMPLOYEE, SEQ-NBR (AJHSET1); alternate indexes: AJHSET2 and AJHSET3. It is related 1:1 to APPLICANT, CUCODES, PRSYSTEM, INSTCTRYCD, EMPLOYEE, JOBCODE and PAEMPLOYEE and 1:M to PACOMMENTS. It is updated by BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 and 38 more and referenced by HR170, HR70.1, HR90.1, PA219, PA231, PA233, PA241 and PA311. The table has 35 fields, 3 indexes and 10 documented relations.
About APPJOBHIST
The Applicant Job History file contains information about an applicant's previous job experience and history.
Fields (35)
Column = COBOL field name without the AJH- 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 |
|---|---|---|---|
#AJH-COMPANY PKCOMPANY | Numeric 4 | Contains the company number which represents an established company. | PA19.1, PA33.1, PA533 |
#AJH-APPLICANT PKAPPLICANT | Numeric 9 | Contains the applicant's number. The number correlates all information about the applicant. | BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +37 more |
#AJH-SEQ-NBR PKSEQ_NBR | Numeric 4 | Contains a sequence number that keeps records unique. It is automatically assigned when records are created. | BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +37 more |
#AJH-EMPLOYER-NAME SET2EMPLOYER_NAME | Alpha 30 (Lower Case) | Contains the employer's name. | PA19.1, PA33.1, PA533 |
#AJH-ADDR1ADDR1 | Alpha 30 (Lower Case) | Contains first line of the previous employer's address. | PA19.1, PA33.1, PA533 |
#AJH-ADDR2ADDR2 | Alpha 30 (Lower Case) | Contains the second line of the previous employer's address. | PA19.1, PA33.1, PA533 |
#AJH-ADDR3ADDR3 | Alpha 30 (Lower Case) | Contains the third line of the previous employer's address. | PA19.1, PA33.1, PA533 |
#AJH-ADDR4ADDR4 | Alpha 30 (Lower Case) | Contains the fourth line of the previous employer's address. | PA19.1, PA33.1, PA533 |
#AJH-CITYCITY | Alpha 58 (Lower Case) | Contains the city of the previous employer's address. | PA19.1, PA33.1, PA533 |
#AJH-STATESTATE | Alpha 2 | Contains the state of the previous employer's address. | PA19.1, PA33.1, PA533 |
#AJH-ZIPZIP | Alpha 10 | Contains the postal code of the previous employer's address. | PA19.1, PA33.1, PA533 |
#AJH-TITLETITLE | Alpha 30 (Lower Case) | Contains the supervisor's title at the applicant's previous job. | PA19.1, PA33.1, PA533 |
#AJH-SUP-NAMESUP_NAME | Alpha 30 (Lower Case) | Contains the name of the applicant's previous supervisor. | PA19.1, PA33.1, PA533 |
#AJH-WK-PHONE-CNTRYWK_PHONE_CNTRY | Alpha 6 | Contains the prefix of the applicant's previous work telephone number. | PA19.1, PA33.1, PA533 |
#AJH-WK-PHONE-NBRWK_PHONE_NBR | Alpha 15 | Contains the applicant's previous work telephone number. | PA19.1, PA33.1, PA533 |
#AJH-WK-PHONE-EXTWK_PHONE_EXT | Alpha 5 | Contains the extension of the applicant's previous work telephone number. | PA19.1, PA33.1, PA533 |
#AJH-BEG-DATEBEG_DATE | Numeric 8 (yyyymmdd) | Contains the beginning employment date from the applicant's previous employment. | PA19.1, PA33.1, PA533 |
#AJH-END-DATEEND_DATE | Numeric 8 (yyyymmdd) | Contains the ending employment date from the applicant's previous employment. | PA19.1, PA33.1, PA533 |
#AJH-BEG-PAYBEG_PAY | Signed 11.2 | Contains the applicant's beginning salary from the previous employment. | PA19.1, PA33.1, PA533 |
#AJH-END-PAYEND_PAY | Signed 11.2 | Contains the applicant's ending salary from the previous employment. | PA19.1, PA33.1, PA533 |
#AJH-JOB-CODEJOB_CODE | Alpha 9 | Contains the job code in this company that most closely resembles the employee's previous job. | PA19.1, PA33.1, PA533 |
#AJH-CUR-EMPR-FLAGCUR_EMPR_FLAG | Alpha 1 | Indicates whether the employer is the applicant's current employer.
| PA19.1, PA33.1, PA533 |
#AJH-CONTACT-FLAGCONTACT_FLAG | Alpha 1 | Indicates whether the previous employer has been contacted.
| PA19.1, PA33.1, PA533 |
#AJH-CAN-CALL-FLAGCAN_CALL_FLAG | Alpha 1 | Indicates whether the previous employer can be contacted.
| PA19.1, PA33.1, PA533 |
#AJH-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. | BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +37 more |
#AJH-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | This field contains the server date (month, date, and year) of the last change to this record. | PA19.1, PA33.1, PA533 |
#AJH-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | PA19.1, PA33.1, PA533 |
#AJH-USER-IDUSER_ID | Alpha 10 (Lower Case) | — | PA19.1, PA33.1, PA533 |
#AJH-CURRENCY-CODECURRENCY_CODE | Alpha 5 | Contains the currency in which the applicant pay was recorded. | PA19.1, PA33.1, PA533 |
#AJH-CURR-NDCURR_ND | Numeric 1 | Contains the number of decimals for the currency. | PA19.1, PA33.1, PA533 |
#AJH-COUNTRY-CODECOUNTRY_CODE | Alpha 2 | Contains the country of the applicant's address. | PA19.1, PA33.1, PA533 |
#AJH-BASE-BEG-PAYBASE_BEG_PAY | Signed 11.2 | The applicant's beginning base pay. | PA19.1, PA33.1, PA533 |
#AJH-BASE-END-PAYBASE_END_PAY | Signed 11.2 | Contains the applicant's ending base pay. | PA19.1, PA33.1, PA533 |
#AJH-BASE-CURRENCYBASE_CURRENCY | Alpha 5 | The company base currency. | PA19.1, PA33.1, PA533 |
#AJH-BASE-NDBASE_ND | Numeric 1 | The number of decimal positions defined for the company base currency. | PA19.1, PA33.1, PA533 |
Indexes (3)
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 |
|---|---|---|---|---|
AJHSET1 |
| Primary | BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +22 more (list truncated in source) | |
AJHSET2 |
| KeyChange | PA120, PA231 | |
AJHSET3 |
| Subset | Where EMPLOYEE != Zeroes | HR11.1, HR90.1, PA115, PA19.1, PA219, PA311 |
Relations
One to one (8) — lookups and parents
| Relation | Table | Rules | Condition | Field map | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Applicant | APPLICANT | Required | When AJH-APPLICANT != Zeroes |
| ||||||
| Base Currency | CUCODES | Required | When (AJH-CURRENCY-CODE != Spaces) |
| ||||||
| Company | PRSYSTEM | Required |
| |||||||
| Country | INSTCTRYCD | Required | When (AJH-COUNTRY-CODE != Spaces) |
| ||||||
| Currency | CUCODES | Required | When (AJH-CURRENCY-CODE != Spaces) |
| ||||||
| Employee | EMPLOYEE | Required | When AJH-EMPLOYEE != Zeroes |
| ||||||
| Job Code | JOBCODE | Required | When AJH-JOB-CODE != Spaces |
| ||||||
| Paemployee | PAEMPLOYEE | Required | When AJH-EMPLOYEE != Zeroes |
|
One to many (2) — child tables
| Relation | Table | Rules | Condition | Field map | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Comments | PACOMMENTS | Delete Cascades | Valid When AJH-APPLICANT != Zeroes |
| |||||||||||||||||||||||||||
| Emp Comments | PACOMMENTS | Delete Cascades | Valid When AJH-EMPLOYEE != Zeroes |
|
Programs
Updated by (46)
- BN305 Highly Compensated Employees
- HAP3.1 Applicant Option 4 Selection Invoke
- HCRE.1 Action Reason Code Selects
- HEP4.1 Employee Option 4 Selection Invoke
- HPOS.1 Position Selection Invoke
- HPQC.1 Prqcentgrp Select Invoke
- HPRS.1 Process Level Select Invoke
- HR11.1 Employee
- HR11.2 Compensation Analysis
- HR11.4 Employee Assignment Inquiry
- HR28.1 Employee Ethnicity
- HR511 Employee Conversion
- HR54.1 Employee History Correction
- HRS1.1 Select Control
- HRSC.1 Select Control
- LT101 HRM Receiver Update
- LT111 HRM Receiver Update
- PA02.1 Position
- PA100 Action Update
- PA102 Position Update
- PA115 Employee Purge
- PA120 Applicant Purge
- PA13.1 Multiple Positions and Jobs
- PA13.2 Multiple Position and Job History
- PA19.1 Prior Work History
- PA33.1 Applicant Job History
- PA502 Position Conversion
- PA513 Position and Job Conversion
- PA52.1 Individual Action
- PA52.3 Mass Action
- PA52.4 Hire an Applicant
- PA52.5 Position and Job Action
- PA533 Job History Conversion
- PA54.1 Personnel Action History Correction
- 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
- PR30.2 Employee Automatic Time Record
- PR512 Employee ACH Distribution Interface
- ZH510 Update PCP from ZPENDPCP