EMPINVEST – Emp Benefit Investment Dist

System
Benefits (BN)
Prefix
EMI
Primary key
COMPANY, EMPLOYEE, PLAN-CODE, START-DATE, SEQ-NBR, DIST-ST-DATE
Fields
12
Updated by
20 programs
Referenced by
4 programs

EMPINVEST is the Emp Benefit Investment Dist table in Lawson Benefits (prefix EMI). It is indexed by COMPANY, EMPLOYEE, PLAN-CODE, START-DATE, SEQ-NBR, DIST-ST-DATE (EMISET1); alternate indexes: EMISET2 and EMISET3. It is related 1:1 to BENEFIT, BNCOMPANY, PRSYSTEM, EMPLOYEE, BNINVEST, PAEMPLOYEE and PLAN. It is updated by BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 and 12 more and referenced by BN245, BN330, HR170 and HR70.1. The table has 12 fields, 3 indexes and 7 documented relations.

About EMPINVEST

The Emp Benefit Investment Dist file contains the investment distribution of the employee's defined contribution and defined benefit plans. The distribution amounts are from BN36.1 (Defined Contribution Entry).

Fields (12)

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

Field / columnTypeDescription & valuesUpdated by
EMI-COMPANY PK
COMPANY
Numeric 4Contains the company number. The number correlates all information about the company.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
EMI-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains the employee's number. The number correlates all information about the employee.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
EMI-PLAN-CODE PK
PLAN_CODE
Alpha 4Contains the code that represents a defined contribution plan.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
EMI-START-DATE PK
START_DATE
Numeric 8 (yyyymmdd)Contains the start date of the benefit plan.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
EMI-SEQ-NBR PK
SEQ_NBR
Numeric 4Contains the automatically assigned sequence number.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
EMI-DIST-ST-DATE PK
DIST_ST_DATE
Numeric 8 (yyyymmdd)Contains the start date of the investment distribution.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
EMI-STOP-DATE
STOP_DATE
Numeric 8 (yyyymmdd)Contains the stop date of the investment distribution.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
EMI-DIST-PCT
DIST_PCT
Signed 5.2Contains the percent of the employee's total contribution amount that is distributed to the investment.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
EMI-CREATION-DATE
CREATION_DATE
Numeric 8 (yyyymmdd)This is the date that this line was added to the requisition.BN36.1
EMI-UPD-DATE
UPD_DATE
Numeric 8 (yyyymmdd)BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
EMI-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
EMI-USER-ID
USER_ID
Alpha 10 (Lower Case)BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more

Indexes (3)

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

IndexKeysFlagsConditionUsed in
EMISET1COMPANY, EMPLOYEE, PLAN-CODE, START-DATE, SEQ-NBR, DIST-ST-DATEPrimaryBN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +15 more
EMISET2COMPANY, EMPLOYEE, PLAN-CODE, START-DATE*, SEQ-NBR, DIST-ST-DATEBN245, BN36.1
EMISET3COMPANY, CREATION-DATE*, UPD-DATE*, EMPLOYEE, PLAN-CODE, START-DATE, SEQ-NBRKeyChange

Relations

One to one (7) — lookups and parents

RelationTableRulesConditionField map
BenefitBENEFITRequiredEMI-COMPANYBEN-COMPANY (BENSET1), "DC"BEN-PLAN-TYPE, EMI-EMPLOYEEBEN-EMPLOYEE, EMI-START-DATEBEN-START-DATE, EMI-PLAN-CODEBEN-PLAN-CODE
CompanyBNCOMPANYRequiredEMI-COMPANYBNC-COMPANY
Company NamePRSYSTEMRequiredEMI-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
EmployeeEMPLOYEERequiredEMI-COMPANYEMP-COMPANY, EMI-EMPLOYEEEMP-EMPLOYEE
InvestmentBNINVESTRequiredEMI-COMPANYBIV-COMPANY, EMI-PLAN-CODEBIV-PLAN-CODE, EMI-SEQ-NBRBIV-SEQ-NBR
PaemployeePAEMPLOYEERequiredEMI-COMPANYPEM-COMPANY, EMI-EMPLOYEEPEM-EMPLOYEE
PlanPLANRequiredEMI-COMPANYPLN-COMPANY, "DC"PLN-PLAN-TYPE, EMI-PLAN-CODEPLN-PLAN-CODE

Programs

Updated by (20)

Referenced by (4)