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.

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
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 1BN15.1
FLP-DENTAL-FLAG
DENTAL_FLAG
Alpha 1BN15.1
FLP-DISAB-FLAG
DISAB_FLAG
Alpha 1BN15.1
FLP-LIFE-FLAG
LIFE_FLAG
Alpha 1BN15.1
FLP-DEP-LIFE-FLAG
DEP_LIFE_FLAG
Alpha 1BN15.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 marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
FLPSET1COMPANY, FLEX-PLANPrimaryBN00.1, BN04.1, BN06.1, BN08.1, BN100, BN101, BN102, BN103 +22 more (list truncated in source)
FLPSET2COMPANY, DED-TABLE, FLEX-PLANKeyChangeBN04.1

Relations

One to one (14) — lookups and parents

RelationTableRulesConditionField map
Atn DedDEDCODERequiredFLP-COMPANYDDC-COMPANY, FLP-ATN-DEDDDC-DED-CODE
CompanyBNCOMPANYRequiredFLP-COMPANYBNC-COMPANY
Company NamePRSYSTEMRequiredFLP-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
CurrencyCUCODESRequiredWhen FLP-CURRENCY-CODE != SpacesFLP-CURRENCY-CODECUC-CURRENCY-CODE
Deduct TableDEDFREQTBLRequiredFLP-COMPANYDFT-COMPANY, FLP-DED-TABLEDFT-TABLE-CODE
Di Core PlanPLANNot RequiredFLP-COMPANYPLN-COMPANY, "DI"PLN-PLAN-TYPE, FLP-CORE-DISABPLN-PLAN-CODE
Dl Core PlanPLANNot RequiredFLP-COMPANYPLN-COMPANY, "DL"PLN-PLAN-TYPE, FLP-CORE-DEP-LIFEPLN-PLAN-CODE
Dn Core PlanPLANNot RequiredFLP-COMPANYPLN-COMPANY, "DN"PLN-PLAN-TYPE, FLP-CORE-DENTALPLN-PLAN-CODE
El Core PlanPLANNot RequiredFLP-COMPANYPLN-COMPANY, "EL"PLN-PLAN-TYPE, FLP-CORE-LIFEPLN-PLAN-CODE
Flex Pay CodePRPAYCODERequiredWhen FLP-FLEX-PAY-CODE != SpacesFLP-COMPANYPCD-COMPANY, FLP-FLEX-PAY-CODEPCD-PAY-CODE, SpacesPCD-PROCESS-LEVEL, SpacesPCD-JOB-CODE
Group NamePERSGROUPNot RequiredFLP-COMPANYPRG-COMPANY, FLP-GROUP-NAMEPRG-GROUP-NAME
Hl Core PlanPLANNot RequiredFLP-COMPANYPLN-COMPANY, "HL"PLN-PLAN-TYPE, FLP-CORE-HEALTHPLN-PLAN-CODE
Pik Pay CodePRPAYCODERequiredFLP-COMPANYPCD-COMPANY, FLP-PIK-PAY-CODEPCD-PAY-CODE, SpacesPCD-PROCESS-LEVEL, SpacesPCD-JOB-CODE
Pre Tax DedDEDCODERequiredFLP-COMPANYDDC-COMPANY, FLP-PRE-TAX-DEDDDC-DED-CODE

One to many (1) — child tables

RelationTableRulesConditionField map
Flex DollarsFLEXDOLLARFLP-COMPANYFLD-COMPANY, FLP-FLEX-PLANFLD-FLEX-PLAN, FLD-START-DATE, FLD-GROUP-NAME

Programs

Updated by (5)

Referenced by (54)