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. PK = primary key (present in every index); SETn = leading/alternate key of that index.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
#BBS-COMPANY PKCOMPANY | Numeric 4 | Contains the company number. | BN48.2 |
#BBS-EMPLOYEE PKEMPLOYEE | Numeric 9 | Contains the employee number. | BN48.2 |
#BBS-PLAN-CODE PKPLAN_CODE | Alpha 4 | Contains the user-defined code that represents a savings bond plan. | BN48.2 |
#BBS-START-DATE PKSTART_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 PKBOND_SEQ_NBR | Numeric 2 | Contains the sequence in which the employee wants to purchase bonds. | BN48.2 |
#BBS-OWNEROWNER | Alpha 3 | Contains the owner name to be used on the bond. | BN48.2 |
#BBS-CO-OWNERCO_OWNER | Alpha 3 | Contains the co-owner name to be used on the bond. | BN48.2 |
#BBS-BNFC-NBRBNFC_NBR | Alpha 3 Occurs 12 Times ×12 | Contains the beneficiary to be used on the bond. Up to 12 beneficiaries can be used. | BN48.2 |
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.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
BBSSET1 |
| Primary | BN140, BN248, BN48.2, HR11.1, PA115 | |
BBSSET2 |
| BN140, BN248, BN48.2 |
Relations
One to one (7) — lookups and parents
| Relation | Table | Rules | Condition | Field map | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Beneficiaries | SBBEN | Not Required |
| ||||||||||||||||
| Benefit | BENEFIT | Not Required |
| ||||||||||||||||
| Bncompany | BNCOMPANY | Required |
| ||||||||||||||||
| Co Owner | SBBEN | Not Required |
| ||||||||||||||||
| Employee | EMPLOYEE | Required |
| ||||||||||||||||
| Hrcompany | PRSYSTEM | Required |
| ||||||||||||||||
| Owner | SBBEN | Not Required |
|