SBBEN – Savings Bond Beneficiary

System
Benefits (BN)
Prefix
SBB
Primary key
COMPANY, EMPLOYEE, BNFC-NBR
Fields
17
Updated by
4 programs
Referenced by
3 programs

SBBEN is the Savings Bond Beneficiary table in Lawson Benefits (prefix SBB). It is indexed by COMPANY, EMPLOYEE, BNFC-NBR (SBBSET1). It is related 1:1 to BNCOMPANY, PRSYSTEM, INSTCTRYCD, EMDEPEND and EMPLOYEE. It is updated by BN00.1, BN48.1, HR11.1 and PA115 and referenced by BN140, BN248 and BN60.1. The table has 17 fields, 1 index and 5 documented relations.

About SBBEN

The Savings Bond Beneficiary file contains the name, address and Social Security number for owners, co-owners and beneficiaries for savings bonds.

Fields (17)

Column = COBOL field name without the SBB- 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
#SBB-COMPANY PK
COMPANY
Numeric 4The company number represents an established company and is entered on all function codes.BN48.1
#SBB-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.BN48.1
#SBB-BNFC-NBR PK
BNFC_NBR
Alpha 3This field contains a user-defined code which indicates the person who is assigned as the owner, co-owner or beneficiary to a savings bond.BN48.1
#SBB-DEP-NBR
DEP_NBR
Numeric 4This field contains the dependent number. If the owner or beneficiary is the employee's dependent, this is the dependent number which is the EMD-SEQ-NBR in the EMDEPEND file. The dependent number has been established on HR13.1 (Dependent). This value must be valid in the EMDEPEND file. If there is a value in this field, there must also be a valid employee in SBB-EMPLOYEE.BN48.1
#SBB-LAST-NAME
LAST_NAME
Alpha 30 (Lower Case)This is the owner or beneficiary's last name.BN48.1
#SBB-FIRST-NAME
FIRST_NAME
Alpha 15 (Lower Case)This is the owner or beneficiary's first name.BN48.1
#SBB-MIDDLE-INIT
MIDDLE_INIT
Alpha 1This is the owner or beneficiary's middle initial.BN48.1
#SBB-ADDR1
ADDR1
Alpha 30 (Lower Case)This is the first line of address information.BN48.1
#SBB-ADDR2
ADDR2
Alpha 30 (Lower Case)This is the second line of address information.BN48.1
#SBB-ADDR3
ADDR3
Alpha 30 (Lower Case)Contains the third line of address information.BN48.1
#SBB-ADDR4
ADDR4
Alpha 30 (Lower Case)Contains the fourth line of address information.BN48.1
#SBB-CITY
CITY
Alpha 58 (Lower Case)This is the city name of the address.BN48.1
#SBB-STATE
STATE
Alpha 2This is the state of the address.BN48.1
#SBB-ZIP
ZIP
Alpha 10This is the postal code of the address.BN48.1
#SBB-FICA-NBR
FICA_NBR
Alpha 20This is the Social Security number.BN48.1
#SBB-FULL-NAME
FULL_NAME
Derived——
#SBB-COUNTRY-CODE
COUNTRY_CODE
Alpha 2The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance).BN48.1

Indexes (1)

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
SBBSET1
  1. COMPANY
  2. EMPLOYEE
  3. BNFC-NBR
PrimaryBN00.1, BN140, BN248, BN48.1, BN48.2, BN60.1, HR11.1, PA115

Relations

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

One to one (5) — lookups and parents

RelationTableRulesConditionField map
CompanyBNCOMPANYRequired
SBB-COMPANY→BNC-COMPANY
Company NamePRSYSTEMRequired
SBB-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
CountryINSTCTRYCDRequiredWhen (SBB-COUNTRY-CODE != Spaces)
SBB-COUNTRY-CODE→INT-COUNTRY-CODE
DependentEMDEPENDRequiredWhen SBB-DEP-NBR != Zeroes
SBB-COMPANY→EMD-COMPANY
SBB-EMPLOYEE→EMD-EMPLOYEE
SBB-DEP-NBR→EMD-SEQ-NBR
EmployeeEMPLOYEERequired
SBB-COMPANY→EMP-COMPANY
SBB-EMPLOYEE→EMP-EMPLOYEE

Programs

Updated by (4)

Referenced by (3)