BONDBENSEQ – Savings Bond Sequence

System
Benefits (BN)
Prefix
BBS
Primary key
COMPANY, EMPLOYEE, PLAN-CODE, START-DATE, BOND-SEQ-NBR
Fields
8
Updated by
3 programs
Referenced by
2 programs

BONDBENSEQ is the Savings Bond Sequence table in Lawson Benefits (prefix BBS). It is indexed by COMPANY, EMPLOYEE, PLAN-CODE, START-DATE, BOND-SEQ-NBR (BBSSET1); alternate indexes: BBSSET2. It is related 1:1 to SBBEN, BENEFIT, BNCOMPANY, EMPLOYEE and PRSYSTEM and 1:M to BONDBENIF and PLAN. It is updated by BN48.2, HR11.1 and PA115 and referenced by BN140 and BN248. The table has 8 fields, 2 indexes and 9 documented relations.

About BONDBENSEQ

The Savings Bond Sequence file contains the sequence used to purchase bonds for each employee and savings bond plan. The sequence record defines the owner, co-owner, and beneficiaries used to purchase a savings bond.

Fields (8)

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

Field / columnTypeDescription & valuesUpdated by
BBS-COMPANY PK
COMPANY
Numeric 4Contains the company number.BN48.2
BBS-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains the employee number.BN48.2
BBS-PLAN-CODE PK
PLAN_CODE
Alpha 4Contains the user-defined code that represents a savings bond plan.BN48.2
BBS-START-DATE PK
START_DATE
Numeric 8 (yyyymmdd)Contains the date the sequence is in effect. When BN140 (Savings Bond Update) is run, it uses the sequence in effect to determine the order for the bonds.BN48.2
BBS-BOND-SEQ-NBR PK
BOND_SEQ_NBR
Numeric 2Contains the sequence in which the employee wants to purchase bonds.BN48.2
BBS-OWNER
OWNER
Alpha 3Contains the owner name to be used on the bond.BN48.2
BBS-CO-OWNER
CO_OWNER
Alpha 3Contains the co-owner name to be used on the bond.BN48.2
BBS-BNFC-NBR
BNFC_NBR
Alpha 3 Occurs 12 Times ×12Contains the beneficiary to be used on the bond. Up to 12 beneficiaries can be used.BN48.2

Indexes (2)

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

IndexKeysFlagsConditionUsed in
BBSSET1COMPANY, EMPLOYEE, PLAN-CODE, START-DATE, BOND-SEQ-NBRPrimaryBN140, BN248, BN48.2, HR11.1, PA115
BBSSET2COMPANY, EMPLOYEE, PLAN-CODE, START-DATE, BOND-SEQ-NBR*BN140, BN248, BN48.2

Relations

One to one (7) — lookups and parents

RelationTableRulesConditionField map
BeneficiariesSBBENNot RequiredBBS-COMPANYSBB-COMPANY, BBS-EMPLOYEESBB-EMPLOYEE, BBS-BNFC-NBRSBB-BNFC-NBR
BenefitBENEFITNot RequiredBBS-COMPANYBEN-COMPANY, BBS-EMPLOYEEBEN-EMPLOYEE, "SB"BEN-PLAN-TYPE, BBS-PLAN-CODEBEN-PLAN-CODE, BBS-START-DATEBEN-START-DATE
BncompanyBNCOMPANYRequiredBBS-COMPANYBNC-COMPANY
Co OwnerSBBENNot RequiredBBS-COMPANYSBB-COMPANY, BBS-EMPLOYEESBB-EMPLOYEE, BBS-CO-OWNERSBB-BNFC-NBR
EmployeeEMPLOYEERequiredBBS-COMPANYEMP-COMPANY, BBS-EMPLOYEEEMP-EMPLOYEE
HrcompanyPRSYSTEMRequiredBBS-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
OwnerSBBENNot RequiredBBS-COMPANYSBB-COMPANY, BBS-EMPLOYEESBB-EMPLOYEE, BBS-OWNERSBB-BNFC-NBR

One to many (2) — child tables

RelationTableRulesConditionField map
BondBONDBENIFBBS-COMPANYBON-COMPANY, BBS-EMPLOYEEBON-EMPLOYEE, BBS-PLAN-CODEBON-PLAN-CODE, BBS-START-DATEBON-START-DATE, BON-BOND-NBR
PlanPLANRequiredBBS-COMPANYPLN-COMPANY, PLN-PLAN-TYPE, PLN-PLAN-CODE

Programs

Updated by (3)

Referenced by (2)