SAV_PLN_EE_LGVW(SQL View) |
Index Back |
---|---|
EE Savings Plan EnrollmentsSAVINGS_PLAN is a record which defines the savings-related benefit plan for which an employee is enrolled. These are plans in the '4x' series, such as 401(k), 403(b), and ESPP plans. |
SELECT DISTINCT A.EMPLID ,A.PLAN_TYPE ,A.BENEFIT_PLAN ,B.LANGUAGE_CD ,B.DESCR FROM PS_SAVINGS_PLAN A ,PS_BENEF_PLAN_LANG B WHERE A.PLAN_TYPE = B.PLAN_TYPE AND A.BENEFIT_PLAN = B.BENEFIT_PLAN AND B.EFFDT = ( SELECT MAX (B1.EFFDT) FROM PS_BENEF_PLAN_TBL B1 WHERE B1.PLAN_TYPE = B.PLAN_TYPE AND B1.BENEFIT_PLAN = B.BENEFIT_PLAN AND B1.EFFDT <= A.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
2 | PLAN_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
Identifies a category of benefit plan, such as Medical, Dental, and Life (Insurance). A set of plan type codes, as well as rules for creating new codes, is provided by PeopleSoft. Plan Type codes determine how the system processes and defines eligibility for the various benefit plans.
Default Value: 40 |
3 | BENEFIT_PLAN | Character(6) | VARCHAR2(6) NOT NULL |
Benefit Plan
Prompt Table: BEN_PROG_BENPLN |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |