GPES_CRT_PRD2VW(SQL View) |
Index Back |
---|---|
CRT Liquidation Periods VWLiquidation Periods View for Creta Reporting |
SELECT DISTINCT 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.GPES_SSTC_CNTRL_DT ,B.COMPANY FROM PS_GPES_CRT_VER_VW A , PS_GPES_CCC_VW B , PS_GPES_SYS_CALEND C WHERE A.SSN_EMPLOYER = B.SSN_EMPLOYER AND A.GPES_YEAR = C.CALYEAR AND A.GPES_MONTH = C.GPES_MONTH AND B.EFFDT = ( SELECT MAX(ED.EFFDT) FROM PS_GPES_CCC_VW ED WHERE ED.SSN_EMPLOYER = B.SSN_EMPLOYER AND ED.EFFDT <= C.GPES_MONTH_BGN_DT) |
# | 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/Surcharge Bases Increa L91=Retro w/Surchage new Slices |
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(6,0) | INTEGER 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 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL |
Company
Prompt Table: COMPANY_TBL |
9 | GPES_SSTC_CNTRL_DT | Date(10) | DATE | Social Security TC�s control date |