HRCTRYCODE – Contains country-specific codes: Ethnicity, (name) Prefix, and (name) suffix.
- System
- Human Resources (HR)
- Prefix
CTC- Primary key
TYPE,COUNTRY-CODE,HRCTRY-CODE- Fields
- 10
- Updated by
- 40 programs
- Referenced by
- 72 programs
HRCTRYCODE is the Contains country-specific codes: Ethnicity, (name) Prefix, and (name) suffix. table in Lawson Human Resources (prefix CTC). It is indexed by TYPE, COUNTRY-CODE, HRCTRY-CODE (CTCSET1); alternate indexes: CTCSET2 and CTCSET3. It is related 1:1 to INSTCTRYCD and 1:M to HROCCUPCD, PAAEEORACE and PAEEEORACE. It is updated by BN305, HR03.2, HR11.1, HR11.2, HR11.4, HR28.1, HR511, HR91.1 and 32 more and referenced by HAP3.1, HCDL.1, HCEM.1, HCRE.1, HCTC.1, HEP4.1, HPOS.1, HPQC.1 and 64 more. The table has 10 fields, 3 indexes and 4 documented relations.
About HRCTRYCODE
Contains country-specific codes: Ethnicity, (name) Prefix, and (name) suffix.
Fields (10)
Column = COBOL field name without the CTC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
CTC-TYPE PKTYPE | Alpha 2 | Select the type of country code.
| BN305, HR03.2, HR11.1, HR11.2, HR11.4, HR28.1, HR511, HR91.1 +31 more |
CTC-COUNTRY-CODE PKCOUNTRY_CODE | Alpha 2 | Select the country for which the code is valid. | BN305, HR03.2, HR11.1, HR11.2, HR11.4, HR28.1, HR511, HR91.1 +31 more |
CTC-HRCTRY-CODE PKHRCTRY_CODE | Alpha 4 (Lower Case) | — | BN305, HR03.2, HR11.1, HR11.2, HR11.4, HR28.1, HR511, HR91.1 +31 more |
CTC-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | This field displays the description. | BN305, HR03.2, HR11.1, HR11.2, HR11.4, HR28.1, HR511, HR91.1 +31 more |
CTC-ACTIVE-FLAGACTIVE_FLAG | Alpha 1 | Select whether the code is active or inactive.
| BN305, HR03.2, HR11.1, HR11.2, HR11.4, HR28.1, HR511, HR91.1 +32 more |
CTC-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | This field contains the server date (month, date, and year) of the last change to this record. | BN305, HR03.2, HR11.1, HR11.2, HR11.4, HR28.1, HR511, HR91.1 +31 more |
CTC-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | BN305, HR03.2, HR11.1, HR11.2, HR11.4, HR28.1, HR511, HR91.1 +31 more |
CTC-USER-IDUSER_ID | Alpha 10 (Lower Case) | — | BN305, HR03.2, HR11.1, HR11.2, HR11.4, HR28.1, HR511, HR91.1 +31 more |
CTC-RECRUIT-AVAILRECRUIT_AVAIL | Alpha 1 | —
| BN305, HR11.1, HR11.2, HR11.4, HR28.1, HR511, LT101, LT111 +24 more |
CTC-US-ET-BEHAVIORUS_ET_BEHAVIOR | Alpha 1 | This flag defines how US ethnicity codes behave in Lawson and EMSS
| HR03.2, HR91.1, HR91.2, HR91.3, HR91.4, HR91.5, HR91.6 |
Indexes (3)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
CTCSET1 | TYPE, COUNTRY-CODE, HRCTRY-CODE | Primary | BN305, HCDL.1, HCEM.1, HR03.2, HR11.1, HR11.2, HR11.4, HR170 +22 more (list truncated in source) | |
CTCSET2 | TYPE, HRCTRY-CODE, COUNTRY-CODE | BN305, HAP3.1, HCRE.1, HCTC.1, HEP4.1, HPOS.1, HPQC.1, HPRS.1 +22 more (list truncated in source) | ||
CTCSET3 | COUNTRY-CODE, TYPE, ACTIVE-FLAG, US-ET-BEHAVIOR, HRCTRY-CODE | KeyChange | BN305, HR03.2, HR11.1, HR11.2, HR11.4, HR28.1, HR511, HR91.1 +22 more (list truncated in source) |
Relations
One to one (1) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Country | INSTCTRYCD | Required | When CTC-COUNTRY-CODE != Spaces | CTC-COUNTRY-CODE → INT-COUNTRY-CODE |
One to many (3) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Hr Occup Code | HROCCUPCD | Delete Cascades | Valid When (CTC-TYPE = "JO") | CTC-COUNTRY-CODE → HOP-COUNTRY-CODE, CTC-HRCTRY-CODE → HOP-OCCUPTN-CODE, → HOP-COMPANY, → HOP-JOB-CODE |
| Race Applicant | PAAEEORACE | CTC-COUNTRY-CODE → AEO-RACE, → AEO-COMPANY, → AEO-APPLICANT | ||
| Race Employee | PAEEEORACE | CTC-HRCTRY-CODE → EER-RACE, → EER-COMPANY, → EER-EMPLOYEE |
Programs
Updated by (40)
- BN305 Highly Compensated Employees
- HR03.2 Country Specific Human Resource Codes
- HR11.1 Employee
- HR11.2 Compensation Analysis
- HR11.4 Employee Assignment Inquiry
- HR28.1 Employee Ethnicity
- HR511 Employee Conversion
- HR91.1 Ethnicity
- HR91.2 Name Title
- HR91.3 Name Suffix
- HR91.4 Citizenship
- HR91.5 Job Occupation Code
- HR91.6 Veteran Code
- LT101 HRM Receiver Update
- LT111 HRM Receiver Update
- PA02.1 Position
- PA100 Action Update
- PA102 Position Update
- PA115 Employee Purge
- PA13.1 Multiple Positions and Jobs
- PA13.2 Multiple Position and Job History
- PA28.1 Applicant Ethnicity
- 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
- 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
Referenced by (72)
- HAP3.1 Applicant Option 4 Selection Invoke
- HCDL.1 Olap Data Load
- HCEM.1 Olap Dimension Retrieval Format
- HCRE.1 Action Reason Code Selects
- HCTC.1 HRCTRYCODE Select Invoke
- HEP4.1 Employee Option 4 Selection Invoke
- HPOS.1 Position Selection Invoke
- HPQC.1 Prqcentgrp Select Invoke
- HPRS.1 Process Level Select Invoke
- HR13.1 Dependent
- HR15.1 User Fields
- HR155 Employee Group Update
- HR156 Employee Group Company Update
- HR170 Human Resource Writer Report Request
- HR206 Job Code Listing
- HR211 Employee Listing
- HR22.1 Job Occupation Codes
- HR222 Job Occupation Codes Listing
- HR228 Employee Ethnicity Listing
- HR30.1 Correspondence Tracking
- HR403 Country Specific Human Resource Code List
- HR51.2 Employee Interface Data
- HR513 Dependent Conversion
- HR515 User Field Conversion
- HR54.1 Employee History Correction
- HR55.2 Employee Groups By Employees
- HR70.1 Human Resource Writer Inquiry
- HRS1.1 Select Control
- HRSC.1 Select Control
- LP100 Employee Absence Plan Update
- LP101 Mass Absence Plan Add
- LT11.5 HRM User Field Interface
- LT13.5 HRM User Field Interface History
- LT13.6 HRM Ethnicity Interface History
- LT28.1 HRM Ethnicity Interface
- PA113 Retroactive History Update
- PA120 Applicant Purge
- PA14.1 Military Service
- PA16.1 Company Property
- PA18.1 Travel Information
- PA20.1 Education
- PA21.1 Competencies
- PA218 Travel Listing
- PA22.1 Certifications
- PA228 Applicant Ethnicity Listing
- PA231 Applicant Profile
- PA239 Applicant Military Service Listing
- PA24.1 Relocation
- PA27.1 Contracts
- PA272 Budget and Assigned Resource Listing
- PA31.1 Applicant
- PA311 Employee Profile
- PA34.1 Applicant Education
- PA35.1 Applicant Competencies
- PA36.1 Applicant Certification
- PA38.1 Applicant Relocation
- PA39.1 Applicant Military Service
- PA390 EEO-1 Report
- PA391 EEO-4 Report
- PA392 EEO-5 Report
- PA393 Veterans Employment Report
- PA495 IPEDS Report
- PA520 Employee and Applicant Code Conversion
- PA53.1 Personnel Action Workflow Override
- PA531 Applicant Conversion
- PA54.1 Personnel Action History Correction
- PA66.3 Employee Action Detail
- TR21.1 Employee Training History
- TR22.1 Session Completion
- TR26.1 Employee Training Competency Maintenance
- TR500 Training Conversion
- ZH156 Employee Group Company Update