GPES_CRT_CMP_VW

(SQL View)
Index Back

Liquidation Search Record

Liquidation Search Record

SELECT DISTINCT A.COMPANY , C.SSN_EMPLOYER , C.GPES_YEAR , C.GPES_MONTH , C.GPES_SSTC_PAYMNT , C.GPES_SSTC_CNTRL_DT FROM PS_ESTAB_TBL A , PS_ESTAB_SSEC_ESP B , PS_GPES_CRT_LQ_EE C , PS_GPES_SYS_CALEND D WHERE A.ESTABID = B.ESTABID AND A.EFFDT = B.EFFDT AND B.SSN_EMPLOYER = C.SSN_EMPLOYER AND C.GPES_YEAR = D.CALYEAR AND C.GPES_MONTH = D.GPES_MONTH AND A.EFFDT = ( SELECT MAX(ED.EFFDT) FROM PS_ESTAB_SSEC_ESP ED WHERE ED.ESTABID = A.ESTABID AND ED.SSN_EMPLOYER = B.SSN_EMPLOYER AND ED.EFFDT <= D.GPES_MONTH_BGN_DT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 COMPANY Character(3) VARCHAR2(3) NOT NULL Company

Prompt Table: COMPANY_TBL

2 SSN_EMPLOYER Character(13) VARCHAR2(13) NOT NULL Employer Social Security number

Prompt Table: GPES_SS_WC_VW

3 GPES_YEAR Number(4,0) SMALLINT NOT NULL Year
4 GPES_MONTH Number(2,0) SMALLINT NOT NULL Month
5 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
6 GPES_SSTC_CNTRL_DT Date(10) DATE Social Security TCs control date