OCCURTYPE – COBRA Occurrence Type

System
Benefits (BN)
Prefix
OCC
Primary key
COMPANY, OCCUR-TYPE
Fields
6
Updated by
2 programs
Referenced by
43 programs

OCCURTYPE is the COBRA Occurrence Type table in Lawson Benefits (prefix OCC). It is indexed by COMPANY, OCCUR-TYPE (OCCSET1). It is related 1:1 to BNCOMPANY, PRSYSTEM and LETTERCODE. It is updated by BN00.1 and BN00.3 and referenced by BN05.1, BN100, BN101, BN102, BN103, BN105, BN106, BN16.1 and 35 more. The table has 6 fields, 1 index and 3 documented relations.

About OCCURTYPE

The COBRA Occurrence Type file contains information about occurrences.

Fields (6)

Column = COBOL field name without the OCC- 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 / columnTypeDescription & valuesUpdated by
#OCC-COMPANY PK
COMPANY
Numeric 4Contains the company number. The number correlates all information about the company.BN00.3
#OCC-OCCUR-TYPE PK
OCCUR_TYPE
Alpha 2Contains the user-defined code that represents an occurrence.BN00.3
#OCC-DESC
DESC
Alpha 30 (Lower Case)Contains a description of the occurrence.BN00.3, BN16.4
#OCC-MONTHS-EXT
MONTHS_EXT
Numeric 2Contains the number of months a COBRA participant's coverage extends for the occurrence.BN00.3
#OCC-IN-LTR-CODE
IN_LTR_CODE
Alpha 2Contains the letter code assigned to the occurrence.BN00.3
#OCC-EVENT-CODE
EVENT_CODE
Numeric 1—
  • 1 Termination of Employment
  • 2 Reduction of Work Hours
  • 3 Medicare
  • 4 Death
  • 5 Divorce
  • 6 Separation
  • 7 Ineligible Child
  • 8 Bankruptcy of Retiree
BN00.3

Indexes (1)

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.

IndexKeysFlagsConditionUsed in
OCCSET1
  1. COMPANY
  2. OCCUR-TYPE
PrimaryBN00.1, BN00.3, BN05.1, BN100, BN101, BN102, BN103, BN105 +22 more (list truncated in source)

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
BNCOMPANYPRSYSTEMLETTERCODEOCCURTYPE

One to one (3) — lookups and parents

RelationTableRulesConditionField map
CompanyBNCOMPANYRequired
OCC-COMPANY→BNC-COMPANY
Company NamePRSYSTEMRequired
OCC-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
Letter CodeLETTERCODERequiredWhen OCC-IN-LTR-CODE != Spaces
OCC-COMPANY→LTC-COMPANY
OCC-IN-LTR-CODE→LTC-LETTER-CODE
Zeroes→LTC-EMPLOYEE
Zeroes→LTC-DEPENDENT
Zeroes→LTC-PARTICIPNT
Zeroes→LTC-DATE

Programs

Updated by (2)

Referenced by (43)