BNNEWHIRE – No description in the Lawson data dictionary

System
Benefits (BN)
Prefix
BNN
Primary key
COMPANY, PROCESS-LEVEL, GROUP-NAME, PLAN-GROUP, PLAN-TYPE, PLAN-CODE
Fields
23
Updated by
2 programs
Referenced by
39 programs

BNNEWHIRE is a Lawson Benefits table (prefix BNN); no description in the lawson data dictionary. It is indexed by COMPANY, PROCESS-LEVEL, GROUP-NAME, PLAN-GROUP, PLAN-TYPE, PLAN-CODE (BNNSET1); alternate indexes: BNNSET2, BNNSET3, BNNSET4 and BNNSET5. It is related 1:1 to BNPLNGROUP, PERSGROUP, PLAN, PRSYSTEM and PCODES. It is updated by BS02.1 and BS03.3 and referenced by BN100, BN101, BN102, BN103, BN105, BN145, BN15.1, BN232 and 31 more. The table has 23 fields, 5 indexes and 6 documented relations.

About BNNEWHIRE

No description in the Lawson data dictionary.

Fields (23)

Column = COBOL field name without the BNN- 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
#BNN-COMPANY PK
COMPANY
Numeric 4—BS03.3
#BNN-PROCESS-LEVEL PK
PROCESS_LEVEL
Alpha 5—BS03.3
#BNN-GROUP-NAME PK
GROUP_NAME
Alpha 10—BS03.3
#BNN-PLAN-GROUP PK
PLAN_GROUP
Alpha 20—BS03.3
#BNN-PLAN-TYPE PK
PLAN_TYPE
Alpha 2—
  • DB Defined Benefit
  • DC Defined Contribution
  • DI Disability
  • DL Dependent Life
  • DN Dental
  • EL Employee Life
  • HL Health
  • RS Spending Account
  • SB Savings Bond
  • SP Stock Purchase
  • VA Vacation
BS03.3
#BNN-PLAN-CODE PK
PLAN_CODE
Alpha 4Contains the user-defined code that represents a benefit plan.BS03.3
#BNN-PROCESS-ORDER SET2
PROCESS_ORDER
Numeric 2—BS02.1, BS03.3
#BNN-EMPLOYEE-COST
EMPLOYEE_COST
Alpha 1—
  • E Employee Only
  • F Flex Only
  • B Employee And Flex Both
  • T Total of Employee And Flex
BS03.3
#BNN-COMPANY-COST
COMPANY_COST
Alpha 1—
  • Y Yes
  • N No
BS03.3
#BNN-DEP-BENEFITS
DEP_BENEFITS
Alpha 1—
  • Y Yes
  • N No
BS03.3
#BNN-BENEFICIARY
BENEFICIARY
Alpha 1—
  • Y Yes
  • N No
—
#BNN-CO-PROVIDED
CO_PROVIDED
Alpha 1—
  • Y Yes
  • N No
—
#BNN-EOI-DAYS
EOI_DAYS
Numeric 3—BS03.3
#BNN-CREATE-TRANS
CREATE_TRANS
Alpha 1—
  • Y Yes
  • N No
BS03.3
#BNN-DEFAULT-REASON
DEFAULT_REASON
Alpha 10 Occurs 3 Times ×3—BS03.3
#BNN-REASON-1
REASON_1
Derived——
#BNN-CREATE-DATE
CREATE_DATE
Numeric 8 (yyyymmdd)—BS03.3
#BNN-CREATE-TIME
CREATE_TIME
Numeric 6 (hhmmss)—BS03.3
#BNN-CREATE-USER-ID
CREATE_USER_ID
Alpha 10 (Lower Case)—BS03.3
#BNN-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)—BS02.1, BS03.3
#BNN-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)—BS02.1, BS03.3
#BNN-USER-ID
USER_ID
Alpha 10 (Lower Case)—BS02.1, BS03.3
#BNN-EFFECTIVE-CODE
EFFECTIVE_CODE
Alpha 2Coded value to represent the effective date of changes.
  • CD Current Date
  • ED Eligibility Date
BS03.3

Indexes (5)

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
BNNSET1
  1. COMPANY
  2. PROCESS-LEVEL
  3. GROUP-NAME
  4. PLAN-GROUP
  5. PLAN-TYPE
  6. PLAN-CODE
PrimaryBN100, BN101, BN102, BN103, BN105, BN145, BN232, BN245 +22 more (list truncated in source)
BNNSET2
  1. COMPANY
  2. PROCESS-LEVEL
  3. GROUP-NAME
  4. PROCESS-ORDER
  5. PLAN-TYPE
  6. PLAN-CODE
BS10.1, BS12.1
BNNSET3
  1. COMPANY
  2. PROCESS-LEVEL
  3. GROUP-NAME
  4. PLAN-TYPE
  5. PLAN-CODE
BS03.3, BS13.1, BS14.1, BS15.1
BNNSET4
  1. COMPANY
  2. PROCESS-LEVEL
  3. PLAN-GROUP
  4. GROUP-NAME
  5. PLAN-TYPE
  6. PLAN-CODE
BS02.1
BNNSET5
  1. COMPANY
  2. PLAN-TYPE
  3. PLAN-CODE
  4. PROCESS-LEVEL
  5. GROUP-NAME
  6. PLAN-GROUP
BN15.1

Relations

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

One to one (6) — lookups and parents

RelationTableRulesConditionField map
BnplngroupBNPLNGROUPRequired
BNN-COMPANY→BPG-COMPANY
BNN-PLAN-GROUP→BPG-PLAN-GROUP
Group NamePERSGROUPRequired
BNN-COMPANY→PRG-COMPANY
BNN-GROUP-NAME→PRG-GROUP-NAME
PlanPLANRequired
BNN-COMPANY→PLN-COMPANY
BNN-PLAN-TYPE→PLN-PLAN-TYPE
BNN-PLAN-CODE→PLN-PLAN-CODE
Process LevelPRSYSTEMRequired
BNN-COMPANY→PRS-COMPANY
BNN-PROCESS-LEVEL→PRS-PROCESS-LEVEL
PrsystemPRSYSTEMRequired
BNN-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
Reason CodePCODESRequiredWhen BNN-REASON-1 != Zeroes
"BT"→PCO-TYPE
BNN-DEFAULT-REASON→PCO-CODE

Programs

Updated by (2)

Referenced by (39)