W3EB_BENSUM_VW(SQL View) |
Index Back |
---|---|
EEBenefitsContains Benfits information for 2x Plan Types |
SELECT B.EMPLID , B.DEPENDENT_BENEF , B.EMPL_RCD , B.EFFDT , E.EFFDT , D.EFFDT , E.NAME , D.RELATIONSHIP , B.PLAN_TYPE , B.BENEF_PCT , B.FLAT_AMOUNT FROM PS_DEP_BEN_NAME E , PS_DEP_BEN_EFF D , PS_LIFE_ADD_BENEFC B WHERE E.EMPLID = B.EMPLID AND E.DEPENDENT_BENEF = B.DEPENDENT_BENEF AND E.EMPLID = D.EMPLID AND E.DEPENDENT_BENEF = D.DEPENDENT_BENEF AND B.PLAN_TYPE <>'24' AND B.PLAN_TYPE <> '25' AND B.CONTINGENT = 'N' AND(B.BENEF_PCT > 0 OR B.FLAT_AMOUNT > 0) AND E.EMPLID = D.EMPLID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
2 | DEPENDENT_BENEF | Character(2) | VARCHAR2(2) NOT NULL |
Dependent Benefit
01=default Prompt Table: DEPENDENT_VW |
3 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL |
Empl Rcd Nbr
Prompt Table: PER_ORG_ASGN_VW |
4 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
5 | EFFDT_NM | Date(10) | DATE | Field for keeping the effdt for names field for a duplicate row check. |
6 | EFFDT_NEW | Date(10) | DATE | New Effective Date |
7 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
8 | RELATIONSHIP | Character(2) | VARCHAR2(2) NOT NULL | Relationship to Employee |
9 | 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. |
10 | BENEF_PCT | Number(3,0) | SMALLINT NOT NULL | Percent Beneficiary Paid |
11 | FLAT_AMOUNT | Signed Number(9,0) | DECIMAL(8) NOT NULL | Flat Amount |