BNSIMHDR – Benefit Simulation

System
Benefits (BN)
Prefix
BSH
Primary key
COMPANY, EMPLOYEE
Fields
12
Updated by
4 programs
Referenced by
1 program

BNSIMHDR is the Benefit Simulation table in Lawson Benefits (prefix BSH). It is indexed by COMPANY, EMPLOYEE (BSHSET1). It is related 1:1 to BNCOMPANY, PRSYSTEM, CUCODES and EMPLOYEE and 1:M to BNSIMDTL. It is updated by BN00.1, BN65.1, HR11.1 and PA115 and referenced by BN66.1. The table has 12 fields, 1 index and 5 documented relations.

About BNSIMHDR

The Benefit Simulation Header file contains information for simulating employee benefit deductions and pay. This file stores employee taxable pay, employee contribution amounts, and company contribution amounts. BN66.1 (Estimated Pay Calculation) is the primary program that updates this file.

Fields (12)

Column = COBOL field name without the BSH- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
BSH-COMPANY PK
COMPANY
Numeric 4The company number represents an established company and is entered on all function codes.BN65.1
BSH-EMPLOYEE PK
EMPLOYEE
Numeric 9Employee number is assigned to each person employed by the company. It is used to correlate all information related to the employee.BN65.1
BSH-DATE
DATE
Numeric 8 (yyyymmdd)This field contains the date that the benefit simulation was created.BN65.1
BSH-GROSS-PAY
GROSS_PAY
Signed 13.2This field contains the simulation gross pay.BN65.1
BSH-COMP-FLX-AMT
COMP_FLX_AMT
Signed 11.2This field contains the company flex credits amount.BN65.1
BSH-EMP-FLEX-AMT
EMP_FLEX_AMT
Signed 11.2This field contains the employee flex credit amount.BN65.1
BSH-VAC-CREDIT
VAC_CREDIT
Signed 11.2This field contains the vacation credit amount.
BSH-COMP-SPENT
COMP_SPENT
Signed 11.2This field contains the amount of company spent dollars.BN65.1
BSH-EMP-SPENT
EMP_SPENT
Signed 11.2This field contains the employee flex dollars spent.BN65.1
BSH-ADD-TO-GRS-PCT
ADD_TO_GRS_PCT
Signed 5.2Contains the percent of unspent flex dollars that can be added to employee taxable wages.BN65.1
BSH-CURRENCY-CODE
CURRENCY_CODE
Alpha 5This field contains the company base currency code established in Company (GL10.1 ).
BSH-CURR-ND
CURR_ND
Numeric 1The number of decimals assigned to a particular account as determined by the account currency.

Indexes (1)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
BSHSET1COMPANY, EMPLOYEEPrimaryBN00.1, BN65.1, BN65.2, BN66.1, HR11.1, PA115

Relations

One to one (4) — lookups and parents

RelationTableRulesConditionField map
CompanyBNCOMPANYRequiredBSH-COMPANYBNC-COMPANY
Company NamePRSYSTEMRequiredBSH-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
CurrencyCUCODESRequiredBSH-CURRENCY-CODECUC-CURRENCY-CODE
EmployeeEMPLOYEERequiredBSH-COMPANYEMP-COMPANY, BSH-EMPLOYEEEMP-EMPLOYEE

One to many (1) — child tables

RelationTableRulesConditionField map
Simulation DtlBNSIMDTLDelete RestrictedBSH-COMPANYBSD-COMPANY, BSH-EMPLOYEEBSD-EMPLOYEE, BSD-PLAN-TYPE, BSD-PLAN-CODE

Programs

Updated by (4)

Referenced by (1)