SAV_PLNTYP_LGVW(SQL View) |
Index Back |
---|---|
Savings Plan Type EnrollmentsSAVINGS_PLAN is a record which defines the savings-related benefit plan for which an employee is enrolled. These are plan types '4x' series, such as 401(k), 403(b), and ESPP plans. |
SELECT DISTINCT A.EMPLID ,A.PLAN_TYPE ,X.LANGUAGE_CD ,X.XLATLONGNAME FROM PS_SAVINGS_PLAN A ,PSXLATITEMLANG X WHERE A.PLAN_TYPE = %Substring(X.FIELDVALUE, 1, 2) AND X.FIELDNAME = 'PLAN_TYPE' AND X.EFFDT = ( SELECT MAX (X1.EFFDT) FROM PSXLATITEMLANG X1 WHERE X1.FIELDVALUE = X.FIELDVALUE AND X1.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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |