BN_M_PLAN_PROMT(SQL View) |
Index Back |
---|---|
Plan Type PromptThis is a prompt record used to prompt for valid Plantypes for eBenX carrier inteface integration |
SELECT DISTINCT A.PLAN_TYPE , B.XLATLONGNAME FROM PS_BENEF_PLAN_TBL A , PSXLATITEM B WHERE B.FIELDNAME = 'PLAN_TYPE' AND B.FIELDVALUE = A.PLAN_TYPE AND B.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PSXLATITEM B1 WHERE B1.FIELDNAME = B.FIELDNAME AND B1.FIELDVALUE = B.FIELDVALUE AND B1.EFFDT <= %CurrentDateIn) AND (A.PLAN_TYPE NOT LIKE '4%' AND A.PLAN_TYPE NOT LIKE '5%' AND A.PLAN_TYPE NOT LIKE '7%' AND A.PLAN_TYPE NOT LIKE '8%' AND A.PLAN_TYPE NOT LIKE '9%') |
# | 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 | XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Translate Long Name |