GPES_CRT_TOT2VW

(SQL View)
Index Back

CRT Inquiry Total by CCC VW

Total by CCC View for Creta Inquiry

SELECT B.COMPANY , B.GPES_YEAR , B.GPES_MONTH , B.SSN_EMPLOYER , B.GPES_CRT_STATUS_EE , COUNT(B.EMPLID) FROM PS_GPES_CRT_COL_VW B GROUP BY B.COMPANY , B.GPES_YEAR , B.GPES_MONTH , B.SSN_EMPLOYER , B.GPES_CRT_STATUS_EE

# 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

Prompt Table: GPES_SS_WC_VW

5 GPES_CRT_STATUS_EE Character(1) VARCHAR2(1) NOT NULL Employee Status for Creta reporting
0=No Reported
1=Reported
E=With Errors
M=Manually Selected
V=Validated
X=Excluded
6 NUMBER_OF_EMPL Number(6,0) INTEGER NOT NULL Number of Employees