FLEXPLAN – Flex Plan

System
Benefits (BN)
Prefix
FLP
Primary key
COMPANY, FLEX-PLAN
Fields
30
Updated by
5 programs
Referenced by
54 programs

FLEXPLAN is the Flex Plan table in Lawson Benefits (prefix FLP). It is indexed by COMPANY, FLEX-PLAN (FLPSET1); alternate indexes: FLPSET2. It is related 1:1 to DEDCODE, BNCOMPANY, PRSYSTEM, CUCODES, DEDFREQTBL, PLAN, PRPAYCODE and PERSGROUP and 1:M to FLEXDOLLAR. It is updated by BN00.1, BN04.1, BN06.1, BN104 and BN15.1 and referenced by BN08.1, BN100, BN101, BN102, BN103, BN105, BN145, BN16.1 and 46 more. The table has 30 fields, 2 indexes and 15 documented relations.

About FLEXPLAN

The Flex Plan file contains information about flex plans.

Fields (30)

Column = COBOL field name without the FLP- 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
#FLP-COMPANY PK
COMPANY
Numeric 4Contains the company number, which represents an established company.BN06.1
#FLP-FLEX-PLAN PK
FLEX_PLAN
Alpha 4Contains the code that represents the flex plan.BN06.1
#FLP-DESC
DESC
Alpha 30 (Lower Case)Contains the description of the flex plan.BN06.1
#FLP-GROUP-NAME
GROUP_NAME
Alpha 10Contains the employee group for eligibility.BN06.1
#FLP-ENTRY-MMDD
ENTRY_MMDD
Numeric 4Contains the date the flex plan year begins. The flex plan year is the twelve month period beginning on this month and day.BN06.1, BN430
#FLP-SPEND-ONLY
SPEND_ONLY
Alpha 1Indicates whether the flex plan is a spending account only.
  • N No
  • Y Yes
BN06.1
#FLP-DED-TABLE SET2
DED_TABLE
Alpha 2Contains the frequency table assigned to the flex plan.BN06.1
#FLP-FLEX-PAY-CODE
FLEX_PAY_CODE
Alpha 4Contains the code that represents the flex credit pay code assigned to the flex plan.BN06.1, BN145
#FLP-PIK-PAY-CODE
PIK_PAY_CODE
Alpha 4This field is not used.—
#FLP-PRE-TAX-DED
PRE_TAX_DED
Alpha 4This field is not used.—
#FLP-ATN-DED
ATN_DED
Alpha 4This field is not used.—
#FLP-CORE-HEALTH
CORE_HEALTH
Alpha 4If a health benefit plan under the flex plan is defined as a core plan, this field is updated as Yes or Spouse.BN15.1
#FLP-CORE-DENTAL
CORE_DENTAL
Alpha 4If a dental benefit plan under the flex plan is defined as a core plan, this field is updated as Yes or Spouse.BN15.1
#FLP-CORE-DISAB
CORE_DISAB
Alpha 4If a disability benefit plan under the flex plan is defined as a core plan, this field is updated with Yes.BN15.1
#FLP-CORE-LIFE
CORE_LIFE
Alpha 4If an employee life benefit plan under the flex plan is defined as a core plan, this field is updated as Yes.BN15.1
#FLP-CORE-DEP-LIFE
CORE_DEP_LIFE
Alpha 4If a dependent life benefit plan under the flex plan is defined as a core plan, this field is updated with Yes or Spouse.BN15.1
#FLP-HEALTH-FLAG
HEALTH_FLAG
Alpha 1—BN15.1
#FLP-DENTAL-FLAG
DENTAL_FLAG
Alpha 1—BN15.1
#FLP-DISAB-FLAG
DISAB_FLAG
Alpha 1—BN15.1
#FLP-LIFE-FLAG
LIFE_FLAG
Alpha 1—BN15.1
#FLP-DEP-LIFE-FLAG
DEP_LIFE_FLAG
Alpha 1—BN15.1
#FLP-DED-FREQ-FLAG
DED_FREQ_FLAG
Numeric 1—
  • 0 Not Updated
  • 1 Updated
BN04.1, BN06.1, BN104
#FLP-CURRENCY-CODE
CURRENCY_CODE
Alpha 5This field contains the company base currency code established in Company (GL10.1 ).BN06.1
#FLP-CURR-ND
CURR_ND
Numeric 1The number of decimals assigned to a particular account as determined by the account currency.BN06.1
#FLP-CREATE-DATE
CREATE_DATE
Numeric 8 (yyyymmdd)—BN06.1
#FLP-CREATE-TIME
CREATE_TIME
Numeric 6 (hhmmss)—BN06.1
#FLP-CREATE-USER-ID
CREATE_USER_ID
Alpha 10 (Lower Case)—BN06.1
#FLP-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)—BN06.1
#FLP-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)—BN06.1
#FLP-USER-ID
USER_ID
Alpha 10 (Lower Case)—BN06.1

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.

IndexKeysFlagsConditionUsed in
FLPSET1
  1. COMPANY
  2. FLEX-PLAN
PrimaryBN00.1, BN04.1, BN06.1, BN08.1, BN100, BN101, BN102, BN103 +22 more (list truncated in source)
FLPSET2
  1. COMPANY
  2. DED-TABLE
  3. FLEX-PLAN
KeyChangeBN04.1

Relations

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

One to one (14) — lookups and parents

RelationTableRulesConditionField map
Atn DedDEDCODERequired
FLP-COMPANY→DDC-COMPANY
FLP-ATN-DED→DDC-DED-CODE
CompanyBNCOMPANYRequired
FLP-COMPANY→BNC-COMPANY
Company NamePRSYSTEMRequired
FLP-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
CurrencyCUCODESRequiredWhen FLP-CURRENCY-CODE != Spaces
FLP-CURRENCY-CODE→CUC-CURRENCY-CODE
Deduct TableDEDFREQTBLRequired
FLP-COMPANY→DFT-COMPANY
FLP-DED-TABLE→DFT-TABLE-CODE
Di Core PlanPLANNot Required
FLP-COMPANY→PLN-COMPANY
"DI"→PLN-PLAN-TYPE
FLP-CORE-DISAB→PLN-PLAN-CODE
Dl Core PlanPLANNot Required
FLP-COMPANY→PLN-COMPANY
"DL"→PLN-PLAN-TYPE
FLP-CORE-DEP-LIFE→PLN-PLAN-CODE
Dn Core PlanPLANNot Required
FLP-COMPANY→PLN-COMPANY
"DN"→PLN-PLAN-TYPE
FLP-CORE-DENTAL→PLN-PLAN-CODE
El Core PlanPLANNot Required
FLP-COMPANY→PLN-COMPANY
"EL"→PLN-PLAN-TYPE
FLP-CORE-LIFE→PLN-PLAN-CODE
Flex Pay CodePRPAYCODERequiredWhen FLP-FLEX-PAY-CODE != Spaces
FLP-COMPANY→PCD-COMPANY
FLP-FLEX-PAY-CODE→PCD-PAY-CODE
Spaces→PCD-PROCESS-LEVEL
Spaces→PCD-JOB-CODE
Group NamePERSGROUPNot Required
FLP-COMPANY→PRG-COMPANY
FLP-GROUP-NAME→PRG-GROUP-NAME
Hl Core PlanPLANNot Required
FLP-COMPANY→PLN-COMPANY
"HL"→PLN-PLAN-TYPE
FLP-CORE-HEALTH→PLN-PLAN-CODE
Pik Pay CodePRPAYCODERequired
FLP-COMPANY→PCD-COMPANY
FLP-PIK-PAY-CODE→PCD-PAY-CODE
Spaces→PCD-PROCESS-LEVEL
Spaces→PCD-JOB-CODE
Pre Tax DedDEDCODERequired
FLP-COMPANY→DDC-COMPANY
FLP-PRE-TAX-DED→DDC-DED-CODE

One to many (1) — child tables

RelationTableRulesConditionField map
Flex DollarsFLEXDOLLAR
FLP-COMPANY→FLD-COMPANY
FLP-FLEX-PLAN→FLD-FLEX-PLAN
—→FLD-START-DATE
—→FLD-GROUP-NAME

Programs

Updated by (5)

Referenced by (54)