RATETBLHDR – Rate Table Header
- System
- Benefits (BN)
- Prefix
RTH- Primary key
COMPANY,TABLE-CODE,START-DATE- Fields
- 14
- Updated by
- 6 programs
- Referenced by
- 47 programs
RATETBLHDR is the Rate Table Header table in Lawson Benefits (prefix RTH). It is indexed by COMPANY, TABLE-CODE, START-DATE (RTHSET1); alternate indexes: RTHSET2 and RTHSET3. It is related 1:1 to BNCOMPANY, PRSYSTEM and CUCODES and 1:M to RATETBLDTL. It is updated by BN00.1, BN02.1, BN02.2, BN02.3, BN02.4 and BN02.5 and referenced by BN08.1, BN100, BN101, BN102, BN103, BN104, BN105, BN145 and 39 more. The table has 14 fields, 3 indexes and 4 documented relations.
About RATETBLHDR
The Rate Table Header file contains the start date and the description of the rate table for the Rate Table file.
Fields (14)
Column = COBOL field name without the RTH- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
RTH-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 |
RTH-TABLE-CODE PKTABLE_CODE | Alpha 4 | Contains a user-defined code that represents a rate table. | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTH-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 |
RTH-TABLE-TYPETABLE_TYPE | Alpha 2 | Table type is used to uniquely define a percent table record for depreciation calculation purposes. This field allows you to define more than one table for any given in-service year and month. Blanks are valid as a table type value.
| BN02.1, BN02.2, BN02.3, BN02.4, BN02.5, BN18.3, BN18.4 |
RTH-DESCDESC | Alpha 30 (Lower Case) | Contains a description of the rate table. | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5, BN18.3, BN18.4 |
RTH-PCT-RATE-FLGPCT_RATE_FLG | Alpha 1 | Determines whether the insurance is a percent or a rate per dollars of coverage.
| BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTH-CURRENCY-CODECURRENCY_CODE | Alpha 5 | This field contains the company base currency code established in Company (GL10.1 ). | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTH-CURR-NDCURR_ND | Numeric 1 | The number of decimals assigned to a particular account as determined by the account currency. | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTH-CREATE-DATECREATE_DATE | Numeric 8 (yyyymmdd) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTH-CREATE-TIMECREATE_TIME | Numeric 6 (hhmmss) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTH-CREATE-USER-IDCREATE_USER_ID | Alpha 10 (Lower Case) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTH-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTH-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
RTH-USER-IDUSER_ID | Alpha 10 (Lower Case) | — | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5 |
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 |
|---|---|---|---|---|
RTHSET1 | COMPANY, TABLE-CODE, START-DATE | Primary | BN00.1, BN02.1, BN02.2, BN02.3, BN02.4, BN02.5, BN08.1, BN100 +22 more (list truncated in source) | |
RTHSET2 | COMPANY, TABLE-CODE, START-DATE* | BN100, BN101, BN102, BN103, BN105, BN245, BN31.1, BN31.2 +17 more | ||
RTHSET3 | COMPANY, TABLE-TYPE, TABLE-CODE, START-DATE | BN02.1, BN02.2, BN02.3, BN02.4, BN02.5, BN202, BN206 |
Relations
One to one (3) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | BNCOMPANY | Required | RTH-COMPANY → BNC-COMPANY | |
| Company Name | PRSYSTEM | Required | RTH-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Currency | CUCODES | Required | RTH-CURRENCY-CODE → CUC-CURRENCY-CODE |
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Ratetbldtl | RATETBLDTL | RTH-COMPANY → RTD-COMPANY, RTH-TABLE-CODE → RTD-TABLE-CODE, RTH-START-DATE → RTD-START-DATE, → RTD-BEG-AGE-YR-SAL, → RTD-SMOKER |
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 (47)
- BN08.1 Flex Credits
- BN100 Employee Change Benefit Update
- BN101 Mass Benefit Add
- BN102 Plan Employee Update
- BN103 Mass Benefit Termination
- BN104 Frequency Table Update
- 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
- BN215 Plan Parameter Listing
- BN230 Plan Participant Report
- 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