LETTERTEXT – Benefit Letter Text

System
Benefits (BN)
Prefix
LTT
Primary key
COMPANY, LETTER-CODE, EMPLOYEE, DEPENDENT, PARTICIPNT, DATE, SEQ-NBR
Fields
8
Updated by
4 programs
Referenced by
3 programs

LETTERTEXT is the Benefit Letter Text table in Lawson Benefits (prefix LTT). It is indexed by COMPANY, LETTER-CODE, EMPLOYEE, DEPENDENT, PARTICIPNT, DATE, SEQ-NBR (LTTSET1). It is related 1:1 to BNCOMPANY, PRSYSTEM, EMDEPEND, EMPLOYEE, LETTERCODE and PARTICIPNT. It is updated by BN00.1, BN05.1, BN70.1 and BN85.1 and referenced by BN171, BN200 and BN285. The table has 8 fields, 1 index and 6 documented relations.

About LETTERTEXT

The Benefit Letter Text file contains text of letters created in BN05.1 (Standard Letter) and BN85.1 (Free Form Letter). Letters are identified by letter code from the Letter Code file. Each free-form letter is assigned to an employee, a dependent, or a COBRA participant.

Fields (8)

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

Field / columnTypeDescription & valuesUpdated by
LTT-COMPANY PK
COMPANY
Numeric 4Contains the company number. The number correlates all information about the company.BN05.1, BN85.1
LTT-LETTER-CODE PK
LETTER_CODE
Alpha 2Contains the letter code that represents each letter.BN05.1, BN85.1
LTT-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains the employee's number. The number correlates all information about the employee.BN85.1
LTT-DEPENDENT PK
DEPENDENT
Numeric 4Contains the dependent number. The number correlates all information about the dependent.BN85.1
LTT-PARTICIPNT PK
PARTICIPNT
Numeric 9Contains COBRA participant numbers. The number correlates all information about the COBRA participant.BN85.1
LTT-DATE PK
DATE
Numeric 8 (yyyymmdd)Contains the letter date.BN85.1
LTT-SEQ-NBR PK
SEQ_NBR
Numeric 4Contains the automatically assigned sequence number.BN05.1, BN85.1
LTT-TEXT
TEXT
Alpha 70Contains the text of the letter.BN05.1, BN85.1

Indexes (1)

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

IndexKeysFlagsConditionUsed in
LTTSET1COMPANY, LETTER-CODE, EMPLOYEE, DEPENDENT, PARTICIPNT, DATE, SEQ-NBRPrimaryBN00.1, BN05.1, BN171, BN200, BN285, BN70.1, BN85.1

Relations

One to one (6) — lookups and parents

RelationTableRulesConditionField map
CompanyBNCOMPANYRequiredLTT-COMPANYBNC-COMPANY
Company NamePRSYSTEMRequiredLTT-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
DependentEMDEPENDRequiredWhen LTT-DEPENDENT != ZeroesLTT-COMPANYEMD-COMPANY, LTT-EMPLOYEEEMD-EMPLOYEE, LTT-DEPENDENTEMD-SEQ-NBR
EmployeeEMPLOYEERequiredWhen LTT-EMPLOYEE != ZeroesLTT-COMPANYEMP-COMPANY, LTT-EMPLOYEEEMP-EMPLOYEE
Letter CodeLETTERCODERequiredLTT-COMPANYLTC-COMPANY, LTT-LETTER-CODELTC-LETTER-CODE, ZeroesLTC-EMPLOYEE, ZeroesLTC-DEPENDENT, ZeroesLTC-PARTICIPNT, ZeroesLTC-DATE
ParticipantPARTICIPNTRequiredWhen LTT-PARTICIPNT != ZeroesLTT-COMPANYPAR-COMPANY, LTT-PARTICIPNTPAR-PARTICIPNT

Programs

Updated by (4)

Referenced by (3)