HISTERR – Contains history errors moved using HR54.1 (Employee History Correction) and PA54.1 (Personnel Action History…

System
Human Resources (HR)
Prefix
HER
Primary key
COMPANY, EMPLOYEE, OBJ-ID, EFFECT-DATE, ACTION-CODE, ACTION-NBR, FLD-NBR, SEQ-NBR
Fields
33
Updated by
49 programs
Referenced by
6 programs

HISTERR is the Contains history errors moved using HR54.1 (Employee History Correction) and PA54.1 (Personnel Action History… table in Lawson Human Resources (prefix HER). It is indexed by COMPANY, EMPLOYEE, OBJ-ID, EFFECT-DATE, ACTION-CODE, ACTION-NBR, FLD-NBR, SEQ-NBR (HERSET1); alternate indexes: HERSET2, HERSET3 and HERSET5. It is related 1:1 to PERSACTYPE, APPLICANT, CUCODES, PRSYSTEM, EMDEDMASTR, EMPLOYEE, PADICT, JOBCODE and 5 more and 1:M to PACOMMENTS and PAACTREAS. It is updated by BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 and 41 more and referenced by HR105, HRLO.1, PA105, PA340, PA66.3 and PA67.1. The table has 33 fields, 4 indexes and 16 documented relations.

About HISTERR

Contains history errors moved using HR54.1 (Employee History Correction) and PA54.1 (Personnel Action History Correction).

Fields (33)

Column = COBOL field name without the HER- 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 / columnTypeDescription & valuesUpdated by
#HER-COMPANY PK
COMPANY
Numeric 4—BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains 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 +39 more
#HER-OBJ-ID PK
OBJ_ID
Numeric 12Contains a system-assigned identifier that provides access to data in related files.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-EFFECT-DATE PK
EFFECT_DATE
Numeric 8 (yyyymmdd)Contains the date the item was originally logged to history.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-ACTION-CODE PK
ACTION_CODE
Alpha 10This field contains the personnel action code.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-ACTION-NBR PK
ACTION_NBR
Numeric 4Contains the personnel action number.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-FLD-NBR PK
FLD_NBR
Numeric 4Contains the PA dictionary field number.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-SEQ-NBR PK
SEQ_NBR
Numeric 4An automatically assigned sequence number.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-REASON
REASON
Alpha 10 Occurs 2 Times ×2Contains the personnel action reason.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +40 more
#HER-POS-LEVEL
POS_LEVEL
Numeric 2Contains the position level.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-ACT-OBJ-ID SET5
ACT_OBJ_ID
Numeric 12If the change was done via a personnel action, this field contains the record identifier of that action.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-A-VALUE
A_VALUE
Alpha 60 (Lower Case)Contains alpha data items.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-N-VALUE
N_VALUE
Signed 15.6Contains numeric data items.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-D-VALUE
D_VALUE
Numeric 8 (yyyymmdd)Contains date value data items.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-NEW-VALUE
NEW_VALUE
Alpha 60 (Lower Case)Contains the field value after the personnel action change.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-ACTION-TYPE
ACTION_TYPE
Alpha 1This field contains the action type.
  • A Hire an Applicant
  • E Individual Employee
  • M Mass Change
  • P Mass Pay Change
BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-DATA-TYPE
DATA_TYPE
Alpha 1Determines the type of data being entered and how to edit it. Values are Date, Alpha, or Numeric.
  • E Emp
  • A App
  • D Ded
  • J Job
  • P Pos
  • S Sup
  • T Time
BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-ANT-END-DATE
ANT_END_DATE
Numeric 8 (yyyymmdd)Contains the personnel action anticipated end date.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-SALARY-CLASS
SALARY_CLASS
Alpha 1Contains the salary class.
  • H Hourly
  • S Salary
BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-ANNUAL-SALARY
ANNUAL_SALARY
Signed 13.4Contains the annual salary.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)This field contains the server date (month, date, and year) of the last change to this record.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-USER-ID
USER_ID
Alpha 10 (Lower Case)—BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-DATE-STAMP2
DATE_STAMP2
Numeric 8 (yyyymmdd)Contains the date this record was moved to the history error file.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-TIME-STAMP2
TIME_STAMP2
Numeric 6 (hhmmss)Contains the time this record was moved to the history error file.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-USER-ID2
USER_ID2
Alpha 10 (Lower Case)Contains the User ID of the person who moved the record to the history error file.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-CURRENCY-CODE
CURRENCY_CODE
Alpha 5Contains the currency in which the pay is recorded.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-CURR-ND
CURR_ND
Numeric 1The number of decimals assigned to a particular account as determined by the account currency.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-BASE-CURRENCY
BASE_CURRENCY
Alpha 5Contains the base currency in which the pay is recorded.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-BASE-ND
BASE_ND
Numeric 1The number of decimal positions defined for the company base currency.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-BASE-PAY-RATE
BASE_PAY_RATE
Signed 13.4Contains the pay in the employee's base currency.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-ANNUAL-HOURS
ANNUAL_HOURS
Signed 8.4Contains the employee's annual hours at the time of this pay rate history record.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more
#HER-NBR-FTE
NBR_FTE
Signed 7.6Contains the employee's FTE at the time of this pay rate history.BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +39 more

Indexes (4)

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.

IndexKeysFlagsConditionUsed in
HERSET1
  1. COMPANY
  2. EMPLOYEE
  3. OBJ-ID
  4. EFFECT-DATE
  5. ACTION-CODE
  6. ACTION-NBR
  7. FLD-NBR
  8. SEQ-NBR
PrimaryHR105, HR11.1, HR125, HR54.1, PA105, PA115, PA125, PA340 +1 more
HERSET2
  1. COMPANY
  2. ACTION-CODE
  3. EMPLOYEE
  4. OBJ-ID
  5. EFFECT-DATE ↓
  6. ACTION-NBR ↓
  7. FLD-NBR
  8. SEQ-NBR
PA125, PA340
HERSET3
  1. COMPANY
  2. EMPLOYEE
  3. OBJ-ID
  4. FLD-NBR
  5. EFFECT-DATE ↓
  6. SEQ-NBR ↓
  7. ACTION-CODE
  8. ACTION-NBR
BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +22 more (list truncated in source)
HERSET5
  1. ACT-OBJ-ID
  2. FLD-NBR
  3. SEQ-NBR
SubsetWhere (ACT-OBJ-ID != Zeroes)BN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +22 more (list truncated in source)

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
PERSACTYPEAPPLICANTCUCODESPRSYSTEMEMDEDMASTREMPLOYEEPADICTJOBCODEPAEMPLOYEEPERSACTHSTPAPOSITIONSTANDTIMEHRSUPERPACOMMENTSPAACTREASHISTERR

One to one (14) — lookups and parents

RelationTableRulesConditionField map
Action CodePERSACTYPERequiredWhen (HER-ACT-OBJ-ID != Zeroes)
HER-COMPANY→PAT-COMPANY
HER-ACTION-CODE→PAT-ACTION-CODE
ApplicantAPPLICANTRequiredWhen (HER-DATA-TYPE = "A")
HER-COMPANY→APL-COMPANY
HER-EMPLOYEE→APL-APPLICANT
Base CurrencyCUCODESRequiredWhen (HER-CURRENCY-CODE != Spaces)
HER-BASE-CURRENCY→CUC-CURRENCY-CODE
CompanyPRSYSTEMRequired
HER-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
CurrencyCUCODESRequiredWhen (HER-CURRENCY-CODE != Spaces)
HER-CURRENCY-CODE→CUC-CURRENCY-CODE
DeductionEMDEDMASTRRequiredWhen (HER-DATA-TYPE = "D")
HER-OBJ-ID→EDM-OBJ-ID
EmployeeEMPLOYEERequiredWhen (HER-DATA-TYPE = "E")
HER-COMPANY→EMP-COMPANY
HER-EMPLOYEE→EMP-EMPLOYEE
Fld NbrPADICTRequired
HER-FLD-NBR→PAD-FLD-NBR
Job CodeJOBCODERequiredWhen (HER-DATA-TYPE = "J")
HER-OBJ-ID→JBC-OBJ-ID
PaemployeePAEMPLOYEERequiredWhen (HER-DATA-TYPE = "E")
HER-COMPANY→PEM-COMPANY
HER-EMPLOYEE→PEM-EMPLOYEE
Pers Act HstPERSACTHSTRequiredWhen (HER-ACT-OBJ-ID != Zeroes)
HER-ACT-OBJ-ID→PAH-OBJ-ID
PositionPAPOSITIONRequiredWhen (HER-DATA-TYPE = "P")
HER-COMPANY→POS-COMPANY
HER-OBJ-ID→POS-OBJ-ID
HER-EFFECT-DATE→POS-EFFECT-DATE
Standard TimeSTANDTIMERequiredWhen (HER-DATA-TYPE = "T")
HER-OBJ-ID→STM-OBJ-ID
SupervisorHRSUPERRequiredWhen (HER-DATA-TYPE = "S")
HER-OBJ-ID→HSU-OBJ-ID

One to many (2) — child tables

RelationTableRulesConditionField map
CommentsPACOMMENTSValid When (HER-ACT-OBJ-ID != Zeroes)
HER-COMPANY→PAC-COMPANY
Zeroes→PAC-EMP-APP
"PA"→PAC-CMT-TYPE
HER-EMPLOYEE→PAC-EMPLOYEE
Spaces→PAC-JOB-CODE
HER-ACTION-CODE→PAC-ACTION-CODE
HER-ACTION-NBR→PAC-LN-NBR
—→PAC-SEQ-NBR
—→PAC-DATE
ReasonPAACTREASRequiredWhen (HER-REASON != Spaces)
HER-COMPANY→CRE-COMPANY
HER-REASON→CRE-ACT-REASON-CD
—→CRE-ACTION-CODE

Programs

Updated by (49)

Referenced by (6)