GP_PYE_SEGF_VW(SQL View) |
Index Back |
---|---|
View Fnlzed Payroll SegsShows Finalized Calendars based on SEG STAT and CAL RUN DTL Used for prompting of Off-cycle. picks up calendars that have been advanced to the payee where the calendar itself has not been finalized yet. This is strictly to help with performance on the prompting |
SELECT DISTINCT S.EMPLID , S.EMPL_RCD , S.GP_PAYGROUP , S.CAL_ID , P.CAL_RUN_ID , P.PRD_BGN_DT , P.PRD_END_DT , P.RUN_TYPE FROM PS_GP_PYE_PRC_STAT P , PS_GP_PYE_SEG_STAT S WHERE P.CALC_TYPE='P' AND S.CAL_ID=P.CAL_ID AND S.GP_PAYGROUP=P.GP_PAYGROUP AND S.EMPLID=P.EMPLID AND S.EMPL_RCD=P.EMPL_RCD AND S.CAL_RUN_ID=P.CAL_RUN_ID AND S.ORIG_CAL_RUN_ID=P.ORIG_CAL_RUN_ID AND S.PYE_CALC_STAT IN ('70', '75') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
3 | GP_PAYGROUP | Character(10) | VARCHAR2(10) NOT NULL | Global Payroll pay group |
4 | CAL_ID | Character(18) | VARCHAR2(18) NOT NULL | calendar id |
5 | CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Calendar Run Id |
6 | PRD_BGN_DT | Date(10) | DATE | Period Begin Date |
7 | PRD_END_DT | Date(10) | DATE | Pay Period End Date |
8 | RUN_TYPE | Character(10) | VARCHAR2(10) NOT NULL | Run Type Name |