HRCORRESP – No description in the Lawson data dictionary

System
Human Resources (HR)
Prefix
HCP
Primary key
COMPANY, REQ-TYPE, ID-NBR, DEPENDENT, SEQ-NBR
Fields
50
Updated by
2 programs
Referenced by
1 program

HRCORRESP is a Lawson Human Resources table (prefix HCP); no description in the lawson data dictionary. It is indexed by COMPANY, REQ-TYPE, ID-NBR, DEPENDENT, SEQ-NBR (HCPSET1); alternate indexes: HCPSET2. It is related 1:1 to APPLICANT, CUCODES, PCODES, PARTICIPNT, PRSYSTEM, INSTCTRYCD, EMDEPEND, EMPLOYEE and 2 more and 1:M to HRCTRYCODE. It is updated by HR130 and HR30.1 and referenced by HR230. The table has 50 fields, 2 indexes and 21 documented relations.

About HRCORRESP

No description in the Lawson data dictionary.

Fields (50)

Column = COBOL field name without the HCP- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
HCP-COMPANY PK
COMPANY
Numeric 4Contains the company that received the request.HR30.1
HCP-REQ-TYPE PK
REQ_TYPE
Alpha 1Indicates the type of individual requesting the information.
  • 1 Employee
  • 2 Applicant
  • 3 COBRA Participant
  • 4 Dependent
  • 5 Instructor
  • 6 Other
HR30.1
HCP-ID-NBR PK
ID_NBR
Numeric 10Contains the number of the individual making the request.HR30.1
HCP-DEPENDENT PK
DEPENDENT
Numeric 4Contains the number for the dependent.HR30.1
HCP-SEQ-NBR PK
SEQ_NBR
Numeric 4An automatically assigned sequence number.HR30.1
HCP-LAST-NAME-PRE
LAST_NAME_PRE
Alpha 30 (Lower Case)Contains the prefix of the individual's last name.HR30.1
HCP-LAST-NAME
LAST_NAME
Alpha 30 (Lower Case)Contains the last name of the individual requesting the information.HR30.1
HCP-NAME-SUFFIX
NAME_SUFFIX
Alpha 4 (Lower Case)Contains the suffix used by the individual.HR30.1
HCP-FIRST-NAME
FIRST_NAME
Alpha 15 (Lower Case)Contains the first name of the individual requesting the information.HR30.1
HCP-MIDDLE-NAME
MIDDLE_NAME
Alpha 15 (Lower Case)Contains the middle name of the individual requesting the information.HR30.1
HCP-NAME-PREFIX
NAME_PREFIX
Alpha 4 (Lower Case)Contains the title used by the individual.HR30.1
HCP-HM-PHONE-CNTRY
HM_PHONE_CNTRY
Alpha 6Contains the home telephone country code.HR30.1
HCP-HM-PHONE-NBR
HM_PHONE_NBR
Alpha 15Contains the home telephone number.HR30.1
HCP-WK-PHONE-CNTRY
WK_PHONE_CNTRY
Alpha 6Contains the work telephone country code.HR30.1
HCP-WK-PHONE-NBR
WK_PHONE_NBR
Alpha 15Contains the work telephone number.HR30.1
HCP-WK-PHONE-EXT
WK_PHONE_EXT
Alpha 5Contains the work telephone extension.HR30.1
HCP-FAX-COUNTRY
FAX_COUNTRY
Alpha 6This field contains the prefix of the telephone number. For example, the country or city code.HR30.1
HCP-FAX-NBR
FAX_NBR
Alpha 15Contains the fax telephone number.HR30.1
HCP-FAX-EXT
FAX_EXT
Alpha 5Contains the fax telephone number extension.HR30.1
HCP-EMP-ADDRESS
EMP_ADDRESS
Alpha 1Indicates whether the system should use the employee's home address, supplemental address, or neither address.
  • H Home
  • S Supplemental
  • N Neither
HR30.1
HCP-ADDR1
ADDR1
Alpha 30 (Lower Case)Contains the first line of address information.HR30.1
HCP-ADDR2
ADDR2
Alpha 30 (Lower Case)Contains the second line of address information.HR30.1
HCP-ADDR3
ADDR3
Alpha 30 (Lower Case)Contains the third line of address information.HR30.1
HCP-ADDR4
ADDR4
Alpha 30 (Lower Case)Contains the fourth line of address information.HR30.1
HCP-CITY
CITY
Alpha 58 (Lower Case)Contains the city or fifth line of the address.HR30.1
HCP-STATE
STATE
Alpha 2Contains the two-character state code of the address.HR30.1
HCP-ZIP
ZIP
Alpha 10Contains the postal code of the address.HR30.1
HCP-COUNTRY-CODE
COUNTRY_CODE
Alpha 2Contains the country code for the address.HR30.1
HCP-EMAIL-ADDRESS
EMAIL_ADDRESS
Alpha 60 (Lower Case)Contains the requestor's email address.HR30.1
HCP-TYPE
TYPE
Alpha 2Indicates the type of data request.
  • 1 Data Privacy/Other
  • 2 ERISA
  • 3 Applicant Correspondence
  • 4 Employee Correspondence
  • 5 COBRA Correspondence
  • 6 Dependent Correspondence
  • 7 Instructor Correspondence
HR30.1
HCP-REQUEST-DATE
REQUEST_DATE
Numeric 8 (yyyymmdd)Contains the date the request was received.HR30.1
HCP-DATA-REQUESTED
DATA_REQUESTED
Alpha 10Select the type of information requested.HR30.1
HCP-COST
COST
Signed 11.2Contains the cots charged for the information.HR30.1
HCP-CURRENCY-CODE
CURRENCY_CODE
Alpha 5Contains the currency in which the cost is recorded.HR30.1
HCP-CURR-ND
CURR_ND
Numeric 1The number of decimals assigned to a particular account as determined by the account currency.HR30.1
HCP-BASE-CURRENCY
BASE_CURRENCY
Alpha 5Contains the company's base currency.HR30.1
HCP-BASE-ND
BASE_ND
Numeric 1The number of decimal positions defined for the company base currency.HR30.1
HCP-BASE-AMOUNT
BASE_AMOUNT
Signed 15.2Contains the amount in the company's base currency.HR30.1
HCP-EXTENSION-SENT
EXTENSION_SENT
Numeric 8 (yyyymmdd)Contains the date a notification of extension on fulfilling the request was sent.HR30.1
HCP-EXTENSION-DATE
EXTENSION_DATE
Numeric 8 (yyyymmdd)Contains the date the request fulfillment is pushed to.HR30.1
HCP-EXTENSION-RSN
EXTENSION_RSN
Alpha 10Contains a user-defined reason for the extension.HR30.1
HCP-DATE-SENT
DATE_SENT
Numeric 8 (yyyymmdd)Contains the date the information is sent.HR30.1
HCP-COMM-METHOD
COMM_METHOD
Alpha 10Contains a user-defined communication method used to send the information to the requestor.HR30.1
HCP-CHANGE-RECD
CHANGE_RECD
Numeric 8 (yyyymmdd)Contains the date a request was received to change the information.HR30.1
HCP-CHANGE-REQUEST
CHANGE_REQUEST
Alpha 10Indicates the type of change that was requested.HR30.1
HCP-CHANGE
CHANGE
Alpha 1Indicates whether the change was made.
  • Y Yes
  • N No
HR30.1
HCP-REASON
REASON
Alpha 10Indicates the reason for the change.HR30.1
HCP-CHANGED-DATE
CHANGED_DATE
Numeric 8 (yyyymmdd)Indicates the date the information was changed and/or communicated to the requestor.HR30.1
HCP-DATE-CHG-SENT
DATE_CHG_SENT
Numeric 8 (yyyymmdd)Contains the date notification of the change was sent to the requestor.HR30.1
HCP-COMM-METH-CHG
COMM_METH_CHG
Alpha 10Indicates the communication method used to get information to the requestor on the outcome of the change request.HR30.1

Indexes (2)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
HCPSET1COMPANY, REQ-TYPE, ID-NBR, DEPENDENT, SEQ-NBRPrimary, KeyChangeHR130, HR230, HR30.1
HCPSET2REQ-TYPE, ID-NBR, COMPANY, DEPENDENT, SEQ-NBRKeyChange

Relations

One to one (19) — lookups and parents

RelationTableRulesConditionField map
ApplicantAPPLICANTRequiredWhen HCP-REQ-TYPE = "2"HCP-COMPANYAPL-COMPANY, HCP-ID-NBRAPL-APPLICANT
Base CurrencyCUCODESNot RequiredValid When HCP-BASE-CURRENCY != SpacesHCP-BASE-CURRENCYCUC-CURRENCY-CODE
Change ReasonPCODESNot RequiredValid When HCP-REASON != Spaces"CR"PCO-TYPE, HCP-REASONPCO-CODE
Change RequestPCODESNot RequiredValid When HCP-CHANGE-REQUEST != Spaces"CQ"PCO-TYPE, HCP-CHANGE-REQUESTPCO-CODE
Cobra PartPARTICIPNTRequiredWhen HCP-REQ-TYPE = "3"HCP-COMPANYPAR-COMPANY, HCP-ID-NBRPAR-PARTICIPNT
Comm Meth ChgPCODESNot RequiredValid When HCP-COMM-METH-CHG != Spaces"CM"PCO-TYPE, HCP-COMM-METH-CHGPCO-CODE
Comm Meth ReqPCODESNot RequiredValid When HCP-COMM-METHOD != Spaces"CM"PCO-TYPE, HCP-COMM-METHODPCO-CODE
CompanyPRSYSTEMRequiredHCP-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
CountryINSTCTRYCDNot RequiredValid When HCP-COUNTRY-CODE != SpacesHCP-COUNTRY-CODEINT-COUNTRY-CODE
CurrencyCUCODESNot RequiredValid When HCP-CURRENCY-CODE != SpacesHCP-CURRENCY-CODECUC-CURRENCY-CODE
Data RequestPCODESNot RequiredValid When HCP-DATA-REQUESTED != Spaces"DR"PCO-TYPE, HCP-DATA-REQUESTEDPCO-CODE
DependentEMDEPENDRequiredWhen HCP-REQ-TYPE = "4"HCP-COMPANYEMD-COMPANY, HCP-ID-NBREMD-EMPLOYEE, HCP-DEPENDENTEMD-SEQ-NBR
EmployeeEMPLOYEERequiredWhen HCP-REQ-TYPE = "1"HCP-COMPANYEMP-COMPANY, HCP-ID-NBREMP-EMPLOYEE
Extension RsnPCODESNot RequiredValid When HCP-EXTENSION-RSN != Spaces"ER"PCO-TYPE, HCP-EXTENSION-RSNPCO-CODE
External InstrPAINSTRUCTRequiredWhen INS- = HCP- And INS-EMPLOYEE = ZeroesHCP-ID-NBRINS-INSTRUCT
Instruct HomeEMPLOYEERequiredWhen INS- = HCP- And INS-EMPLOYEE != ZeroesINS-COMPANYEMP-COMPANY, INS-EMPLOYEEEMP-EMPLOYEE
Instruct PemPAEMPLOYEERequiredWhen INS- = HCP- And INS-EMPLOYEE != ZeroesINS-COMPANYPEM-COMPANY, INS-EMPLOYEEPEM-EMPLOYEE
InstructorPAINSTRUCTRequiredWhen HCP-REQ-TYPE = "5"HCP-ID-NBRINS-INSTRUCT
PaemployeePAEMPLOYEENot RequiredHCP-COMPANYPEM-COMPANY, HCP-ID-NBRPEM-EMPLOYEE

One to many (2) — child tables

RelationTableRulesConditionField map
Name PrefixHRCTRYCODEValid When (HCP-NAME-PREFIX != Spaces)"PR"CTC-TYPE, HCP-NAME-PREFIXCTC-HRCTRY-CODE, CTC-COUNTRY-CODE
Name SuffixHRCTRYCODEValid When (HCP-NAME-SUFFIX != Spaces)"SU"CTC-TYPE, HCP-NAME-SUFFIXCTC-HRCTRY-CODE, CTC-COUNTRY-CODE

Programs

Updated by (2)

Referenced by (1)