HRWRKDTL – Contains the detail for a work schedule or the K12 teacher contract work schedule.
- System
- Human Resources (HR)
- Prefix
WSD- Primary key
COMPANY,WORK-SCHED,CONTRACT-YEAR,EFFECT-DATE,WORK-PERIOD,DATE- Fields
- 21
- Updated by
- 3 programs
- Referenced by
- 96 programs
HRWRKDTL is the Contains the detail for a work schedule or the K12 teacher contract work schedule. table in Lawson Human Resources (prefix WSD). It is indexed by COMPANY, WORK-SCHED, CONTRACT-YEAR, EFFECT-DATE, WORK-PERIOD, DATE (WSDSET1); alternate indexes: WSDSET2, WSDSET3, WSDSET4, WSDSET5 and WSDSET6. It is related 1:1 to PRSYSTEM and PCODES and 1:M to CWCONTRULE. It is updated by HR00.1, HR01.1 and HR21.1 and referenced by HR04.2, HR04.3, HR04.7, HR04.8, HR221, HR80.1, HR80.2, HR80.3 and 88 more. The table has 21 fields, 6 indexes and 3 documented relations.
About HRWRKDTL
Contains the detail for a work schedule or the K12 teacher contract work schedule.
Fields (21)
Column = COBOL field name without the WSD- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
WSD-COMPANY PKCOMPANY | Numeric 4 | — | HR21.1 |
WSD-WORK-SCHED PKWORK_SCHED | Alpha 10 | Code that is valid for the specified record type. | HR21.1 |
WSD-EFFECT-DATE PKEFFECT_DATE | Numeric 8 (yyyymmdd) | This field displays the system date when this was created. | HR21.1 |
WSD-WORK-PERIOD PKWORK_PERIOD | Numeric 2 | — | HR21.1 |
WSD-DESCRIPTIONDESCRIPTION | Alpha 30 (Lower Case) | This field displays the description. | HR21.1 |
WSD-WORK-DAYSWORK_DAYS | Signed 6.4 | — | HR21.1 |
WSD-NON-WORK-DAYSNON_WORK_DAYS | Signed 6.4 | — | HR21.1 |
WSD-OTHER-DAYSOTHER_DAYS | Signed 6.4 | — | HR21.1 |
WSD-PRD-TOT-DAYSPRD_TOT_DAYS | Derived | — | — |
WSD-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | This field contains the server date (month, date, and year) of the last change to this record. | HR21.1 |
WSD-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | HR21.1 |
WSD-USER-IDUSER_ID | Alpha 10 (Lower Case) | — | HR21.1 |
WSD-CONTRACT-YEAR PKCONTRACT_YEAR | Numeric 4 | Identifies the Contract Year. A Contract is only allowed to be defined if a Contract Rule exists for that specific Contract Year. | — |
WSD-DATE PKDATE | Numeric 8 (yyyymmdd) | This looks at the Work Schedule Start Date and End date. First Record is equal to the specfied Start Date and the Last Record is equal to the End Date. This field is only valid for K12. | — |
WSD-DAY-CODEDAY_CODE | Alpha 10 | User defined PCODE that describes the type of work day. This value may be a weekend, paid, or unpaid day. This field is only valid for K12. | — |
WSD-REMAIN-DAYSREMAIN_DAYS | Signed 18.6 | This is a system calculated field. Remaining Days is equal to the Annual Units defined in the HRWRKSCHD less Contract Work Days. | — |
WSD-CNT-WRK-DAYSCNT_WRK_DAYS | Signed 18.6 | This is a system calculated field. Work Days looks at the Dates Worked defined in HRWRKSCHD and the Day Type Codes with PN and PW status defined on the PCODE. This field is only valid for K12. | — |
WSD-CREATE-DATECREATE_DATE | Numeric 8 (yyyymmdd) | — | — |
WSD-CREATE-TIMECREATE_TIME | Numeric 6 (hhmmss) | — | — |
WSD-CREATE-USER-IDCREATE_USER_ID | Alpha 10 (Lower Case) | — | — |
WSD-PAY-CODEPAY_CODE | Alpha 4 | — | — |
Indexes (6)
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 |
|---|---|---|---|---|
WSDSET1 | COMPANY, WORK-SCHED, CONTRACT-YEAR, EFFECT-DATE, WORK-PERIOD, DATE | Primary | HR00.1, HR01.1 | |
WSDSET2 | COMPANY, WORK-SCHED, EFFECT-DATE*, CONTRACT-YEAR*, WORK-PERIOD, DATE | Subset | Where (CONTRACT-YEAR = Zeroes) | HR21.1, HR221 |
WSDSET3 | COMPANY, WORK-SCHED, CONTRACT-YEAR*, WORK-PERIOD*, DATE | Subset | Where (CONTRACT-YEAR = Zeroes) | — |
WSDSET4 | COMPANY, WORK-SCHED, CONTRACT-YEAR*, EFFECT-DATE*, WORK-PERIOD, DATE | Subset | Where (CONTRACT-YEAR != Zeroes) | HR04.2, HR04.3, HR04.7, HR04.8, HR80.1, HR80.2, HR80.3, HR80.4 +22 more (list truncated in source) |
WSDSET5 | COMPANY, WORK-SCHED, CONTRACT-YEAR, EFFECT-DATE, WORK-PERIOD, DATE | Subset | Where (CONTRACT-YEAR != Zeroes) | — |
WSDSET6 | COMPANY, CONTRACT-YEAR*, WORK-SCHED, EFFECT-DATE*, WORK-PERIOD, DATE | Subset | Where (CONTRACT-YEAR != Zeroes) | — |
Relations
One to one (2) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | PRSYSTEM | Required | WSD-COMPANY → PRS-COMPANY (PRSSET1), Spaces → PRS-PROCESS-LEVEL | |
| Day Code | PCODES | Required | "DC" → PCO-TYPE, WSD-DAY-CODE → PCO-CODE |
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Contract Rule | CWCONTRULE | WSD-COMPANY → CWC-COMPANY, → CWC-CONTRACT-GROUP, → CWC-EFFECT-DATE |
Programs
Updated by (3)
Referenced by (96)
- HR04.2 Human Resource Codes
- HR04.3 Human Resource Codes
- HR04.7 User Fields Value List
- HR04.8 Human Resource Codes
- HR221 Work Schedule Report
- HR80.1 Job Occupation Type
- HR80.2 Union
- HR80.3 Bargaining Unit
- HR80.4 Badge Code
- HR80.5 Mail Group
- HR80.6 Hire Source
- HR80.7 User Level
- HR80.8 Relationship
- HR80.9 Primary Care Physician
- HR81.1 Education Degree
- HR81.2 Education Subject
- HR81.3 Education Institution
- HR81.4 Competency
- HR81.5 Competency and Certification Source
- HR81.6 Certification
- HR81.7 Company Property
- HR81.8 Emergency Medical
- HR81.9 Work Restriction
- HR82.1 Working Condition
- HR82.2 Work Requirement
- HR82.3 Parking Lot
- HR82.4 Relocation
- HR82.5 Benefit
- HR82.6 Qualification
- HR82.7 Proficiency
- HR82.8 User Field
- HR82.9 Association
- HR83.1 Review Type
- HR83.2 Performance Rating
- HR83.3 Applicant Rating
- HR83.4 Interview Rating
- HR83.5 Personnel Action Reason
- HR83.6 Review Type
- HR83.7 Benefit Reason Code
- HR83.8 Requisition Status
- HR83.9 Reason Code
- HR84.1 Position Reason Code
- HR84.2 Budget Reason Code
- HR84.3 Requisition Cost
- HR84.4 Supervisor User Field 1
- HR84.5 Supervisor User Field 2
- HR84.6 Supervisor User Field 3
- HR84.7 Supervisor User Field 4
- HR84.8 Supervisor User Field 5
- HR84.9 Incident Status
- HR85.1 Incident Outcome
- HR85.2 Incident Category
- HR85.3 Incident
- HR85.4 Illness
- HR85.5 Body Part
- HR85.6 Incident Cost Category
- HR85.7 Incident Cost Type
- HR85.8 Accommodations
- HR86.1 Incident Follow Up Category
- HR86.2 Incident Follow Up Type
- HR86.3 Incident Follow Up Outcome
- HR86.4 Test Type
- HR86.5 Test Correspondence
- HR86.6 Test Source
- HR86.7 Test User Field 2
- HR86.8 Test User Field 3
- HR86.9 Test Eligibility Override Reason
- HR87.1 Test Reason
- HR87.2 Test Notification Type
- HR87.3 Test Refusal Reason
- HR87.4 Incident Severity
- HR87.5 Incident User 2
- HR87.6 Incident User 3
- HR87.7 Grievance and Disciplinary Action Category
- HR87.8 Grievance and Disciplinary Action Status
- HR87.9 Grievance and Disciplinary Action Outcome
- HR88.1 Grievance and Disciplinary Action Step Category
- HR88.2 Grievance and Disciplinary Action Step Type
- HR88.3 Grievance and Disciplinary Action Step Outcome
- HR88.4 Human Resource Codes - Disability
- HR88.5 Human Resource Codes - Religion
- HR88.6 Contract Type
- HR88.7 Census Metropolitan Area
- HR89.1 HR Codes - Work Eligibility Document Type
- HR89.2 HR Codes - Work Eligibility Document Description
- HR89.3 Human Resource Codes - Work Eligibility Status
- HR89.4 Human Resource Codes - Travel Doc Application Status
- HR89.5 Human Resource Codes - Travel Document
- HR89.6 Human Resource Codes - Contact Number Type
- HR89.7 HR Codes - Official Languages - Bilingual Region
- HR89.8 Sharp Device
- HR89.9 Brand of Device
- HR91.7 Objective Status
- HR92.1 Day Codes
- HR92.2 Leave Status
- HR92.3 Leave Reason