W3EB_HLTHVW_LNG(SQL View) |
Index Back |
---|---|
Plan Type Vendor ViewGrabs the Vendor Name for 1x plan type transactions |
SELECT R.PLAN_TYPE ,R.BENEFIT_PLAN , R.LANGUAGE_CD ,R.EFFDT , R.DESCR , R.DESCR FROM PS_BENEF_PLAN_LANG R WHERE R.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_BENEF_PLAN_TBL E WHERE E.PLAN_TYPE = R.PLAN_TYPE AND E.BENEFIT_PLAN = R.BENEFIT_PLAN AND E.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | 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. |
2 | BENEFIT_PLAN | Character(6) | VARCHAR2(6) NOT NULL | Benefit Plan |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | PLAN_NAME | Character(30) | VARCHAR2(30) NOT NULL | Plan Name |