HR_SS_TC_DET_VW(SQL View) |
Index Back |
---|---|
Compensation Detail viewReview Total Compensation Self Service Transaction: This view returns compensation information from the WareHouse: TC_EE_DETAIL. |
SELECT A.EMPLID , A.EMPL_RCD , A.COMPENSATION_ID , A.GB_GROUP_ID , A.THRU_DATE , A.FROM_DATE , A.TO_COMP_AMT , A.TO_PAYROLL_AMT , B.BASE_CURRENCY FROM PS_TC_EE_DETAIL A , PS_TC_PLAN B WHERE A.TC_PLAN_ID = 'SSTCPLAN' AND A.TC_PLAN_ID = B.TC_PLAN_ID AND A.EFFDT = B.EFFDT AND A.COMPENSATION_ID IN ('BASSAL', 'REGBON', 'SENIOR', 'STOCK', 'NONMON', 'AWARD', 'ADHEE') AND %EffdtCheck(TC_PLAN, B, %currentdatein) AND (TO_COMP_AMT <> 0 OR TO_PAYROLL_AMT <> 0) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
3 | COMPENSATION_ID | Character(10) | VARCHAR2(10) NOT NULL | Compensation ID |
4 | GB_GROUP_ID | Character(15) | VARCHAR2(15) NOT NULL | Group Build ID. |
5 | THRU_DATE | Date(10) | DATE NOT NULL | Thru Date |
6 | FROM_DATE | Date(10) | DATE NOT NULL | From Date |
7 | TO_COMP_AMT | Signed Number(20,3) | DECIMAL(18,3) NOT NULL | Converted Compensation Amount |
8 | TO_PAYROLL_AMT | Signed Number(20,3) | DECIMAL(18,3) NOT NULL | Converted Payroll Amount |
9 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |