GPES_CRT_VRF_VW

(SQL View)
Index Back

CRT Inquiry Total byCompany VW

Total by Company View for Creta Inquiry

SELECT B.COMPANY , B.GPES_YEAR , B.GPES_MONTH , B.SSN_EMPLOYER , B.GPES_YEAR_RECALC , B.GPES_MONTH_RECALC , B.GPES_SSTC_PAYMNT , B.GPES_CRT_STAT_VRF , COUNT(B.EMPLID) , 0 ,GPES_SSTC_CNTRL_DT FROM PS_GPES_CRT_COL_VW B GROUP BY B.COMPANY , B.GPES_YEAR , B.GPES_MONTH , B.SSN_EMPLOYER , B.GPES_YEAR_RECALC , B.GPES_MONTH_RECALC , B.GPES_SSTC_PAYMNT , B.GPES_CRT_STAT_VRF ,GPES_SSTC_CNTRL_DT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
2 GPES_YEAR Number(4,0) SMALLINT NOT NULL Year
3 GPES_MONTH Number(2,0) SMALLINT NOT NULL Month
4 SSN_EMPLOYER Character(13) VARCHAR2(13) NOT NULL Employer Social Security number
5 GPES_YEAR_RECALC Number(4,0) SMALLINT NOT NULL Retro year
6 GPES_MONTH_RECALC Number(2,0) SMALLINT NOT NULL Retro month
7 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
8 GPES_CRT_STAT_VAL Character(1) VARCHAR2(1) NOT NULL CRET@ Social Security calculation verification status.
0=Matched
1=Mismatch
3=Not Verified

Default Value: 3

9 NUMBER_OF_EMPL Number(6,0) INTEGER NOT NULL Number of Employees
10 GPES_COLOR Signed Number(4,0) DECIMAL(3) NOT NULL Colour code
11 GPES_SSTC_CNTRL_DT Date(10) DATE Social Security TCs control date