BNINVEST – Investment Distribution

System
Benefits (BN)
Prefix
BIV
Primary key
COMPANY, PLAN-CODE, SEQ-NBR
Fields
6
Updated by
2 programs
Referenced by
24 programs

BNINVEST is the Investment Distribution table in Lawson Benefits (prefix BIV). It is indexed by COMPANY, PLAN-CODE, SEQ-NBR (BIVSET1); alternate indexes: BIVSET2. It is related 1:1 to BNCOMPANY, PRSYSTEM and PLAN. It is updated by BN00.1 and BN15.1 and referenced by BN100, BN101, BN102, BN103, BN105, BN215, BN245, BN31.1 and 16 more. The table has 6 fields, 2 indexes and 3 documented relations.

About BNINVEST

The Investment Distribution file contains the investment choices for defined contribution plans. Each record represents one investment choice.

Fields (6)

Column = COBOL field name without the BIV- 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
#BIV-COMPANY PK
COMPANY
Numeric 4The company number represents an established company and is entered on all function codes.BN15.1
#BIV-PLAN-CODE PK
PLAN_CODE
Alpha 4Contains the user-defined code used to represent a specific benefit plan.BN15.1
#BIV-SEQ-NBR PK
SEQ_NBR
Numeric 4An automatically assigned sequence number.BN15.1
#BIV-DESC
DESC
Alpha 30 (Lower Case)This field contains the description of the of the investment account.BN15.1
#BIV-ACTIVE-FLAG
ACTIVE_FLAG
Alpha 1The active flag identifies the status of the account.
  • A Active
  • I Inactive
BN15.1
#BIV-DEFAULT
DEFAULT
Alpha 1—
  • Y Yes
  • N No
BN15.1

Indexes (2)

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
BIVSET1
  1. COMPANY
  2. PLAN-CODE
  3. SEQ-NBR
PrimaryBN00.1, BN15.1, BN215, BN245, BN330, BN36.1, HR170, HR70.1
BIVSET2
  1. COMPANY
  2. PLAN-CODE
  3. SEQ-NBR
KeyChange, SubsetWhere (DEFAULT = "Y")BN100, BN101, BN102, BN103, BN105, BN15.1, BN31.1, BN31.2 +11 more

Relations

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

One to one (3) — lookups and parents

RelationTableRulesConditionField map
CompanyBNCOMPANYRequired
BIV-COMPANY→BNC-COMPANY
Company NamePRSYSTEMRequired
BIV-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
PlanPLANRequired
BIV-COMPANY→PLN-COMPANY
"DC"→PLN-PLAN-TYPE
BIV-PLAN-CODE→PLN-PLAN-CODE

Programs

Updated by (2)

Referenced by (24)