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.

Field / columnTypeDescription & valuesUpdated by
HER-COMPANY PK
COMPANY
Numeric 4BN305, 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
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 marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
HERSET1COMPANY, EMPLOYEE, OBJ-ID, EFFECT-DATE, ACTION-CODE, ACTION-NBR, FLD-NBR, SEQ-NBRPrimaryHR105, HR11.1, HR125, HR54.1, PA105, PA115, PA125, PA340 +1 more
HERSET2COMPANY, ACTION-CODE, EMPLOYEE, OBJ-ID, EFFECT-DATE*, ACTION-NBR*, FLD-NBR, SEQ-NBRPA125, PA340
HERSET3COMPANY, EMPLOYEE, OBJ-ID, FLD-NBR, EFFECT-DATE*, SEQ-NBR*, ACTION-CODE, ACTION-NBRBN305, HAP3.1, HCRE.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1, HR11.1 +22 more (list truncated in source)
HERSET5ACT-OBJ-ID, FLD-NBR, SEQ-NBRSubsetWhere (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

One to one (14) — lookups and parents

RelationTableRulesConditionField map
Action CodePERSACTYPERequiredWhen (HER-ACT-OBJ-ID != Zeroes)HER-COMPANYPAT-COMPANY, HER-ACTION-CODEPAT-ACTION-CODE
ApplicantAPPLICANTRequiredWhen (HER-DATA-TYPE = "A")HER-COMPANYAPL-COMPANY, HER-EMPLOYEEAPL-APPLICANT
Base CurrencyCUCODESRequiredWhen (HER-CURRENCY-CODE != Spaces)HER-BASE-CURRENCYCUC-CURRENCY-CODE
CompanyPRSYSTEMRequiredHER-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
CurrencyCUCODESRequiredWhen (HER-CURRENCY-CODE != Spaces)HER-CURRENCY-CODECUC-CURRENCY-CODE
DeductionEMDEDMASTRRequiredWhen (HER-DATA-TYPE = "D")HER-OBJ-IDEDM-OBJ-ID
EmployeeEMPLOYEERequiredWhen (HER-DATA-TYPE = "E")HER-COMPANYEMP-COMPANY, HER-EMPLOYEEEMP-EMPLOYEE
Fld NbrPADICTRequiredHER-FLD-NBRPAD-FLD-NBR
Job CodeJOBCODERequiredWhen (HER-DATA-TYPE = "J")HER-OBJ-IDJBC-OBJ-ID
PaemployeePAEMPLOYEERequiredWhen (HER-DATA-TYPE = "E")HER-COMPANYPEM-COMPANY, HER-EMPLOYEEPEM-EMPLOYEE
Pers Act HstPERSACTHSTRequiredWhen (HER-ACT-OBJ-ID != Zeroes)HER-ACT-OBJ-IDPAH-OBJ-ID
PositionPAPOSITIONRequiredWhen (HER-DATA-TYPE = "P")HER-COMPANYPOS-COMPANY, HER-OBJ-IDPOS-OBJ-ID, HER-EFFECT-DATEPOS-EFFECT-DATE
Standard TimeSTANDTIMERequiredWhen (HER-DATA-TYPE = "T")HER-OBJ-IDSTM-OBJ-ID
SupervisorHRSUPERRequiredWhen (HER-DATA-TYPE = "S")HER-OBJ-IDHSU-OBJ-ID

One to many (2) — child tables

RelationTableRulesConditionField map
CommentsPACOMMENTSValid When (HER-ACT-OBJ-ID != Zeroes)HER-COMPANYPAC-COMPANY, ZeroesPAC-EMP-APP, "PA"PAC-CMT-TYPE, HER-EMPLOYEEPAC-EMPLOYEE, SpacesPAC-JOB-CODE, HER-ACTION-CODEPAC-ACTION-CODE, HER-ACTION-NBRPAC-LN-NBR, PAC-SEQ-NBR, PAC-DATE
ReasonPAACTREASRequiredWhen (HER-REASON != Spaces)HER-COMPANYCRE-COMPANY, HER-REASONCRE-ACT-REASON-CD, CRE-ACTION-CODE

Programs

Updated by (49)

Referenced by (6)