GPCN_CALRUN_SCH(SQL View) |
Index Back |
---|---|
Non-fnlzd RUNs by OPRID ctryUsed as a Search Record |
SELECT OPRID , CAL_RUN_ID , DESCR FROM PS_GP_CAL_RUN A , PS_GP_OPR_RULE_PRF C WHERE A.RUN_FINALIZED_IND = 'N' AND A.USE_AS_TMPLT_IND='N' AND (C.USED_BY= 'A' OR (C.USED_BY = 'C' AND A.COUNTRY = C.COUNTRY)) AND (EXISTS ( SELECT 'X' FROM PS_GP_CAL_RUN_DTL DTL WHERE A.CAL_RUN_ID = DTL.CAL_RUN_ID AND DTL.CALC_TYPE = 'P') OR EXISTS ( SELECT 'X' FROM PS_GP_CAL_RUN_OFF DT2 WHERE A.CAL_RUN_ID = DT2.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 | CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Calendar Run Id |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |