GPES_CRT_TOT_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.GPES_CRT_STATUS_EE , COUNT(B.EMPLID) , ' ' , %Sql(GPES_CRT_STAT_EE_COLORS) FROM PS_GPES_CRT_COL_VW B GROUP BY B.COMPANY , B.GPES_YEAR , B.GPES_MONTH , 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 GPES_CRT_STATUS_EE Character(1) VARCHAR2(1) NOT NULL CRET@ Employee reporting status
0=No Reported
1=Reported
E=With Errors
M=Manually Selected
V=Validated
X=Excluded
5 NUMBER_OF_EMPL Number(6,0) INTEGER NOT NULL Number of Employees
6 DESCR40 Character(40) VARCHAR2(40) NOT NULL Description
7 GPES_COLOR Signed Number(4,0) DECIMAL(3) NOT NULL Colour code