GPNZ_RCN_CAL_VW(SQL View) |
Index Back |
---|---|
Calendar Runs with PDRView returns calendar runs associated with operators country that contain at least one PDR stat |
SELECT DISTINCT C.OPRID , ER.PAY_ENTITY , ER.CAL_RUN_ID , CR.DESCR FROM PS_GP_CAL_RUN CR , PS_GP_OPR_RULE_PRF C , PS_GPNZ_PDR_ER_DTL ER WHERE (C.USED_BY= 'A' OR (C.USED_BY = 'C' AND CR.COUNTRY = C.COUNTRY)) AND CR.CAL_RUN_ID = ER.CAL_RUN_ID AND EXISTS ( SELECT 1 FROM PS_GP_PYE_PRC_STAT PPS WHERE CALC_TYPE='P' AND CR.CAL_RUN_ID=PPS.CAL_RUN_ID) AND EXISTS( SELECT CL.CAL_RUN_ID FROM PS_GPNZ_PDR_ER_DTL CL WHERE CL.CAL_RUN_ID = CR.CAL_RUN_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | PAY_ENTITY | Character(10) | VARCHAR2(10) NOT NULL | Pay Entity |
3 | CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Calendar Run Id |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |