GP_CAL_RUNP2_VW(SQL View) |
Index Back |
---|---|
View CAL RUNs for OPRIDUsed as a Search Record |
SELECT OPRID , CAL_RUN_ID , DESCR FROM PS_GP_CAL_RUN A , PS_GP_OPR_RULE_PRF C WHERE (C.USED_BY= 'A' OR (C.USED_BY = 'C' AND A.COUNTRY = C.COUNTRY)) AND EXISTS ( SELECT 1 FROM PS_GP_CAL_RUN_DTL DTL , PS_GP_CALENDAR CAL , PS_GP_RUN_TYPE RT WHERE DTL.CAL_RUN_ID=A.CAL_RUN_ID AND DTL.GP_PAYGROUP=CAL.GP_PAYGROUP AND DTL.CAL_ID=CAL.CAL_ID AND CAL.RUN_TYPE = RT.RUN_TYPE AND RT.CALC_TYPE = 'P') |
# | 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 | CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Calendar Run Id |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |