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. PK = primary key (present in every index); SETn = leading/alternate key of that index.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
#HCP-COMPANY PKCOMPANY | Numeric 4 | Contains the company that received the request. | HR30.1 |
#HCP-REQ-TYPE PKREQ_TYPE | Alpha 1 | Indicates the type of individual requesting the information.
| HR30.1 |
#HCP-ID-NBR PKID_NBR | Numeric 10 | Contains the number of the individual making the request. | HR30.1 |
#HCP-DEPENDENT PKDEPENDENT | Numeric 4 | Contains the number for the dependent. | HR30.1 |
#HCP-SEQ-NBR PKSEQ_NBR | Numeric 4 | An automatically assigned sequence number. | HR30.1 |
#HCP-LAST-NAME-PRELAST_NAME_PRE | Alpha 30 (Lower Case) | Contains the prefix of the individual's last name. | HR30.1 |
#HCP-LAST-NAMELAST_NAME | Alpha 30 (Lower Case) | Contains the last name of the individual requesting the information. | HR30.1 |
#HCP-NAME-SUFFIXNAME_SUFFIX | Alpha 4 (Lower Case) | Contains the suffix used by the individual. | HR30.1 |
#HCP-FIRST-NAMEFIRST_NAME | Alpha 15 (Lower Case) | Contains the first name of the individual requesting the information. | HR30.1 |
#HCP-MIDDLE-NAMEMIDDLE_NAME | Alpha 15 (Lower Case) | Contains the middle name of the individual requesting the information. | HR30.1 |
#HCP-NAME-PREFIXNAME_PREFIX | Alpha 4 (Lower Case) | Contains the title used by the individual. | HR30.1 |
#HCP-HM-PHONE-CNTRYHM_PHONE_CNTRY | Alpha 6 | Contains the home telephone country code. | HR30.1 |
#HCP-HM-PHONE-NBRHM_PHONE_NBR | Alpha 15 | Contains the home telephone number. | HR30.1 |
#HCP-WK-PHONE-CNTRYWK_PHONE_CNTRY | Alpha 6 | Contains the work telephone country code. | HR30.1 |
#HCP-WK-PHONE-NBRWK_PHONE_NBR | Alpha 15 | Contains the work telephone number. | HR30.1 |
#HCP-WK-PHONE-EXTWK_PHONE_EXT | Alpha 5 | Contains the work telephone extension. | HR30.1 |
#HCP-FAX-COUNTRYFAX_COUNTRY | Alpha 6 | This field contains the prefix of the telephone number. For example, the country or city code. | HR30.1 |
#HCP-FAX-NBRFAX_NBR | Alpha 15 | Contains the fax telephone number. | HR30.1 |
#HCP-FAX-EXTFAX_EXT | Alpha 5 | Contains the fax telephone number extension. | HR30.1 |
#HCP-EMP-ADDRESSEMP_ADDRESS | Alpha 1 | Indicates whether the system should use the employee's home address, supplemental address, or neither address.
| HR30.1 |
#HCP-ADDR1ADDR1 | Alpha 30 (Lower Case) | Contains the first line of address information. | HR30.1 |
#HCP-ADDR2ADDR2 | Alpha 30 (Lower Case) | Contains the second line of address information. | HR30.1 |
#HCP-ADDR3ADDR3 | Alpha 30 (Lower Case) | Contains the third line of address information. | HR30.1 |
#HCP-ADDR4ADDR4 | Alpha 30 (Lower Case) | Contains the fourth line of address information. | HR30.1 |
#HCP-CITYCITY | Alpha 58 (Lower Case) | Contains the city or fifth line of the address. | HR30.1 |
#HCP-STATESTATE | Alpha 2 | Contains the two-character state code of the address. | HR30.1 |
#HCP-ZIPZIP | Alpha 10 | Contains the postal code of the address. | HR30.1 |
#HCP-COUNTRY-CODECOUNTRY_CODE | Alpha 2 | Contains the country code for the address. | HR30.1 |
#HCP-EMAIL-ADDRESSEMAIL_ADDRESS | Alpha 60 (Lower Case) | Contains the requestor's email address. | HR30.1 |
#HCP-TYPETYPE | Alpha 2 | Indicates the type of data request.
| HR30.1 |
#HCP-REQUEST-DATEREQUEST_DATE | Numeric 8 (yyyymmdd) | Contains the date the request was received. | HR30.1 |
#HCP-DATA-REQUESTEDDATA_REQUESTED | Alpha 10 | Select the type of information requested. | HR30.1 |
#HCP-COSTCOST | Signed 11.2 | Contains the cots charged for the information. | HR30.1 |
#HCP-CURRENCY-CODECURRENCY_CODE | Alpha 5 | Contains the currency in which the cost is recorded. | HR30.1 |
#HCP-CURR-NDCURR_ND | Numeric 1 | The number of decimals assigned to a particular account as determined by the account currency. | HR30.1 |
#HCP-BASE-CURRENCYBASE_CURRENCY | Alpha 5 | Contains the company's base currency. | HR30.1 |
#HCP-BASE-NDBASE_ND | Numeric 1 | The number of decimal positions defined for the company base currency. | HR30.1 |
#HCP-BASE-AMOUNTBASE_AMOUNT | Signed 15.2 | Contains the amount in the company's base currency. | HR30.1 |
#HCP-EXTENSION-SENTEXTENSION_SENT | Numeric 8 (yyyymmdd) | Contains the date a notification of extension on fulfilling the request was sent. | HR30.1 |
#HCP-EXTENSION-DATEEXTENSION_DATE | Numeric 8 (yyyymmdd) | Contains the date the request fulfillment is pushed to. | HR30.1 |
#HCP-EXTENSION-RSNEXTENSION_RSN | Alpha 10 | Contains a user-defined reason for the extension. | HR30.1 |
#HCP-DATE-SENTDATE_SENT | Numeric 8 (yyyymmdd) | Contains the date the information is sent. | HR30.1 |
#HCP-COMM-METHODCOMM_METHOD | Alpha 10 | Contains a user-defined communication method used to send the information to the requestor. | HR30.1 |
#HCP-CHANGE-RECDCHANGE_RECD | Numeric 8 (yyyymmdd) | Contains the date a request was received to change the information. | HR30.1 |
#HCP-CHANGE-REQUESTCHANGE_REQUEST | Alpha 10 | Indicates the type of change that was requested. | HR30.1 |
#HCP-CHANGECHANGE | Alpha 1 | Indicates whether the change was made.
| HR30.1 |
#HCP-REASONREASON | Alpha 10 | Indicates the reason for the change. | HR30.1 |
#HCP-CHANGED-DATECHANGED_DATE | Numeric 8 (yyyymmdd) | Indicates the date the information was changed and/or communicated to the requestor. | HR30.1 |
#HCP-DATE-CHG-SENTDATE_CHG_SENT | Numeric 8 (yyyymmdd) | Contains the date notification of the change was sent to the requestor. | HR30.1 |
#HCP-COMM-METH-CHGCOMM_METH_CHG | Alpha 10 | Indicates the communication method used to get information to the requestor on the outcome of the change request. | HR30.1 |
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 |
|---|---|---|---|---|
HCPSET1 |
| Primary, KeyChange | HR130, HR230, HR30.1 | |
HCPSET2 |
| KeyChange | — |
Relations
One to one (19) — lookups and parents
| Relation | Table | Rules | Condition | Field map | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Applicant | APPLICANT | Required | When HCP-REQ-TYPE = "2" |
| |||||||||
| Base Currency | CUCODES | Not Required | Valid When HCP-BASE-CURRENCY != Spaces |
| |||||||||
| Change Reason | PCODES | Not Required | Valid When HCP-REASON != Spaces |
| |||||||||
| Change Request | PCODES | Not Required | Valid When HCP-CHANGE-REQUEST != Spaces |
| |||||||||
| Cobra Part | PARTICIPNT | Required | When HCP-REQ-TYPE = "3" |
| |||||||||
| Comm Meth Chg | PCODES | Not Required | Valid When HCP-COMM-METH-CHG != Spaces |
| |||||||||
| Comm Meth Req | PCODES | Not Required | Valid When HCP-COMM-METHOD != Spaces |
| |||||||||
| Company | PRSYSTEM | Required |
| ||||||||||
| Country | INSTCTRYCD | Not Required | Valid When HCP-COUNTRY-CODE != Spaces |
| |||||||||
| Currency | CUCODES | Not Required | Valid When HCP-CURRENCY-CODE != Spaces |
| |||||||||
| Data Request | PCODES | Not Required | Valid When HCP-DATA-REQUESTED != Spaces |
| |||||||||
| Dependent | EMDEPEND | Required | When HCP-REQ-TYPE = "4" |
| |||||||||
| Employee | EMPLOYEE | Required | When HCP-REQ-TYPE = "1" |
| |||||||||
| Extension Rsn | PCODES | Not Required | Valid When HCP-EXTENSION-RSN != Spaces |
| |||||||||
| External Instr | PAINSTRUCT | Required | When INS- = HCP- And INS-EMPLOYEE = Zeroes |
| |||||||||
| Instruct Home | EMPLOYEE | Required | When INS- = HCP- And INS-EMPLOYEE != Zeroes |
| |||||||||
| Instruct Pem | PAEMPLOYEE | Required | When INS- = HCP- And INS-EMPLOYEE != Zeroes |
| |||||||||
| Instructor | PAINSTRUCT | Required | When HCP-REQ-TYPE = "5" |
| |||||||||
| Paemployee | PAEMPLOYEE | Not Required |
|
One to many (2) — child tables
| Relation | Table | Rules | Condition | Field map | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name Prefix | HRCTRYCODE | Valid When (HCP-NAME-PREFIX != Spaces) |
| ||||||||||
| Name Suffix | HRCTRYCODE | Valid When (HCP-NAME-SUFFIX != Spaces) |
|
Programs
Updated by (2)
Referenced by (1)
- HR230 Correspondence Tracking Listng