RATETBLDTL – Rate Table Detail
- System
- Benefits (BN)
- Prefix
RTD- Primary key
COMPANY,TABLE-CODE,START-DATE,BEG-AGE-YR-SAL,SMOKER- Fields
- 16
- Updated by
- 6 programs
- Referenced by
- 43 programs
RATETBLDTL is the Rate Table Detail table in Lawson Benefits (prefix RTD). It is indexed by COMPANY, TABLE-CODE, START-DATE, BEG-AGE-YR-SAL, SMOKER (RTDSET1); alternate indexes: RTDSET2. It is related 1:1 to BNCOMPANY and RATETBLHDR. It is updated by BN00.1, BN02.1, BN02.2, BN02.3, BN02.4 and BN02.5 and referenced by BN100, BN101, BN102, BN103, BN105, BN145, BN15.1, BN17.3 and 35 more. The table has 16 fields, 2 indexes and 2 documented relations.
About RATETBLDTL
The Rate Table Detail file contains information about rate tables. BN02.1 (Rate Table) is the primary program that updates this file.
Fields (16)
Column = COBOL field name without the RTD- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
RTD-COMPANY PKCOMPANY | Numeric 4 | Contains the company number. The number correlates all information about the company. | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTD-TABLE-CODE PKTABLE_CODE | Alpha 4 | Contains the user-defined code that represents a rate table. | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTD-START-DATE PKSTART_DATE | Numeric 8 (yyyymmdd) | Contains the effective date of the rate table. | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTD-BEG-AGE-YR-SAL PKBEG_AGE_YR_SAL | Numeric 13 | Contains the beginning value for a range based on a rate table header type. This value can be an age, year, or salary. | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTD-SMOKER PKSMOKER | Alpha 1 | Indicates whether the rate table entry is for smoking or non-smoking rates.
| BN02.1, BN02.2, BN02.3 |
RTD-EMP-RATEEMP_RATE | Signed 9.4 | Contains the employee rate or percent used for the employee's contribution. | BN02.1, BN02.2, BN02.3 |
RTD-COMP-RATECOMP_RATE | Signed 9.4 | Contains the company's rate or percent of contribution. | BN02.1, BN02.2, BN02.3 |
RTD-FLEX-RATEFLEX_RATE | Signed 9.4 | Contains the amount of flex dollars employees receive for choosing a benefit. Contains used for disability and employee life/AD&D plans. | BN02.1, BN02.2, BN02.3, BN02.4 |
RTD-COVER-PCTCOVER_PCT | Signed 7.4 | Contains the percent of coverage for each age range. | BN02.5 |
RTD-COVER-AMTCOVER_AMT | Signed 11.2 | — | BN02.5 |
RTD-CREATE-DATECREATE_DATE | Numeric 8 (yyyymmdd) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTD-CREATE-TIMECREATE_TIME | Numeric 6 (hhmmss) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTD-CREATE-USER-IDCREATE_USER_ID | Alpha 10 (Lower Case) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTD-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTD-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTD-USER-IDUSER_ID | Alpha 10 (Lower Case) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
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 |
|---|---|---|---|---|
RTDSET1 | COMPANY, TABLE-CODE, START-DATE, BEG-AGE-YR-SAL, SMOKER | Primary | BN00.1, BN02.1, BN02.2, BN02.3, BN02.4, BN02.5, BN15.1, BN17.3 +12 more | |
RTDSET2 | COMPANY, TABLE-CODE, START-DATE, SMOKER, BEG-AGE-YR-SAL* | BN100, BN101, BN102, BN103, BN105, BN145, BN245, BN31.1 +21 more |
Relations
One to one (2) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | BNCOMPANY | Required | RTD-COMPANY → BNC-COMPANY | |
| Rate Table | RATETBLHDR | Required | RTD-COMPANY → RTH-COMPANY, RTD-TABLE-CODE → RTH-TABLE-CODE, RTD-START-DATE → RTH-START-DATE |
Programs
Updated by (6)
- BN00.1 Benefits Company
- BN02.1 Age Rate Table
- BN02.2 Salary Rate Table
- BN02.3 Service Rate Table
- BN02.4 Credits Rate Table
- BN02.5 Coverage Reduction Table
Referenced by (43)
- BN100 Employee Change Benefit Update
- BN101 Mass Benefit Add
- BN102 Plan Employee Update
- BN103 Mass Benefit Termination
- BN105 Plan Update
- BN145 Flex Dollars Calculation
- BN15.1 Benefit Plan
- BN17.3 Coverage Amounts
- BN18.1 Options Amount
- BN18.2 Options Amount Range
- BN18.3 Flat Contributions
- BN18.4 Salary or Coverage Rate Table
- BN18.5 Contribution Limits
- BN18.6 Match Limit Schedule
- BN18.7 Match Percent Schedule
- BN19.1 Options Rates
- BN19.2 Options Rate Tables
- BN202 Rate Table Listing
- BN206 Flex Plan Listing
- BN245 Benefit Election Form
- BN31.1 Speed Benefit Entry
- BN31.2 Employee Benefit Entry
- BN32.1 Employee Benefit Changes
- BN32.2 Employee Benefit Detail Changes
- BN32.3 Benefit Add
- BN320 Premium Report
- BN45.1 Employee Flex Credits
- BN531 Batch Benefit Enrollment
- BN65.1 Election Simulation
- BN71.1 COBRA Benefit Entry
- BN72.1 Retiree Benefit Entry
- BS10.1 Web Enrollment Current Benefit Inquiry
- BS12.1 Web Enrollment Eligible New Plans
- BS13.1 Web Enrollment Coverage Options
- BS14.1 Web Enrollment Coverage Amounts
- BS15.1 Web Enrollment Contribution Limits
- BS32.1 Web Enrollment Stop Benefits Update
- ZB10.1 Coverage Options Calculator
- ZB31.1 Speed Benefit Entry
- ZB31.2 Employee Benefit Entry
- ZB32.1 Employee Benefit Changes
- ZB32.2 Employee Benefit Detail Changes
- ZB32.3 Benefit Add