GP_SEGXSTRM4_VW(SQL View) |
Index Back |
---|---|
Segs by Cal, Strm , Seg StatusSegs by Cal, Strm , Seg Status |
SELECT A.CAL_RUN_ID , B.GP_PAYGROUP , B.CAL_ID , S.STRM_NUM , A.SEG_STATUS , COUNT(*) FROM PS_GP_PYE_SEG_STAT A , PS_GP_CAL_RUN_DTL B , PS_GP_CAL_RUN R , PS_GP_STRM S WHERE A.CAL_RUN_ID = R.CAL_RUN_ID AND R.PROCESS_STRM_IND = 'Y' AND A.CAL_RUN_ID = B.CAL_RUN_ID AND A.GP_PAYGROUP = B.GP_PAYGROUP AND A.CAL_ID = B.CAL_ID AND A.EMPLID BETWEEN S.EMPLID_FROM AND S.EMPLID_TO AND S.STRM_NUM > 0 GROUP BY A.CAL_RUN_ID, B.GP_PAYGROUP, B.CAL_ID, S.STRM_NUM, A.SEG_STATUS |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Calendar Run Id |
2 | GP_PAYGROUP | Character(10) | VARCHAR2(10) NOT NULL | Global Payroll pay group |
3 | CAL_ID | Character(18) | VARCHAR2(18) NOT NULL | calendar id |
4 | STRM_NUM | Number(4,0) | SMALLINT NOT NULL | Stream Number |
5 | SEG_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
Segment Status
00=Active in Segment 01=Inactive in Segment |
6 | GP_AGGR_COUNT | Number(9,1) | DECIMAL(8,1) NOT NULL | field used to present processing statistics |