WCCLASS – Work Comp Class Detail
- System
- Payroll (PR)
- Prefix
WCC- Primary key
COMPANY,COUNTRY-CODE,WC-STATE,PROCESS-LEVEL,EFFECT-DATE,WC-CLASS,CA-WC-CLASS- Fields
- 14
- Updated by
- 2 programs
- Referenced by
- 19 programs
WCCLASS is the Work Comp Class Detail table in Lawson Payroll (prefix WCC). It is indexed by COMPANY, COUNTRY-CODE, WC-STATE, PROCESS-LEVEL, EFFECT-DATE, WC-CLASS, CA-WC-CLASS (WCCSET1); alternate indexes: WCCSET2. It is related 1:1 to WCCLASSHDR, PRSYSTEM, WCPOLICY and PRSTATE. It is updated by PR18.1 and PR18.2 and referenced by BN66.1, HR06.1, HR06.4, HR506, HWCA.1, HWCC.1, LT101, LT111 and 11 more. The table has 14 fields, 2 indexes and 5 documented relations.
About WCCLASS
Contains the detail information of workers' compensation plans and stores the experience rates and limits by effective date.
Fields (14)
Column = COBOL field name without the WCC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
WCC-COMPANY PKCOMPANY | Numeric 4 | — | PR18.1, PR18.2 |
WCC-WC-STATE PKWC_STATE | Alpha 2 | Contains the 2-digit code that identifies the state in which the worker's compensation plan is effective. | PR18.1, PR18.2 |
WCC-PROCESS-LEVEL PKPROCESS_LEVEL | Alpha 5 | Contains the process level if the workers' compensation classification is specific to a process level. | PR18.1, PR18.2 |
WCC-EFFECT-DATE PKEFFECT_DATE | Numeric 8 (yyyymmdd) | Contains the date the rates in the table become effective. | PR18.1, PR18.2 |
WCC-WC-CLASS PKWC_CLASS | Alpha 4 | Contains the workers' compensation class. | PR18.1 |
WCC-CA-WC-CLASS PKCA_WC_CLASS | Alpha 10 | Contains the Canadian Workers Compensation classification to be used on the job code. | PR18.2 |
WCC-DESCDESC | Alpha 30 (Lower Case) | Contains the workers' compensation classification description. | PR18.1, PR18.2 |
WCC-EXP-RATEEXP_RATE | Signed 7.4 | Contains the experience rate. The value in this field represents an amount if you enter a value in either the Premium Per Wages or Premium Per Hours field in PR18.1 (Workers' Compensation Classification). If you do not enter a value in either of those fields, the value represents a percent. | PR18.1, PR18.2 |
WCC-WAGE-LIMITWAGE_LIMIT | Signed 11.2 | Contains the wage limit amount if defined. | PR18.1, PR18.2 |
WCC-LIMIT-INDLIMIT_IND | Alpha 2 | Contains the value that indicates if the wage limit amount defined is a monthly or annual limit.
| PR18.1 |
WCC-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the company base currency code established in Company (GL10.1 ). | — |
WCC-CURR-NDCURR_ND | Numeric 1 | The number of decimals assigned to a particular account as determined by the account currency. | — |
WCC-E-MODE_MOD | Signed 7.4 | — | — |
WCC-COUNTRY-CODE PKCOUNTRY_CODE | Alpha 2 | Defines which country the record is associated with. | PR18.1, PR18.2 |
Indexes (2)
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 |
|---|---|---|---|---|
WCCSET1 | COMPANY, COUNTRY-CODE, WC-STATE, PROCESS-LEVEL, EFFECT-DATE, WC-CLASS, CA-WC-CLASS | Primary | BN66.1, PR140, PR18.1, PR18.2, PR189, PR195, PR218, PR278 +6 more | |
WCCSET2 | COMPANY, WC-CLASS, CA-WC-CLASS, COUNTRY-CODE, WC-STATE, PROCESS-LEVEL, EFFECT-DATE* | KeyChange | HR06.1, HR06.4, HR506, HWCA.1, HWCC.1, LT101, LT111 |
Relations
One to one (5) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Class Header | WCCLASSHDR | Required | WCC-COMPANY → WCH-COMPANY, WCC-COUNTRY-CODE → WCH-COUNTRY-CODE, WCC-WC-STATE → WCH-WC-STATE, WCC-PROCESS-LEVEL → WCH-PROCESS-LEVEL, WCC-EFFECT-DATE → WCH-EFFECT-DATE | |
| Company | PRSYSTEM | Required | WCC-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Policy Code | WCPOLICY | Required | WCC-COMPANY → WCP-COMPANY, WCH-WC-CODE → WCP-WC-CODE | |
| Process Level | PRSYSTEM | Required | When WCC-PROCESS-LEVEL != Spaces | WCC-COMPANY → PRS-COMPANY, WCC-PROCESS-LEVEL → PRS-PROCESS-LEVEL |
| Wc State | PRSTATE | Required | When WCC-WC-STATE != Spaces | WCC-WC-STATE → PSA-STATE |
Programs
Updated by (2)
- PR18.1 United States Workers Compensation Classification
- PR18.2 Canada Workers Compensation Classification
Referenced by (19)
- BN66.1 Estimated Pay Calculation
- HR06.1 Job Code
- HR06.4 Canada Workers Compensation Class Override
- HR506 Job Code Conversion
- HWCA.1 CA Workers Comp Select Invoke
- HWCC.1 Workers Comp Class Selection Invoke
- LT101 HRM Receiver Update
- LT111 HRM Receiver Update
- PR140 Earnings and Deductions Calculation
- PR189 Gross Up Calculation
- PR195 Accrual Program
- PR218 US Workers Compensation Classification Listing
- PR278 United States Workers Compensation Report
- PR288 Canada Workers Compensation Classification Listing
- PR418 Canada Workers Compensation Report
- PR80.1 Manual Check
- PR80.4 Manual Payment
- PR89.1 Payment Modeling
- PRAT.1 Alltax connection test