GPES_CRT_DAT_VW(SQL View) |
Index Back |
---|---|
CRT EE Data per Slice VWEmployee Data per Slice View for Creta Reporting |
SELECT A.SSN_EMPLOYER , A.GPES_SSTC_PAYMNT , A.GPES_YEAR , A.GPES_MONTH , A.GPES_CRT_BRK_LQ , A.GPES_MONTH_RECALC , A.GPES_YEAR_RECALC , A.EMPLID , A.SLICE_BGN_DT , A.SLICE_END_DT , A.GPES_CRT_CODE , A.GPES_SSTC_CNTRL_DT , A.GPES_CRT_DATA_TYPE , CASE WHEN A.GPES_CRT_DATA_TYPE = 'I' THEN MAX(A.GPES_CRT_CHAR_RSLT) WHEN A.GPES_CRT_DATA_TYPE = 'H' THEN %NumToChar(SUM(A.GPES_CRT_NUM_RSLT)) ELSE %NumToChar(SUM(A.GPES_CRT_NUM_RSLT)*100) END FROM PS_GPES_CRT_VER_VW A WHERE A.GPES_CRT_PRINT_OK <> 'N' GROUP BY A.SSN_EMPLOYER , A.GPES_SSTC_PAYMNT , A.GPES_YEAR , A.GPES_MONTH , A.GPES_CRT_BRK_LQ , A.GPES_MONTH_RECALC , A.GPES_YEAR_RECALC , A.EMPLID , A.SLICE_BGN_DT , A.SLICE_END_DT ,A.GPES_CRT_CODE , A.GPES_SSTC_CNTRL_DT,A.GPES_CRT_DATA_TYPE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SSN_EMPLOYER | Character(13) | VARCHAR2(13) NOT NULL | Employer Social Security number |
2 | GPES_SSTC_PAYMNT | Character(3) | VARCHAR2(3) NOT NULL |
Payment Type. This field is used to populate the GP Write Array, which is used to generate the FAN File.
L00=Regular L02=Litigation Salary L03=Retroactivity wo/Surcharge L04=Reductions Payback L09=Retroactivity w/Surcharge L13=Vacations L90=Retro w/Surch. Base Incr. L91=Retro w/Surch. New Slices V03=Retro wo/ Surcharge Vacations V90=Retro w/ Surcharge Vacations |
3 | GPES_YEAR | Number(4,0) | SMALLINT NOT NULL | Year |
4 | GPES_MONTH | Number(2,0) | SMALLINT NOT NULL | Month |
5 | GPES_CRT_BRK_LQ | Number(9,0) | DECIMAL(9) NOT NULL | Breaking Point |
6 | GPES_MONTH_RECALC | Number(2,0) | SMALLINT NOT NULL | Retro month |
7 | GPES_YEAR_RECALC | Number(4,0) | SMALLINT NOT NULL | Retro year |
8 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
9 | SLICE_BGN_DT | Date(10) | DATE | Element Slice Begin Date |
10 | SLICE_END_DT | Date(10) | DATE | Element Slice End Date |
11 | GPES_CRT_CODE | Character(3) | VARCHAR2(3) NOT NULL | Code for Creta reporting |
12 | GPES_SSTC_CNTRL_DT | Date(10) | DATE | Social Security TCs control date |
13 | GPES_CRT_DATA_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Type of Data for Creta reporting: C-concept, H-hours, I-Identifier
C=Amount H=Hour I=Indicator |
14 | GPES_CRT_DATA | Character(11) | VARCHAR2(11) NOT NULL | Data for Creta reporting |